Verified Commit 34fa2f32 authored by Raphael Fetzer's avatar Raphael Fetzer 👷
Browse files

Lernfortschritt anzeigen können

parent ee102fc6
......@@ -231,6 +231,9 @@ function BuildZIP() {
zertifikat += "teilgenommen hat.</p>";
// Lernfortschritt
if (document.getElementById("progress").checked){
zertifikat += "\n\n <div style=\"text-align: left; display: inline-block; margin-right: 0.5em;\">Erzielter Kursfortschritt:</div>\n <div style=\"width: 40%; border: 1px solid black; height: 1em; display: inline-block;\"><div id=\"progressbar\" style=\"background-color: green; height: 100%; font-size: 85%; color: white; width: 0%;\"><span id=\"progress\">$progress</span>%</div></div>\n <script>document.getElementById(\"progressbar\").style.width=document.getElementById(\"progress\").innerHTML + \"%\";</script>";
// Optionale Variable 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment