-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
393 lines (365 loc) · 16.7 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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="IE=10">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="application-name" content="Engineering Time Table - Alexandria University">
<meta name="description" content="The place where you can easily create and design your own Time Table">
<meta name="keywords" content="Time, Table, Faculty, Engineering, Alexandria, University, TimeTable, Generator, Magdz, Design, Dynamic, Easy, Create, Schedule">
<meta name="author" content="Ahmed Magdy Ibrahim">
<meta name="robots" content="index, follow">
<meta name="revisit-after" content="3 month">
<title>Engineering Timetable Generator - Alexandria University</title>
<!-- Engineering, Time, Table -->
<link rel="icon" href="favicon.ico">
<!-- JQuery -->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/kayalshri/tableExport.jquery.plugin/master/tableExport.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/kayalshri/tableExport.jquery.plugin/master/jquery.base64.js"></script>
<!--Promise Polyfill for IE support -->
<script type="text/javascript" src="https://cdn.rawgit.com/taylorhakes/promise-polyfill/master/promise.js"></script>
<!-- Export PNG -->
<script type="text/javascript" src="https://cdn.rawgit.com/niklasvh/html2canvas/0.5.0-alpha1/dist/html2canvas.js"></script>
<!-- Export PDF -->
<script type="text/javascript" src="https://cdn.rawgit.com/kayalshri/tableExport.jquery.plugin/master/jspdf/libs/sprintf.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/kayalshri/tableExport.jquery.plugin/master/jspdf/jspdf.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/kayalshri/tableExport.jquery.plugin/master/jspdf/libs/base64.js"></script>
<!-- Export Excel -->
<script type="text/javascript" src="js/src/jquery.table2excel.js"></script>
<!-- Color Picker -->
<script type="text/javascript" src="https://cdn.rawgit.com/lauren/pick-a-color/master/build/dependencies/tinycolor-0.9.15.min.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/lauren/pick-a-color/master/build/1.2.3/js/pick-a-color-1.2.3.min.js"></script>
<!-- File Reader -->
<script type="text/javascript" src="https://cdn.rawgit.com/bgrins/filereader.js/master/filereader.js"></script>
<!-- Custom JavaScript -->
<script type="text/javascript" src="js/table-script.js"></script>
<script type="text/javascript" src="js/design-script.js"></script>
<script type="text/javascript" src="js/files-script.js"></script>
<script type="text/javascript" src="js/counter-script.js"></script>
<!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<!-- some of Google Web Fonts -->
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700|Slabo+27px|Oswald|Ubuntu:400,500,700|Droid+Serif:400,700|Merriweather:400,700,900' rel='stylesheet' type='text/css'>
<!-- Social Buttons -->
<link rel="stylesheet" href="https://cdn.rawgit.com/lipis/bootstrap-social/gh-pages/bootstrap-social.css">
<!-- Color Picker -->
<link rel="stylesheet" href="https://cdn.rawgit.com/lauren/pick-a-color/master/build/dependencies/bootstrap-3.0.0.min.css">
<link rel="stylesheet" href="https://cdn.rawgit.com/lauren/pick-a-color/master/build/1.2.3/css/pick-a-color-1.2.3.min.css">
<!-- Custom Style Sheet -->
<link rel="stylesheet" type="text/css" href="css/stylesheet.css">
<link rel="stylesheet" type="text/css" href="css/layout-stylesheet.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-append.css">
</head>
<body>
<!-- Navigation bar -->
<nav class="navbar navbar-inverse" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a href="/Eng.TimeTable"><img src="images/logo.png" alt="Engineering Table Generator"/></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li><a class="page-scroll" href="#import">Import</a></li>
<li><a class="page-scroll" href="#edit">Edit</a></li>
<li><a class="page-scroll" href="#design">Design</a></li>
<li><a class="page-scroll" href="#preview">Preview</a></li>
<li><a class="page-scroll" href="#download">Download</a></li>
<li>
<a href="https://github.com/Magdz/Eng.TimeTable" target="_blank" class="btn btn-block btn-social btn-lg"><span class="fa fa-github"></span>View on Github</a>
</li>
</ul>
<br><br><br>
<div class="nav navbar-nav navbar-right" style="margin-right: 20px; color: white;">
<!-- Start of StatCounter Code -->
<script type="text/javascript">Counter();</script>
<div class="statcounter">
<img class="statcounter" src="//c.statcounter.com/11050981/0/ed35c810/0/"/>
<article style="float: right; margin-left: 10px;">Views</article>
</div>
<!-- End of StatCounter Code -->
</div>
</div>
</nav>
<!-- Header -->
<header>
<!-- Summary -->
<div class="row header-text">
<h1 style="font-family: Impact, fantasy">Welcome!</h1>
<article style="font-weight: bold;">
to the place where you can easily create and design your own Timetable.
</article>
<p style="padding-top: 10px">
Designed specifically for the students of the Faculty of Engineering at Alexandria University.
<br>
Start by entering your timings, customize the way your timetable looks and download it right away!
</p>
</div>
</header>
<hr>
<!-- Import Timetable -->
<div id="import" class="row">
<h3 class="title"><img src="images/import.png">Import a timetable</h3>
<div class="col-xs-0 col-md-1"></div>
<div class="input-group" style="width: 250px;">
<label class="input-group-btn">
<span class="btn btn-info">Browse...
<input id="xls" type="file" name="Upload" style="display: none;" accept="application/vnd.ms-excel" onchange="ImportExcel();">
</span>
</label>
<input id="selectedfile" disabled="" style="cursor: default;" class="form-control" placeholder="No file selected">
</div>
<br>
<!-- Use Timetable -->
<div class="col-xs-0 col-md-1"></div>
<div id="use" class="row">
<h4 class="subtitle" style="margin-left: 7.5%;">Use one of the timetables provided by us</h4>
<div class="col-xs-0 col-md-1"></div>
<a class="btn btn-social btn-dropbox footer-social" style="margin-left: 10px" target="_blank" href="https://www.dropbox.com/sh/dc787ckd5jlu0g4/AADwHhq8cyqQqI8VtIgCAHXIa?dl=0"><span class="fa fa-dropbox"></span>Dropbox</a>
</div>
</div>
<hr>
<!-- Content of Edit-Table's Column -->
<div id="ColumnContent" style="display: none;">
<input id="Subject" type='text' placeholder='Subject' class="form-control" onkeyup="getSubject(this)">
<select id="Period-Type" class="form-control" onmouseup="getType(this)">
<option value="" selected="selected">Select Period Type</option>
<option value="Lecture">Lecture</option>
<option value="Tutorial">Tutorial</option>
<option value="Lab">Lab</option>
</select>
<input id="Place" type="text" placeholder="Place" class="form-control" onkeyup="getPlace(this)">
</div>
<!-- Edit Timetable -->
<div id="edit" class="table-responsive">
<br/>
<h3 class="title"><img src="images/timings.png"/>Enter and Edit your timings</h3>
<br/>
<table id="edit-table" class="table table-bordered">
<thead>
<tr>
<th></th>
<th>8:30 to 10:00</th>
<th>10:10 to 11:40</th>
<th>11:50 to 1:20</th>
<th>1:40 to 3:10</th>
<th>3:20 to 4:50</th>
<th>5:00 to 6:30</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Saturday</th>
<script>TableColumn("Sat", "ColumnContent");</script>
</tr>
<tr>
<th scope="row">Sunday</th>
<script>TableColumn("Sun", "ColumnContent");</script>
</tr>
<tr>
<th scope="row">Monday</th>
<script>TableColumn("Mon", "ColumnContent");</script>
</tr>
<tr>
<th scope="row">Tuesday</th>
<script>TableColumn("Tue", "ColumnContent");</script>
</tr>
<tr>
<th scope="row">Wednesday</th>
<script>TableColumn("Wed", "ColumnContent");</script>
</tr>
<tr>
<th scope="row">Thursday</th>
<script>TableColumn("Thu", "ColumnContent");</script>
</tr>
</tbody>
</table>
</div>
<hr>
<!-- Custom Table Designer -->
<div id="design" class="row form-group">
<h3 class="title"><img src="images/modify.png"/>Style your timetable</h3>
<div id="table-color">
<h4 class="subtitle">Table Colors</h4>
<div id="color-picker">
<input id="color-input" type="text" value="000" name="border-color" class="pick-a-color form-control">
<script type="text/javascript">ColorPicker();</script>
<select id="color-target" class="form-control">
<option value="" selected="selected">What to color ?..</option>
<option value="Background">Background</option>
<option value="Corner">Corner</option>
<option value="Days">Days</option>
<option value="Time">Time</option>
<option value="Lectures">Lectures</option>
<option value="Tutorials">Tutorials</option>
<option value="Labs">Labs</option>
<option value="Border Font">Border Font</option>
<option value="Content Font">Content Font</option>
</select>
<button id="color-apply" class="btn btn-success" onclick="Coloring()">Apply</button>
</div>
</div>
<div id="font-size">
<h4 class="subtitle">Font Style</h4>
<div id="font-style">
<input id="font-input" type="number" value="14" name="font-size" class="form-control" onkeyup="FontSize()">
<select id="font-family" class="form-control" onmouseup="FontFamily()">
<option value="Arial, sans-serif">Arial</option>
<option value="Oswald, sans-serif" selected="selected">Oswald</option>
<option value="Times New Roman, serif">Times New Roman</option>
<option value="Courier New, monospace">Courier New</option>
<option value="Comic Sans, Comic Sans MS, cursive">Comic Sans MS</option>
<option value="Droid Serif, serif">Droid Serif</option>
<option value="Impact, fantasy">Impact</option>
</select>
<div>
<button id="bold" class="btn btn-default" style="font-weight: bold" onclick="BoldText()">B</button>
<button id="italic" class="btn btn-default" onclick="ItalicText()">I</button>
<button id="underline" class="btn btn-default" style="text-decoration: underline" onclick="UnderlineText()">U</button>
</div>
</div>
</div>
</div>
<br/>
<br/>
<br/>
<hr>
<br/>
<!-- Content of Preview-Table's Column -->
<div id="ColumnData" style="display: none;">
<article id="Subject"></article>
<article id="Period-Type"></article>
<article id="Place"></article>
</div>
<!-- Preview Time Table -->
<div id="preview" class="row table-responsive">
<h3 class="title"><img src="images/download.png"/>Preview and Download your timetable</h3>
<table id="preview-table" class="table table-bordered">
<thead>
<tr>
<th></th>
<th>8:30 to 10:00</th>
<th>10:10 to 11:40</th>
<th>11:50 to 1:20</th>
<th>1:40 to 3:10</th>
<th>3:20 to 4:50</th>
<th>5:00 to 6:30</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Saturday</th>
<script>TableColumn("Sat", "ColumnData");</script>
</tr>
<tr>
<th scope="row">Sunday</th>
<script>TableColumn("Sun", "ColumnData");</script>
</tr>
<tr>
<th scope="row">Monday</th>
<script>TableColumn("Mon", "ColumnData");</script>
</tr>
<tr>
<th scope="row">Tuesday</th>
<script>TableColumn("Tue", "ColumnData");</script>
</tr>
<tr>
<th scope="row">Wednesday</th>
<script>TableColumn("Wed", "ColumnData");</script>
</tr>
<tr>
<th scope="row">Thursday</th>
<script>TableColumn("Thu", "ColumnData");</script>
</tr>
</tbody>
</table>
</div>
<br/>
<!-- Downloads -->
<div id="download" class="row form-group" >
<div class="col-xs-0 col-md-4"></div>
<div class="col-xs-1">
<a id="download" class="btn btn-primary" onclick="DownloadPNG()">Download</a>
</div>
<div class="col-xs-1"></div>
<div class="col-xs-1"></div>
<div class="col-xs-1">
<a id="download" class="btn btn-primary" onclick="ExportExcel()">Export</a>
</div>
</div>
<br/>
<br/>
<!-- Footer -->
<footer>
<div class="container-fluid fillo supreme-container" style="height:85%;background-color:#333">
<div class="container">
<div class="container-fluid">
<div class="row">
<!-- License -->
<div>
<p class="footer-text" style="font-size: 22px;">
Enjoy your college days, See you next semster.
</p>
</div>
<div class="col-md-6" >
<p class="footer-text">
Eng.TimeTable is avaliable under
<a href="https://github.com/Magdz/Eng.TimeTable/blob/gh-pages/LICENSE.md">MIT License</a>
<br>
Made by:
<a href="https://github.com/Magdz">Ahmed Magdy Ibrahim</a>
<br>
Design by:
<a href="https://github.com/SubNader">Nader Alsharkawy</a>
<br>
Please contact us for any bugs or ideas!
<br><br>
Now open for <a target="_blank" href="https://github.com/Magdz/Eng.TimeTable/graphs/contributors">Contributors</a>' pull requests.
<br>
Contact me if you want to help as an <a target="_blank" href="https://www.dropbox.com/sh/dc787ckd5jlu0g4/AADwHhq8cyqQqI8VtIgCAHXIa?dl=0">Editor</a>.
</p>
</div>
</div>
<!-- Social Media -->
<div class="row">
<div class="col-xs-0 col-md-4"></div>
<div class="col-xs-1 footer-social">
<a title="Facebook" href="https://web.facebook.com/ahmed.magdz" target="_blank" class="btn btn-facebook btn-social-icon btn-lg footer-social""><span class="fa fa-facebook"></a>
</div>
<div class="col-xs-1 footer-social">
<a title="Github" href="https://github.com/Magdz" target="_blank" class="btn btn-github btn-social-icon btn-lg footer-social""><span class="fa fa-github">
</a>
</div>
<div class="col-xs-1 footer-social">
<a title="Linkedin" href="https://eg.linkedin.com/in/ahmed-magdy-ibrahim-232970a9" target="_blank" class="btn btn-linkedin btn-social-icon btn-lg footer-social""><span class="fa fa-linkedin">
</a>
</div>
<div class="col-xs-1 footer-social">
<a title="Twitter" href="https://twitter.com/Ahmed_Magdz" target="_blank" class="btn btn-twitter btn-social-icon btn-lg footer-social"><span class="fa fa-twitter">
</a>
</div>
</div>
<!-- Copyright -->
<div class="row">
<div class="col-md-3" ></div>
<div class="col-md-6">
<p class="footer-text" style="text-align: center;font-size: 12px;">
Copyright © 2016
<a>Ahmed Magdy Ibrahim</a>
</p>
</div>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>