-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
97 lines (90 loc) · 3.67 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE HTML>
<html manifest="etc/mf.php">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Triton</title>
<link rel="shortcut icon" href="images/favicon.ico">
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/typography.css" rel="stylesheet" type="text/css">
<link href="css/welcome.css" rel="stylesheet" type="text/css">
<link href="css/compact.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print" >
<script src="js/lib.js"></script>
<script src="js/jquery.js"></script>
<script src="js/json.js"></script>
<script src="js/showdown.js"></script>
<script src="js/simplemd.js"></script>
<script src="js/autogrow.js"></script>
<script src="js/timeago.js"></script>
<script src="js/hotkeys.js"></script>
<script src="js/Triton.js"></script>
<script src="js/Storage.js"></script>
<script src="js/Thread.js"></script>
<script src="js/Encoder.js"></script>
<script src="js/Parser.js"></script>
<script src="js/ThreadIndex.js"></script>
<script src="js/Sidebar.js"></script>
<script src="js/Settings.js"></script>
<script src="js/KUI.js"></script>
<script src="js/Editor.js"></script>
<script src="js/Posts.js"></script>
<script src="js/ThreadManager.js"></script>
<script src="js/ThreadSlider.js"></script>
</head>
<body>
<div id="wash"> </div>
<nav>
<div id="advanced">
<div id="documents">
<ul id="document-list">
</ul>
</div>
</div>
<header>
<a id="logo"><img src="images/logo.png"></a>
</header>
<ul id="links">
</ul>
<div id="overview">
</div>
</nav>
<div id="posts"></div>
<div id="welcome">
<div class="started">
Click <em>New Document</em> to Get Started.
</div>
</div>
<script>
(function(){
var cache = window.applicationCache;
cache.addEventListener('updateready', function(){
// When the user refreshes, tell them they've updated
window.localStorage.setItem("updated", "yes");
window.Triton.editor.reload();
}, false);
cache.addEventListener('chached', function(){
// When the user refreshes, tell them they've updated
window.localStorage.setItem("installed", "yes");
window.Triton.editor.reload();
}, false);
// Initialize Triton
var editor = window.Triton.Editor(window);
editor.init();
cache.addEventListener('downloading', function(){
editor.createAlert("Downloading a new update to Triton.");
$("<div>", {
"id" : "downloading",
"css" : {
"position" : "absolute",
"top": "10%",
"left": "40%"
}
}).appendTo("body");
}, false);
cache.addEventListener('progress', function(ev){
$("#downloading").text("Currently at: " + ev.loaded + " of " + ev.total);
}, false);
})();
</script>
</body>
</html>