-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (34 loc) · 1.2 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="sty/divs.css">
<link rel="stylesheet" type="text/css" href="sty/textarea.css">
<link rel="stylesheet" type="text/css" href="sty/theme.css">
<script src="src/autograph.js"></script>
<script src="src/fileio.js"></script>
<script src="src/theme.js"></script>
<script src="src/events.js"></script>
</head>
<body>
<div id="parent">
<div id="top-bar">
<div id="fname"></div>
<div id="stat"> </div>
</div id="container">
<div id="editor">
<textarea id="input-area"></textarea>
</div>
<div id="render">
</div>
</div>
<script>
let aut_file = "aut_file";
let theme = new Theme({ background: '#000000', f_high: '#ffffff', f_med: '#ff78a9', f_low: '#695f56', f_inv: '#ffffff', b_high: '#fff1e8', b_med: '#c2c3c7', b_low: '#83769c', b_inv: '#00aefe' });
theme.install(document.body);
theme.start();
document.getElementById("input-area").focus();
let autograph = new Autograph();
autograph.setContent(readFile(localStorage.getItem(aut_file)));
</script>
</body>
</html>