-
Notifications
You must be signed in to change notification settings - Fork 21
/
index.html
201 lines (201 loc) · 7.87 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!DOCTYPE html>
<head>
<title>SS13 Paperwork Simulator</title>
<meta charset="UTF-8">
<link rel="shortcut icon" href="favicon.png" />
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="script/jquery-ui-1.12.1.custom/jquery-ui.js"></script>
<script type="text/javascript" src="script/pen.js"></script>
<script type="text/javascript" src="script/settings.js"></script>
<script type="text/javascript" src="script/credits.js"></script>
<script type="text/javascript" src="script/templates.js"></script>
<link rel="stylesheet" type="text/css" href="script/jquery-ui-1.12.1.custom/jquery-ui.min.css"/>
<link rel="stylesheet" type="text/css" href="style/main.css"/>
<link rel="stylesheet" type="text/css" href="style/dark.css"/>
<link rel="stylesheet" type="text/css" href="style/solarized.css"/>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
</head>
<body>
<div id="menu">
<legend>PAPERWORK SIMULATOR <span id="year">23XX</span></legend>
<div class="controlgroup">
<ul id="template"></ul>
<button
class="control has-tooltip"
id="load"
title="Load Template"
>
<i class="fa fa-folder-open"></i>
</button>
<button
class="control has-tooltip"
id="save"
title="Save As File"
>
<i class="fa fa-save"></i>
</button>
</div>
<div class="controlgroup">
<button
class="control has-tooltip"
onclick="addBlock('b')"
title="Bold (Ctrl+B)"
>
<i class="fa fa-bold"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('i')"
title="Italic (Ctrl+I)"
>
<i class="fa fa-italic"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('u')"
title="Underline (Ctrl+U)"
>
<i class="fa fa-underline"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('center')"
title="Center (Ctrl+E)"
>
<i class="fa fa-align-center"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('list')"
title="List"
>
<i class="fa fa-list-ul"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('table')"
title="Table"
>
<i class="fa fa-table"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('time')"
title="Time"
>
<i class="fa fa-clock"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('date')"
title="Date"
>
<i class="fa fa-calendar"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('sign')"
title="Sign"
>
<i class="fa fa-file-signature"></i>
</button>
<button
class="control has-tooltip"
onclick="addBlock('large')"
title="Large (Ctrl+Shift+>)"
>
<span>
<i class="fa fa-font"></i>
<i class="fa fa-chevron-up fa-xs" style="position: absolute; top: 0.25em; left: 66%;"></i>
</span>
</button>
<button
class="control has-tooltip"
onclick="addBlock('small')"
title="Small (Ctrl+Shift+<)"
>
<span>
<i class="fa fa-font fa-xs"></i>
<i class="fa fa-chevron-down fa-xs" style="position: absolute; top: 0.25em; left: 66%;"></i>
</span>
</button>
</div>
<div class="controlgroup dialog-container">
<button
id='settings-btn'
class="control has-tooltip"
title="Preview Settings"
>
<i class="fa fa-cog"></i>
</button>
<button
id='credits-btn'
class="control has-tooltip"
title="Contributors"
>
<i class="fa fa-book-open"></i>
</button>
</div>
</div>
<div id="warning" class="ui-widget ui-state-highlight ui-corner-all">
<i class="fas fa-exclamation-triangle"></i>
<span id="warningText"></span>
</div>
<div id="wrapper">
<div class="panel panel-left">
<textarea id="input" autofocus spellcheck="false"></textarea>
</div>
<div class="panel panel-right">
<div id="output"></div>
</div>
</div>
<div id="settings-dialog" title="Preview Settings">
<div class="input-field">
<input id="pen-checkbox" type="checkbox" checked/>
<label for="pen-checkbox">Has pen?</label>
<i class="fa fa-question-circle has-tooltip" title="shows a 'write...' prompt where applicable"></i>
</div>
<div class="input-field">
<input id="filled-checkbox" type="checkbox"/>
<label for="filled-checkbox">Filled fields?</label>
<i class="fa fa-question-circle has-tooltip" title="shows sample text in all [field]s"></i>
</div>
<div class="input-field">
<label for="pen-style-select">Pen style</label>
<select id="pen-style-select">
<option value="Verdana, sans-serif" selected>Pen</option>
<option value="Comic Sans MS, sans-serif">Crayon</option>
<option value="Segoe Script, sans-serif">Fancy</option>
</select>
<i class="fa fa-question-circle has-tooltip" title="affects typeface"></i>
</div>
<div class="input-field">
<label for="pen-color-select">Pen color</label>
<select id="pen-color-select">
<option value="" selected>Black/Default</option> <!-- Black ink uses default text color -->
<option value="#ff0000">Red</option>
<option value="#0000ff">Blue</option>
<option value="#00ff00">Green</option>
<option value="#ff00ff">Pink</option>
<option value="#ff9900">Orange</option>
<option value="#00ffff">Cyan</option>
<option value="" >Invisible</option> <!-- Invisible ink uses background color -->
<option value="#1c1713">Fancy</option>
</select>
<i class="fa fa-question-circle has-tooltip" title="affects text color"></i>
</div>
<div class="input-field">
<label for="dark-theme-checkbox">UI theme</label>
<select id="theme-select">
<option value="" selected>Default (light)</option>
<option value="solarized-theme">Solarized (dark)</option>
<option value="dark-theme">Black (high contrast)</option>
</select>
</div>
</div>
<div id="credits-dialog" title="Contributors">
<div id="credits"></div>
</div>
</body>