2020-11-08 15:21:51 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Juggl</title>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<link rel="shortcut icon" type="image/ico" href="/assets/logo.ico" />
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;0,700;1,400;1,700&display=swap"
|
|
|
|
rel="stylesheet">
|
|
|
|
<link href="css/style.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<script src="js/umbrella.min.js"></script>
|
|
|
|
<script src="js/visibility.js"></script>
|
|
|
|
<script src="js/auth.js"></script>
|
|
|
|
<script src="js/api.js"></script>
|
|
|
|
<script src="js/helper.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
window.onload = () => {
|
|
|
|
// Create Callbacks
|
|
|
|
callbacks.leaving[States.PUBLIC] = () => {
|
|
|
|
loadProjectList();
|
|
|
|
};
|
|
|
|
|
|
|
|
initState();
|
|
|
|
updateVisibility();
|
|
|
|
updateAuthBtnText();
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<ul id="header-container">
|
|
|
|
<li>
|
|
|
|
<img src="assets/logo_title.png">
|
|
|
|
</li>
|
|
|
|
<li style="float: right">
|
|
|
|
<input id="user-id" class="public" type="text" placeholder="User ID" />
|
|
|
|
<input id="api-key" class="public" type="password" placeholder="API Key" />
|
|
|
|
<button id="auth-btn" onclick="handleAuthBtn()">Log In</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</header>
|
|
|
|
<main>
|
2020-11-08 21:40:07 +01:00
|
|
|
<div class="idle hidden">
|
|
|
|
<h1>
|
|
|
|
Select project to track
|
|
|
|
</h1>
|
|
|
|
<div id="project-list">
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-08 15:21:51 +01:00
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|