-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
132 lines (123 loc) · 4.36 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Durham Week Converter</title>
<script src="jquery-1.10.2.min.js"></script>
<script src="bootstrap.min.js"></script>
<script src="bootstrap-datepicker.js"></script>
<script src="moment.js"></script>
<script src="moment-timezone.js"></script>
<script src="main.js"></script>
<link rel="stylesheet" href="bootstrap.css">
<link rel="stylesheet" href="datepicker.css">
<style>
.has-error input {
background-color: #fcf2f2;
}
footer {
margin-bottom: 40px;
color: #808080;
}
body {
padding-top: 50px;
}
.navbar-brand, .navbar-brand.a {
color:white !important;
}
</style>
<link rel="apple-touch-icon" href="touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="76x76" href="touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="120x120" href="touch-icon-iphone-retina.png" />
<link rel="apple-touch-icon" sizes="152x152" href="touch-icon-ipad-retina.png" />
</head>
<body>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-45259648-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Durham Week Converter</a>
</div>
<!--<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<div class="container">
<p> </p>
<table class="table">
<tr>
<td>Date</td>
<td>
<!--<input type="text" class="form-control" id="date" style="width:150px;">-->
<div class="col-lg-6">
<div class="input-group">
<input type="text" id="date" class="form-control">
<span class="input-group-btn">
<button class="btn btn-primary" id="datebtn" type="button">
Pick Date
</button>
</span>
</div><!-- /input-group -->
</div>
</td>
</tr>
<tr>
<td>Calendar Week</td>
<td class="week-field" id="week-gregorian"></td>
</tr>
<tr>
<td>Syllabus Week</td>
<td class="week-field" id="week-syllabus"></td>
</tr>
<tr>
<td>Durham Week</td>
<td class="week-field" id="week-durham"></td>
</tr>
<tr>
<td>Teaching Week</td>
<td class="week-field" id="week-teaching"></td>
</tr>
</table>
<table class="table">
<thead>
<tr>
<th>Location</th>
<th>Date and time now</th>
</tr>
</thead>
<tr>
<td>Durham</td>
<td id="utc-now"></td>
</tr>
<tr>
<td>You</td>
<td id="local-now"></td>
</tr>
</table>
<hr/>
<footer>
<ul>
<li>This website/app is not affiliated with Durham University in any way.</li>
<li>Based on <a href="https://timetable.dur.ac.uk/week_patterns.htm">2016-17 Teaching Timetable</a>.</li>
<!--<li>Offline mobile apps (for sideloading) available from <a href="https://build.phonegap.com/apps/619670/install">Phonegap Build</a></li>-->
<li>Made by <a href="http://www.jkg.dk">jkg.dk</a>, <a href="mailto:[email protected]">[email protected]</a></li>
<li>Version 1.1.1</li>
</ul>
</footer>
</div>
</body>
</html>