-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (66 loc) · 2.47 KB
/
index.html
File metadata and controls
70 lines (66 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<title>Jekyll Admin</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; height=device-height; initial-scale=1; maximum-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="src/stylesheet.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto Mono">
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/js/materialize.min.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/showdownjs/showdown/master/dist/showdown.min.js"></script>
<script type="text/javascript" src="src/script.js"></script>
<script type="text/javascript">
function runScript(e) {
if (e.keyCode == 13) {
login();
return false;
}
}
</script>
</head>
<body>
<div class="head blue">
<div class="container row" style="margin-bottom: 0;">
<div class="col s10 m10">
<h3>Jekyll Admin</h3>
</div>
<div class="col s2 m2 right-align logout-wrapper">
<h3></h3>
<button class="mbtn" onclick="logout()">LOGOUT</button>
<a class='dropdown-button options white-text' href='#!' data-activates='dropdown1'>
<i class="material-icons">more_vert</i>
</a>
</div>
</div>
<ul id='dropdown1' class='dropdown-content'>
<li><a href="javascript: logout()">Logout</a></li>
</ul>
</div>
<a class="back-btn white-text waves-effect waves-light"><i class="material-icons">arrow_back</i></a>
<main class="container">
<div class="row">
<div class="col s12 m6">
<h5 class="blue-text">Login</h5>
<br>
<div class="input-field">
<input placeholder="" id="username" type="text" onkeypress="return runScript(event)"/>
<label for="username">Username</label>
</div>
<div class="input-field">
<input placeholder="" id="password" type="password" onkeypress="return runScript(event)"/>
<label for="password">Password</label>
</div>
<button id="login" class="btn waves-effect waves-light blue" onclick="login()">Login</button>
</div>
</div>
</main>
<div id="modal" class="modal"></div>
</body>
</html>