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

Commit 32dccfa

Browse files
committed
Issue 313: Convert tabs to spaces in python/gtfsscheduleviewer/files/index.html
Reviewed at http://codereview.appspot.com/5297077/
1 parent 02b2807 commit 32dccfa

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

gtfsscheduleviewer/files/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,14 @@
197197
function addStopMarker(stopId, stopName, stopLat, stopLon, locationType, selected, text) {
198198
if (stopMarkersSelected[stopId]) {
199199
// stop was selected
200-
var marker = stopMarkersSelected[stopId];
201-
if (text) {
200+
var marker = stopMarkersSelected[stopId];
201+
if (text) {
202202
oldText = marker.getText();
203203
if (oldText) {
204204
oldText = oldText + "<br>";
205205
}
206206
marker.setText(oldText + text);
207-
}
207+
}
208208
return marker;
209209
}
210210
if (stopMarkersBackground[stopId]) {
@@ -264,7 +264,7 @@
264264
*/
265265
function changeStopLocation(marker) {
266266
var url = "/json/setstoplocation?id=" +
267-
encodeURIComponent(marker.stopId) +
267+
encodeURIComponent(marker.stopId) +
268268
"&lat=" + encodeURIComponent(marker.getLatLng().lat()) +
269269
"&lng=" + encodeURIComponent(marker.getLatLng().lng());
270270
GDownloadUrl(url, function(data, responseCode) {
@@ -591,7 +591,7 @@
591591
label = formatTime(arrivalTimes[i])
592592
if (departureTimes && departureTimes[i] != null &&
593593
arrivalTimes[i] != departureTimes[i]) {
594-
label += '-' + formatTime(departureTimes[i])
594+
label += '-' + formatTime(departureTimes[i])
595595
}
596596
marker = addStopMarkerFromList(stops[i], true, label);
597597
} else {
@@ -722,17 +722,17 @@
722722
<div id="agencyHeader">[agency]</div>
723723
</div>
724724
<div id='content'>
725-
<div id='sidebar-wrapper'><div id='sidebar'>
726-
Time:&nbsp;<input type="text" value="8:00" width="9" id="timeInput"><br>
727-
Date:&nbsp;<input type="text" value="" size="8" id="startDateInput" name="startDateInput"> <a href="#" onclick="calStartDate.select(document.getElementById('startDateInput'),'startDateInput','yyyyMMdd'); return false;">select</a><br>
728-
<form onSubmit="stopTextSearchSubmit(); return false;">
729-
Find Station: <input type="text" id="stopTextSearchInput"><input value="Search" type="submit"></form><br>
730-
<form onSubmit="tripTextSearchSubmit(); return false;">
731-
Find Trip ID: <input type="text" id="tripTextSearchInput"><input value="Search" type="submit"></form><br>
725+
<div id='sidebar-wrapper'><div id='sidebar'>
726+
Time:&nbsp;<input type="text" value="8:00" width="9" id="timeInput"><br>
727+
Date:&nbsp;<input type="text" value="" size="8" id="startDateInput" name="startDateInput"> <a href="#" onclick="calStartDate.select(document.getElementById('startDateInput'),'startDateInput','yyyyMMdd'); return false;">select</a><br>
728+
<form onSubmit="stopTextSearchSubmit(); return false;">
729+
Find Station: <input type="text" id="stopTextSearchInput"><input value="Search" type="submit"></form><br>
730+
<form onSubmit="tripTextSearchSubmit(); return false;">
731+
Find Trip ID: <input type="text" id="tripTextSearchInput"><input value="Search" type="submit"></form><br>
732732
<div id="routeList">routelist</div>
733-
</div></div>
733+
</div></div>
734734

735-
<div id='map-wrapper'> <div id='map'></div> </div>
735+
<div id='map-wrapper'> <div id='map'></div> </div>
736736
</div>
737737

738738
<div id='bottombar'>bottom bar</div>

0 commit comments

Comments
 (0)