-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
131 lines (117 loc) · 3.79 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html>
<head>
<title>0chan</title>
<link href='https://fonts.googleapis.com/css?family=Share+Tech+Mono|Noto+Sans:400,400italic,700,700italic&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/all.css" type="text/css" />
<script type="text/javascript" src="js/all.js" async></script>
</head>
<body>
<script id="skip-gap-template" type="x-tmpl-mustache" class="template">
<div class="skip-gap">
{{count}} post(s) omitted. ↕ <span class="expand-button">expand</span>
</div>
</script>
<script id="form-call-button-template" type="x-tmpl-mustache" class="template">
<div id="form-call-button">
[ <span>{{text}}</span> ]
</div>
<hr>
</script>
<script id="not-found-template" type="x-tmpl-mustache" class="template">
<div id="not-found">
<h1>Nothing found.</h1>
<a target="_parent" href="?">return to index</a>
</div>
</script>
<script id="post-template" type="x-tmpl-mustache" class="template">
<div class="post {{#post.parent}}reply{{/post.parent}}{{^post.parent}}opening{{/post.parent}}"
data-hashsum={{post.hashsum}} id="post-{{post.hashsum_short}}">
<div class="info">
<div class="time-and-id">
<span>
{{#post.anonymous}}
Anonymous
{{/post.anonymous}}
{{^post.anonymous}}
<b>{{post.user}}</b>
{{/post.anonymous}}
wrote {{post.time}},
</span>
<em class="post-id">#{{post.hashsum_short}}</em>
</div>
{{#post.button}}
<a target="_parent" class="thread-link" href="?thread={{post.hashsum}}">[ <span>open thread</span> ]</a>
{{/post.button}}
</div>
{{#post.file_thumb}}
<a href="{{post.file_full}}" target="_blank">
<img class="attachment" src="{{post.file_thumb}}" />
</a>
{{/post.file_thumb}}
<blockquote class="text">{{{post.body}}}</blockquote>
</div>
</script>
<script id="auth-form-template" type="x-tmpl-mustache" class="template">
{{#user}}
<select name="name" class="name">
<option value="anonymous">Anonymous</option>
<option value="signed">{{user}}</option>
</select>
<input type="submit" value="Submit!" class="submit">
{{/user}}
{{^user}}
<div class="auth-please">
<u>Authorize</u> to post messages.<br>You will still be able to post anonymously.
</div>
{{/user}}
</script>
<script id="header-template" type="x-tmpl-mustache" class="template">
<div id="header">
<a href="?" class="board-name" target="_parent">{{boardName}}</a>
on
<a href="/0chan.bit" target="_parent" id="nullchan-link" class="to-main">0chan.bit</a>
<div id="stats">{{peers}} peers, {{siteSize}}</div>
</div>
</script>
<script id="form-template" type="x-tmpl-mustache" class="template">
<form id="top-form" class="form">
<div class="form-preloader">
<span>
sending your message...
</span>
</div>
<table>
<tr>
<td>Comment</td>
<td>
<textarea placeholder="Up to 3000 symbols, required if no file attached" name="body" class="text"></textarea>
<input type="hidden" name="parent" class="parent">
</td>
</tr>
<tr>
<td>File</td>
<td>
<input type="file" name="file" class="file">
</td>
</tr>
<tr>
<td>Sign</td>
<td>
<div class='auth-form'></div>
</td>
</tr>
</table>
</form>
</script>
<div id="header">
loading...
</div>
<div id="preloader">
<img src="img/loading.gif">
</div>
<div id="container">
</div>
<canvas id="canvas"></canvas>
</body>
</html>