summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-03-13 19:03:14 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-15 19:46:41 +0200
commit4e1936f740d6ed3499df59e4f76efa91f49c5cb3 (patch)
tree1c97bea841f7f1ee0fc2d7075c6d8cda95dbdacb /index.html
parent9fea58a7096be7920555123193567a607a014ab7 (diff)
downloadwvs-vplan-4e1936f740d6ed3499df59e4f76efa91f49c5cb3.tar.gz
wvs-vplan-4e1936f740d6ed3499df59e4f76efa91f49c5cb3.zip
füge Login-Request hinzu; erstelle das Layout für den Wechsel zur Planansicht
Diffstat (limited to 'index.html')
-rw-r--r--index.html38
1 files changed, 27 insertions, 11 deletions
diff --git a/index.html b/index.html
index 71087ba..7811cd9 100644
--- a/index.html
+++ b/index.html
@@ -28,17 +28,33 @@
</head>
<body>
<div class="app">
- <figure class="Login">
- <x-appbar>
- <h1>WvS VPlan | Login</h1>
- <button>=</button>
- </x-appbar>
- <x-layout>
- <section>
- Hallo Welt
- </section>
- </x-layout>
- </figure>
+ <x-flipbox id="viewFlipBox">
+ <div>
+ <x-appbar>
+ <h1>WvS VPlan | Login</h1>
+ <button>=</button>
+ </x-appbar>
+ <x-layout>
+ <form action="javascript:document.getElementById('viewFlipBox').toggle();" onsubmit="login()">
+ <section>
+ <input type="text" id="username" hint="Benutzername" autofocus required>
+ <input type="password" id="password" hint="Passwort" required>
+ <input type="submit" value="Einloggen" >
+ </section>
+ </form>
+ </x-layout>
+ </div>
+ <div>
+ <x-appbar>
+ <button onclick="javascript:document.getElementById('viewFlipBox').toggle();">←</button>
+ <h1>WvS VPlan | Vertretungsplan</h1>
+ <button>=</button>
+ </x-appbar>
+ <x-layout>
+ Hier steht der V-Plan.
+ </x-layout>
+ </div>
+ </x-flipbox>
</div>
<script type="text/javascript" src="phonegap.js"></script>
<script type="text/javascript" src="js/index.js"></script>