forked from robbiebyrd/classicy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
219 lines (217 loc) · 11 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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Mac OS 8.1</title>
<link rel="shortcut icon" href="img/favicon.ico" />
<link rel="stylesheet" href="css/platinum.css" />
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>
</head>
<body>
<noscript>
<p><em>This page requires JavaScript.</em></p>
</noscript>
<div id="boot" class="modal">
<button class="command_button boot-button close-button" id="boot-button">
<img src="img/mac.png" />
<br />
Boot
</button>
</div>
<div id="sadmac" class="modal hidden">
<img src="img/sadmac.png" />
</div>
<nav>
<div class="nav-wrapper">
<ul class="nav-list">
<li id="apple-logo">
<img src="img/apple.png" />
<ul class="menu command_button">
<li id="menu-about"><img src="img/mac.png" width="16" alt="About" />About</li>
</ul>
</li>
<li>
File
<ul class="menu command_button">
<li id="menu-controls">
<img src="img/controls.png" width="16" alt="Cause an error" />
Controls
</li>
<hr />
<li id="menu-errorWindow">
<img src="img/bomb.png" width="16" alt="Cause an error" />
Cause an error
</li>
<li id="menu-sadmac">
<img src="img/bomb.png" width="16" alt="Cause a crash" />
Cause a crash
</li>
</ul>
</li>
<li>
Edit
<ul class="menu command_button">
<li class="disabled noimg">Copy</li>
<li class="disabled noimg">Paste</li>
</ul>
</li>
<li>
Help
<ul class="menu command_button">
<li class="disabled"><img src="img/about.png" width="16" alt="About" />There is no help</li>
</ul>
</li>
<li id="macoslogo" class="nav-list">
<img src="img/macos.svg" alt="MacOS" />
<ul id="app-menu" class="menu">
</ul>
</li>
<li id="time" class="time text-center timeText">
Lo ading...
</li>
</ul>
</div>
</nav>
<div id="icon-holder" title="Desktop">
<div class="icon draggable-icon ui-widget-content" id="icon-about">
<img src="img/about.png" alt="About" />
<h2>About</h2>
</div>
</div>
<div id="about" class="content resizable draggable-window" data-window-icon="img/about.png" data-window-name="About">
<div class="control-box close-box">
<a class="control-box-inner"></a>
</div>
<div class="control-box zoom-box">
<div class="control-box-inner">
<div class="zoom-box-inner"></div>
</div>
</div>
<div class="control-box window-collapse">
<div class="control-box-inner">
<div class="window-collapse-inner"></div>
</div>
</div>
<h1 class="titlebar"><span>About</span></h1>
<div class="inner">
<div class="icon">
<img src="img/about.png" alt="Macintosh Computer" />
</div>
<ul>
<li style="text-align: left;">
<h1>Platinum</h1>
<p>
A UI framework using native CSS/JS replications of the Mac OS 8.1 interface components. The project is named after the interface theme that came with MacOS 8 and 9, Platinum.
</p>
<p>
Based on
<b><a href="https://github.com/npjg/classic.css" target="_blank">New Dawn</a></b>
by
<b><a href="https://github.com/npjg" target="_blank">Nathanael Gentry</a></b>.
</p>
<p>
Based on
<b><a href="https://github.com/ticky/classic-scrollbars" target="_blank">Scrollbars of the Classic Mac OS</a></b>
by
<b><a href="https://github.com/ticky" target="_blank">Jessica Stokes (@ticky)</a></b>.
</p>
<hr />
<p><b>New Dawn</b> and <b>Platinum</b> License</p>
<p>
MIT License <br />
Copyright (c) 2019 Nathanael Gentry
<br />
<br />
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without
limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following
conditions:
</p>
<p>
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
<br />
<br />
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</p>
<p></p>
</li>
</ul>
<button class="command_button boot-button">Close</button>
</div>
</div>
<div id="controls" class="content noscroll draggable-window text-center" style="width: 20%;" data-window-icon="img/controls.png" data-window-name="Controls">
<div class="control-box close-box">
<a class="control-box-inner"></a>
</div>
<h1 class="titlebar noright"><span>Controls</span></h1>
<div class="inner">
<div id="controls-inner">
<button class="command_button">«</button>
<button class="command_button">‹</button>
<button class="command_button">Play</button>
<button class="command_button">Pause</button>
<button class="command_button" data-skip="30">
›
</button>
<button class="command_button" data-skip="300">
»
</button>
<hr />
<label>H: </label><input /> <label>M: </label><input /> <label>S: </label><input />
<select>
<option>AM</option>
<option>PM</option>
</select>
<button class="command_button">GO</button>
</div>
</div>
</div>
<div id="errorWindow" class="alert alert-stop content noscroll text-center hidden" style="width: 20%;">
<div class="inner">
<p style="font-weight: normal;">This is a keyboard layout.</p>
<br />
<p>
With this item you can use the Keyboard control panel to choose a different layout of characters on your keyboard. To function properly this file must be located in the "System" file.
</p>
<button class="command_button right-button close-button">
OK
</button>
</div>
</div>
<div id="audio-holder">
<audio id="sound_boot" class="handsoff hidden" preload="auto">
<source src="rsrc/ui/boot.mp3" type="audio/mpeg" />
Your browser does not support the HTML audio element.
</audio>
<audio id="sound_window_close" class="handsoff hidden" preload="auto">
<source src="rsrc/ui/window_close.mp3" type="audio/mpeg" />
Your browser does not support the HTML audio element.
</audio>
<audio id="sound_window_collapse" class="handsoff hidden" preload="auto">
<source src="rsrc/ui/window_collapse.mp3" type="audio/mpeg" />
Your browser does not support the HTML audio element.
</audio>
<audio id="sound_window_expand" class="handsoff hidden" preload="auto">
<source src="rsrc/ui/window_expand.mp3" type="audio/mpeg" />
Your browser does not support the HTML audio element.
</audio>
<audio id="sound_window_open" class="handsoff hidden" preload="auto">
<source src="rsrc/ui/window_open.mp3" type="audio/mpeg" />
Your browser does not support the HTML audio element.
</audio>
<audio id="sound_window_stopmoving" class="handsoff hidden" preload="auto">
<source src="rsrc/ui/window_stopmoving.mp3" type="audio/mpeg" />
Your browser does not support the HTML audio element.
</audio>
<audio id="sound_window_moving" class="handsoff hidden" preload="auto">
<source src="rsrc/ui/window_moving.mp3" type="audio/mpeg" />
Your browser does not support the HTML audio element.
</audio>
</div>
<script src="js/platinum.js"></script>
</body>
</html>