Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 6dc4d7d

Browse files
committed
Create route to use snow route template.
Add snow image.
1 parent 09f2320 commit 6dc4d7d

File tree

4 files changed

+187
-164
lines changed

4 files changed

+187
-164
lines changed

css/busfinder.css

+1
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ Geolocation Failure Alert
763763
width: 100%;
764764
text-align: center;
765765
padding: 2em 1em;
766+
overflow-y: scroll;
766767
}
767768

768769
#snow-mode img {

img/wet_snow.png

19 KB
Loading

index.html

+15-11
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
<head>
77
<title>HRT Bus Finder</title>
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
9-
<script type="text/javascript">
9+
<script type="text/javascript">
1010
var _gaq = _gaq || [];
1111
var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
1212
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
1313
_gaq.push(['_setAccount', 'UA-39303796-2']);
1414
// Don't track the page view here.
1515
// Track it in busfinder.js each time the router does it's thing.
16-
1716
(function() {
1817
var ga = document.createElement('script');
1918
ga.type = 'text/javascript';
@@ -31,6 +30,19 @@
3130
<link rel="apple-touch-icon" href="./img/favicon.png">
3231
<link rel="shortcut icon" type="image/x-icon" href="./img/favicon.ico" />
3332

33+
<script type="text/template" id="snow-route-template">
34+
35+
<div id="snow-mode">
36+
<div class="container">
37+
<img id="logo" src="img/favicon-rounded.png" alt="hrt logo">
38+
<h1>Due to the Severe Weather Forecast, Snow Routes will be activated on Thursday, February 26th.</h1>
39+
<p>For more information, please visit goHRT.com.</p>
40+
<p><a href="http://www.gohrt.com" class="btn btn-info">GoHRT.com</a></p>
41+
</div>
42+
</div>
43+
44+
</script>
45+
3446
</head>
3547
<body>
3648

@@ -43,15 +55,7 @@
4355
</div>
4456
<![endif]-->
4557

46-
<div id="snow-mode">
47-
<div class="container">
48-
<img id="logo" src="img/favicon-rounded.png" alt="hrt logo">
49-
<h1>Due to the Severe Weather Forecast, Snow Routes will be activated on Thursday, February 26th.</h1>
50-
<p>For more information, please visit goHRT.com.</p>
51-
<p><a href="http://www.gohrt.com" class="btn btn-info">GoHRT.com</a></p>
5258

53-
</div>
54-
</div>
5559

5660
<div id="disclaimer" class="modal fade in" data-backdrop="static" data-keyboard="false" style="display: none;">
5761
<div class="modal-dialog">
@@ -236,7 +240,7 @@ <h1>Feedback</h1>
236240

237241
$(function () {
238242
//if(!supports_html5_storage() || localStorage['disclaimer_accepted'] !== 'true') {
239-
$("#disclaimer").modal('show');
243+
// $("#disclaimer").modal('show');
240244
//}
241245
});
242246

0 commit comments

Comments
 (0)