diff options
author | makefu <github@syntax-fehler.de> | 2021-01-18 14:56:03 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-01-18 14:56:03 +0100 |
commit | 8b581534e256569c2f694d70ef84119acae1ac1e (patch) | |
tree | dc10e968bd4fbecdc05a588b99e24280eaf0ad16 /kalauerweb/index.html | |
parent | 2a1e868d2a0b136135fd8c9a3f6f8e47bb2dece9 (diff) |
init first draft for kalauerweb
Diffstat (limited to 'kalauerweb/index.html')
-rw-r--r-- | kalauerweb/index.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/kalauerweb/index.html b/kalauerweb/index.html new file mode 100644 index 0000000..bd72c29 --- /dev/null +++ b/kalauerweb/index.html @@ -0,0 +1,43 @@ +<html> + <head> + <link rel="stylesheet" href="new.min.css"> + </head> + <body> + <script type="text/javascript"> + var jsonFile; + var active; + fetch("kalauerdb.json") + .then(res => res.json()) + .then(data => populate_page(data)); + function populate_page(data) + { + active = data + kalauer() + } + function kalauer(){ + console.log(active) + } + </script> +<header>Welcome to the Kalauer Club</header> +<h1>Your Kalauer</h1> +<p> + <a href="#" onclick="kalauer()"> + <button>Neuer Kalauer</button> + </a> +</p> +<h1>Kalauer Roster</h1> +<p> + <table> + + <tr> + <th>Name</th> + <th>Weight</th> + <th>Weight</th> + <th>Approved</th> + <th>Rejected</th> + <th>Active</th> + </tr> +</table> +</p> + </body> +</html> |