Skip to content

Commit c4c3f2e

Browse files
added new custom spinner
1 parent af3c500 commit c4c3f2e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

img/hab-spinner.gif

2.39 KB
Loading

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Embed tracker
7878
<div class="slimContainer">
7979
<h2><i class="icon-question rfloat"></i>Welcome</h2>
8080
<hr/>
81-
<div id='motd'><img style='display:block;margin:0 auto' src="img/hab-spinner.gif" /></div>
81+
<div id='motd'><img style='display:block;margin:0 auto;width:90px;height:30px' src="img/hab-spinner.gif" /></div>
8282
<br/>
8383
<iframe data-src="https://www.google.com/calendar/embed?title=Habhub%20Calendar&amp;showTitle=0&amp;showNav=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;mode=AGENDA&amp;height=450&amp;wkst=2&amp;bgcolor=%23ffffff&amp;src=5m4629p2h0esfojq1elep31einvu2q0v%40import.calendar.google.com&amp;color=%2300a3d3&amp;ctz=Pacific%2FMidway" style=" border-width:0 " width="290" height="450" frameborder="0" scrolling="no"></iframe>
8484
<p>
@@ -288,10 +288,10 @@ <h2>Chase car mode</h2>
288288
<div id="main" style="display: none">
289289
<div class="scrollwrapper">
290290
<div class="portrait">
291-
<div class="row vehicle0"><div class="header empty"><img style="width:24px;height:24px" src="img/hab-spinner.gif"/></div></div>
291+
<div class="row vehicle0"><div class="header empty"><img style="width:90px;height:30px" src="img/hab-spinner.gif"/></div></div>
292292
</div>
293293
<div class="landscape">
294-
<div class="row vehicle0"><div class="header empty"><img style="width:24px;height:24px" src="img/hab-spinner.gif"/></div></div>
294+
<div class="row vehicle0"><div class="header empty"><img style="width:90px;height:30px" src="img/hab-spinner.gif"/></div></div>
295295
</div>
296296
</div>
297297
</div>

js/tracker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ function load() {
396396
$('#main .empty').parent().remove();
397397
$("#main .portrait,#main .landscape").append(
398398
'<div class="row vehicle'+elm_uuid+'"><div class="header empty">' +
399-
'<img style="width:24px;height:24px" src="img/hab-spinner.gif"/></div></div>'
399+
'<img style="width:90px;height:30px" src="img/hab-spinner.gif"/></div></div>'
400400
);
401401

402402
refresh();
@@ -1173,7 +1173,7 @@ var mapInfoBox_handle_path = function(event) {
11731173
var point = (p1_dist < p2_dist) ? p[minidx-1] : p[minidx];
11741174
var id = (p1_dist < p2_dist) ? vehicle.positions_ids[minidx-1] : vehicle.positions_ids[minidx];
11751175

1176-
mapInfoBox.setContent("<img style='width:18px;height:18px' src='img/hab-spinner.gif' />");
1176+
mapInfoBox.setContent("<img style='width:60px;height:20px' src='img/hab-spinner.gif' />");
11771177
mapInfoBox.setPosition(point);
11781178
mapInfoBox.setMap(map);
11791179
mapInfoBox.open(map);

0 commit comments

Comments
 (0)