redid html and css,

switched to sans-serif font
This commit is contained in:
shiin
2012-04-08 12:02:36 +02:00
parent 3141d3ba48
commit 13f0a3fb6b
10 changed files with 375 additions and 430 deletions
+2 -2
View File
@@ -65,11 +65,11 @@ show: function(response) {
route_desc += '</table>';
headline = "";
headline += OSRM.loc("ROUTE_DESCRIPTION")+":<br>";
headline += OSRM.loc("ROUTE_DESCRIPTION")+":<br/>";
headline += '<div style="float:left;width:40%">';
headline += "<span class='route-summary'>"
+ OSRM.loc("DISTANCE")+": " + OSRM.Utils.metersToDistance(response.route_summary.total_distance)
+ "<br>"
+ "<br/>"
+ OSRM.loc("DURATION")+": " + OSRM.Utils.secondsToTime(response.route_summary.total_time)
+ "</span>";
headline += '</div>';