aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/index.html')
-rw-r--r--frontend/src/index.html19
1 files changed, 14 insertions, 5 deletions
diff --git a/frontend/src/index.html b/frontend/src/index.html
index f3e9d0e..7ffb08f 100644
--- a/frontend/src/index.html
+++ b/frontend/src/index.html
@@ -6,14 +6,23 @@
</head>
<body>
<div>
- <span>
- <a href="/index.html">Index</a>
- <a href="/login.html">Login</a>
- <a id="logout" href="">Logout</a>
- </span>
+ <button id="logout">Logout</button>
+ </div>
+ <div>
+ <form id="loginForm">
+ <label>Username
+ <input type="text" name="username" id="username">
+ </label>
+ <label>Password
+ <input type="password" name="password" id="password">
+ </label>
+ <button role="submit">Log in</button>
+ </form>
+ <button id="google-login">Login with Google</button>
</div>
<button id="fetchTodosBtn">Fetch TODOs</button>
<div id="todos"></div>
<script src="./main.js"></script>
+ <script src="https://apis.google.com/js/platform.js?onload=gapiInit" async defer></script>
</body>
</html> \ No newline at end of file