-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (39 loc) · 1.52 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
<html>
<head>
<meta charset='utf-8' />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<title>GitBackend | Simple UI</title>
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css' />
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/css-spinning-spinners/1.1.1/load1.css' />
<link href='styles.css' rel='stylesheet' type='text/css' />
</head>
<body>
<h1>GitBackend - Simple UI</h1>
<div class='loading'></div>
<div id='flash'></div>
<main class='row'>
<aside>
<select multiple onchange='read(this.value)' id='files'>
</select>
<div class='row'>
<button onclick='newFile()'><img src='icons/new.png' />New</buton>
<button onclick='deleteFile()'><img src='icons/delete.png' />Delete</button>
</div>
</aside>
<article>
<textarea id='body' placeholder='Body'></textarea>
<div class='row'>
<input type='text' id='path' placeholder='Path' />
<button onclick='save()'><img src='icons/save.png' />Save</button>
</div>
</article>
<aside>
<textarea id='message' placeholder='Message'></textarea>
<button onclick='push()'><img src='icons/push.png' />Push</button>
</aside>
</main>
<script src='//cdnjs.cloudflare.com/ajax/libs/superagent/1.2.0/superagent.min.js'></script>
<script src='script.js'></script>
</body>
</html>