-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
62 lines (54 loc) · 2.41 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TrueNotes</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="index.css">
</head>
<body>
<nav class="navbar navbar-inverse bg-primary navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand">TrueNotes</a>
</div>
</div>
</nav>
<div class="container">
<form id="auth-form" class="form-horizontal">
<div class="form-group">
<label for="username" class="control-label">Username</label>
<input type="text" class="form-control" id="username" name="username" placeholder="Username">
</div>
<div class="form-group">
<label for="password" class="control-label">Password</label>
<input type="password" class="form-control" id="password" name="password" placeholder="Password">
</div>
<div class="form-group">
<button type="submit" class="btn btn-default" id="auth-submit">Login</button>
</div>
</form>
<button class="btn btn-large" id="add-note">Add a new note</button>
<div id="notes-list"></div>
<form id="add-note-form" class="form-horizontal">
<div class="form-group">
<label for="note" class="control-label">Note</label>
<textarea id="note" class="form-control" rows="3" placeholder="Enter note here"></textarea>
</div>
<div class="form-group">
<button type="submit" class="btn btn-default" id="add-note-submit">Add note</button>
</div>
</form>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]/build/index.js"></script>
<script src="tv-config.js"></script>
<script src="index.js"></script>
</body>
</html>