-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
148 lines (133 loc) · 6.94 KB
/
index.html
File metadata and controls
148 lines (133 loc) · 6.94 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class Manager</title>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="ionicons-2.0.1/css/ionicons.min.css">
<script src="js/countdown.js" type="text/javascript"></script>
<script src="js/fucking_slidebar.js" type="text/javascript"></script>
<script src="js/jkuyry.js" type="text/javascript"></script>
<script src="js/fucking_controller.js" type="text/javascript"></script>
<script type="text/javascript">
// fucking mock up log-in session
function redirect(){
var thecookie = readCookie('doRedirect');
if(!thecookie){window.location = 'welcome.html';} }
function createCookie(name,value,days){if (days){
var date = new Date();date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();} else var expires = "";document.cookie = name+"="+value+expires+"; path=/";}
function readCookie(name){var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++){
var c = ca[i];while (c.charAt(0)==' ') c = c.substring(1,c.length);
if(c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);}return null;}window.onload = function(){redirect();createCookie('doRedirect','true','999');}
</script>
<!--- Web App Meta data --->
<link rel="apple-touch-icon" href="webapp/template.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head>
<body>
<div class="overlay" id="overlay">
<a href="#"><span class="ion-close-round" style="font-size: 30px; color: white; position: absolute; right: 2rem; top:6rem;"></span></a>
<section class="profile">
<div class="profile_pic"></div>
<h1 class="profile_name">Sudarat Panthong</h1>
<h2 class="profile_position">Department of Computer</h2>
</section>
<section class="preference">
<h1>Preference</h1><hr class="preference_line" style="margin-bottom: 1rem;">
<ul>
<li>Notifications<span class="ion-record" style="font-size: 8px; padding-left: 5px; color:rgb(240, 83, 83);"></span><input type="checkbox"><br><span class="preference_info">Turn on to getting notice by the app.<br/></span>
</li>
<hr class="preference_line" style="margin-bottom: 1rem;">
<li>Auto Logout<span class="ion-record" style="font-size: 8px; padding-left: 5px; color:rgb(107, 198, 75);"></span><br><span class="preference_info">Recomend if using on shared device.</span><br/>
</li>
<hr class="preference_line" style="margin-bottom: 1rem;">
<li>Auto Cancel Class<span class="ion-record" style="font-size: 8px; padding-left: 5px; color:rgb(240, 83, 83);"></span><br><span class="preference_info">Cancel after no activities for 30 mins</span><br/>
</li>
</ul>
</section>
<section class="app_detail">
<h1>Demo Version build 742617000027</h1><hr class="preference_line" style="margin-bottom: 1rem;">
<span style="color:rgb(255, 60, 60); padding-right: 3rem; position: relative;">Log Out</span><span>Bug Report</span>
</section>
</div>
<section class="menu">
<a href="#overlay" style="text-decoration: none; color: white;"><span class="ion-navicon"></span></a>
<h1>Dashboard</h1>
</section>
<div class="wrapper">
<section class="happening">
<div class="happening_ctn">
<h1>Happening</h1>
<p>Class during this time</p>
<span id="fucking-menu-button" class="ion-ios-plus-outline"></span>
</div>
</section>
<section class="happening_class">
<div class="happening_class_ctn">
<a class="none-fucking-style" href="check1.html">
<h1 class="subject">C++ Programming</h1>
<h2 class="placeandtime"><span class="ion-location"></span>1309 <span class="ion-ios-clock-outline"></span> 10:10 - 11:00</h2>
<h3 class="endingtime"><div class="forcefont" id='countdown'></div></h3>
</a>
<a href="#" class="infoedit" style="padding-right: 20px;">Manage</a> <a href="#" class="infoedit">Edit</a>
</div>
</section>
<section class="coming">
<div class="coming_ctn">
<h1>Coming Soon</h1>
<p>Class that will be started soon</p>
<span class="ion-ios-plus-outline"></span>
</div>
</section>
<section class="coming_classes">
<div class="first">
<div class="first_ctn">
<h1 class="subject">Computer Graphic</h1>
<h2 class="placeandtime"><span class="ion-location"></span>1309 <span class="ion-ios-clock-outline"></span> 10:10 - 11:00</h2>
<a href="#" class="infoedit" style="padding-right: 20px;">Manage</a> <a href="#" class="infoedit">Edit</a>
</div>
</div>
<div class="second">
<div class="second_ctn">
<h1 class="subject">IS 3</h1>
<h2 class="placeandtime"><span class="ion-location"></span>1309 <span class="ion-ios-clock-outline"></span> 12:40 - 13:30</h2>
<a href="#" class="infoedit" style="padding-right: 20px;">Manage</a> <a href="#" class="infoedit">Edit</a>
</div>
</div>
<div class="third">
<div class="second_ctn">
<h1 class="subject">Robot</h1>
<h2 class="placeandtime"><span class="ion-location"></span>1309 <span class="ion-ios-clock-outline"></span> 13:30 - 14:20</h2>
<a href="#" class="infoedit" style="padding-right: 20px;">Manage</a> <a href="#" class="infoedit">Edit</a>
</div>
</div>
<div class="fourth">
<div class="second_ctn">
<h1 class="subject">Computer Science</h1>
<h2 class="placeandtime"><span class="ion-location"></span>1309 <span class="ion-ios-clock-outline"></span> 14:20 - 15:10</h2>
<a href="#" class="infoedit" style="padding-right: 20px;">Manage</a> <a href="#" class="infoedit">Edit</a>
</div>
</div>
<div class="fifth">
<div class="second_ctn">
<h1 class="subject">Programming</h1>
<h2 class="placeandtime"><span class="ion-location"></span>1309 <span class="ion-ios-clock-outline"></span> 15:10 - 16:00</h2>
<a href="#" class="infoedit" style="padding-right: 20px;">Manage</a> <a href="#" class="infoedit">Edit</a>
</div>
</div>
</section>
</div>
<script>
// for ios iOS switch
$('.switch').click(function() {
$(this).toggleClass('active');
});
</script>
</body>
</html>