-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7b2b75
commit d77853c
Showing
3 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<iframe src="/percentages/webpage/index.html"></iframe> | ||
<embed src="/percentages/webpage/index.html"></embed> | ||
</head> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<header id="header"> | ||
<script> | ||
getText() | ||
function SetImage(MeanNum) { | ||
var img = document.createElement("img"); | ||
img.src = "https://us-central1-joysteem.cloudfunctions.net/progress/" + MeanNum | ||
var src = document.getElementById("header"); | ||
src.appendChild(img); | ||
} | ||
|
||
async function getText() { | ||
let myObject = await fetch('https://us-central1-joysteem.cloudfunctions.net/recworks-progress-mean'); | ||
let myText = await myObject.text(); | ||
SetImage(myText); | ||
} | ||
</script> | ||
</header> | ||
<head> | ||
<script> | ||
getText() | ||
function SetImage(MeanNum) { | ||
var img = document.createElement("img"); | ||
img.src = "https://us-central1-joysteem.cloudfunctions.net/progress/" + MeanNum | ||
var src = document.getElementById("header"); | ||
src.appendChild(img); | ||
} | ||
|
||
async function getText() { | ||
let myObject = await fetch('https://us-central1-joysteem.cloudfunctions.net/recworks-progress-mean'); | ||
let myText = await myObject.text(); | ||
SetImage(myText); | ||
} | ||
</script> | ||
</head> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters