-
Notifications
You must be signed in to change notification settings - Fork 2
/
paly.html
100 lines (100 loc) · 5.92 KB
/
paly.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Upwisha</title>
<meta charset="UTF-8">
<meta name="description" content="A simple-ish web app that shows the Paly schedule, including alternate schedules."/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" content="#2D5727">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Upwisha">
<link rel="apple-touch-icon" href="./images/logo/paly-ios.png">
<link rel="icon" href="./images/logo/paly-192.png" id="favicon">
<link rel="manifest" href="./manifest-paly.json">
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
<link rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./css/content.css">
<link rel="stylesheet" href="./css/periods.css">
<script src="./js/main.js" charset="utf-8"></script>
<script src="./js/ripple.js" charset="utf-8"></script>
<script src="./js/periods.js" charset="utf-8"></script>
<script src="./js/paly.js" charset="utf-8"></script>
</head>
<body>
<div id="transition-background"></div>
<div class="preview">
<span id="preview-time"></span>
<span id="preview-msg"></span>
<div id="progress"></div>
</div>
<div class="content">
<div id="date-nav-button-wrapper" class="center">
<div id="jump-btn-wrapper">
<button class="icon-btn ripples" id="jump" aria-label="scroll to content"></button>
</div>
<div>
<button class="button ripples" id="today">today</button>
</div>
<div>
<button class="icon-btn ripples" id="back-day" aria-label="view previous day"></button>
<button class="button ripples" id="select-date">select date</button>
<div id="date-selector" class="hidden">
<select id="months" disabled>
<option value="CHOOSE">Choose</option>
</select>
<input type="text" id="date-input" placeholder="dd" disabled>
<p id="error"></p>
<div>
<button class="button ripples" id="cancel-select-date">Cancel</button>
<button class="button ripples" id="actually-select-date" disabled>Select</button>
</div>
</div>
<button class="icon-btn ripples" id="forth-day" aria-label="view next day"></button>
</div>
</div>
<a id="date-wrapper">
<span id="date">november 5</span>
<span id="weekday">monday</span>
</a>
<div id="periods"></div>
<div id="week-preview"></div>
<h2>Notes</h2>
<textarea id="notes" aria-label="notes"></textarea>
<hr>
<div class="center">
<button class="button ripples" id="toggle-settings"></button>
</div>
<div id="settings" class="hidden">
<h2>Settings</h2>
<p class="hidden" id="offline-msg">You're offline, so some features won't work. When you come back online, <a href="#" id="reload" tabindex="-1">reload</a>.</p>
<p><button class="button ripples" id="fetch-alts">get alternate schedules</button></p>
<p><input class="toggle-setting" data-option="showTime" data-default="true" type="checkbox" id="show-time"><label for="show-time">Show period times?</label></p>
<p><input class="toggle-setting" data-option="showDuration" data-default="false" type="checkbox" id="show-duration"><label for="show-duration">Show period length?</label></p>
<p></p>
<p><input class="toggle-setting" data-option="metricTime" data-default="false" type="checkbox" id="24-hour"><label for="24-hour">24-hour time?</label></p>
<p><input class="toggle-setting" data-option="quickTransitions" data-default="false" type="checkbox" id="quick-transitions"><label for="quick-transitions">Quick background transitions?</label></p>
<p><input class="toggle-setting" data-option="randomGradients" data-default="true" type="checkbox" id="random-gradients"><label for="random-gradients">Automatically cycle gradient backgrounds?</label></p>
<p><input class="toggle-setting" data-option="natureBackground" data-default="false" type="checkbox" id="nature-back"><label for="nature-back">Use nature backgrounds?</label></p>
<p><button class="button ripples" id="next-back" disabled>next nature background</button></p>
<p><button class="button ripples" id="set-back">set background URL</button></p>
<p><button class="button ripples" id="reset-back" disabled>reset background</button></p>
<h2>About</h2>
<p>Upwisha is a rewrite of <a href="https://orbiit.github.io/gunn-web-app/lite/" rel="noopener noreferrer" target="_blank">Ugwita</a>; it is open-sourced on <a href="https://github.com/Orbiit/ugwisha" rel="noopener noreferrer" target="_blank">Github</a>. You can send suggestions and bug reports as an issue on Github or by email to <a href="mailto:[email protected]">[email protected]</a>.</p>
<p><button class="button ripples" id="last-psa">last announcement</button></p>
<h2>Credits</h2>
<p>Font: <a href="https://fonts.google.com/specimen/Roboto+Condensed" rel="noopener noreferrer" target="_blank">Roboto Condensed</a></p>
<p>Icons: <a href="https://material.io/tools/icons/" rel="noopener noreferrer" target="_blank">material design</a></p>
<p>Nature images: <a href="https://unsplash.com/" rel="noopener noreferrer" target="_blank">Unsplash</a></p>
<p>Assembled by <a href="https://sheeptester.github.io/" rel="noopener noreferrer" target="_blank">Sean</a></p>
</div>
</div>
<div id="psa" class="hidden">
<div id="psa-wrapper">
<h2>Announcement</h2>
<div id="psa-content"></div>
<p><button class="button ripples" id="psa-close">close</button></p>
</div>
</div>
</body>
</html>