summaryrefslogtreecommitdiffstats
path: root/kalauerweb/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'kalauerweb/index.html')
-rw-r--r--kalauerweb/index.html43
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>