-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.php
88 lines (76 loc) · 2.89 KB
/
index.php
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
<!DOCTYPE html>
<html>
<head>
<title>Magic Mirror</title>
<style type="text/css">
<?php include('css/main.css') ?>
<?php include('css//mbta-icons.css') ?>
</style>
<link rel="stylesheet" type="text/css" href="css/weather-icons.css">
<script type="text/javascript">
var gitHash = '<?php echo trim(`git rev-parse HEAD`) ?>';
</script>
<meta name="google" value="notranslate" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
</head>
<body>
<div>
<div class="backgroundTint"></div>
<div class="top left">
<div class="date small dimmed"></div>
<div class="time"></div>
<div class="timeWarning xxsmall"></div>
<div class="holidays xxsmall dimmed"></div>
<div class="calendar xxsmall"></div>
<div class="mbta xxxsmall dimmed"></div>
</div>
<div class="top right">
<div class="windsun small dimmed"></div>
<div class="temp"></div>
<div class="tempfeelslike xxsmall"></div>
<div class="spacer"></div>
<div class="right" style="right:0px;"> <!-- Without this div, everything inside gets left aligned with the temperature instead of right aligned for some reason -->
<div class="tempgraph"></div>
<!-- <div class="forecast small dimmed"></div> Old table method; replaced with weekgraph SVG -->
<div class="weekgraph"></div>
<div class="summary xxsmall2 dimmed"></div>
<div class="weatheralerts xxsmall2 dimmed"></div>
</div>
</div>
<div class="center-ver center-hor">
<!-- <div class="dishwasher light">Vaatwasser is klaar!</div> -->
</div>
<div class="lower-third center-hor">
<div class="compliment light"></div>
<div class="weatherCompliment small light"></div>
</div>
<div class="bottom center-hor">
<div class="newsTitle xsmall xxdimmed"></div>
<div class="news medium"></div>
</div>
<div class="farbottom center-hor">
<div class="newsDots xxxsmall"></div>
</div>
<div class="farbottom right">
<div class="lastupdated luWeather xxxsmall xxdimmed"></div>
<div class="lastupdated luMBTA xxxsmall xxdimmed"></div>
<div class="lastupdated luRSS xxxsmall xxdimmed"></div>
<div class="lastupdated luHolidays xxxsmall xxdimmed"></div>
</div>
</div>
<!-- Third Parties -->
<script src="js/jquery.js"></script>
<script src="js/ical_parser.js"></script>
<script src="js/moment-with-locales.js"></script>
<script src="js/config.js"></script>
<script src="js/rrule.js"></script>
<script src="js/d3.js"></script>
<!-- <script src="js/socket.io.min.js"></script> -->
<!-- Our Stuff -->
<script src="js/main.js?nocache=<?php echo md5(microtime()) ?>"></script>
<script src="js/mm-holidays.js?nocache=<?php echo md5(microtime()) ?>"></script>
<script src="js/mm-weather.js?nocache=<?php echo md5(microtime()) ?>"></script>
<script src="js/mm-mbta.js?nocache=<?php echo md5(microtime()) ?>"></script>
<script src="js/mm-mta.js?nocache=<?php echo md5(microtime()) ?>"></script> <!-- This must be included after mm-mbta.js -->
</body>
</html>