Permalink
Browse files

latest run-data from Strava, embedded as iframe.

  • Loading branch information...
1 parent a78a2da commit d9a7439bee69439fcfbf159b963b086db6a893ba @jzacsh committed Jan 7, 2013
Showing with 15 additions and 0 deletions.
  1. +8 −0 static/html/running.html
  2. +3 −0 static/js/controllers.js
  3. +4 −0 static/js/jzacsh.js
View
@@ -0,0 +1,8 @@
+<div style="display:block;">
+ <iframe
+ style="width: 100%;"
+ frameborder='0'
+ allowtransparency='true'
+ scrolling='no'
+ src='http://app.strava.com/athletes/1251373/latest-rides/7fe439e0cde2528c0ba3d72df4f3e557808fb940'></iframe>
+</div>
View
@@ -34,6 +34,9 @@ jzacsh.controllers.FooterCtrl = function($scope) {
/* about.html controller */
jzacsh.controllers.AboutPageCtrl = function($scope) {};
+/* running.html controller */
+jzacsh.controllers.RunningPageCtrl = function($scope) {};
+
/**
* drawings.html controller
*
View
@@ -28,6 +28,10 @@ jzacsh.app.config(['$routeProvider', '$locationProvider',
templateUrl: '/static/html/beer.html',
controller: jzacsh.controllers.BeerPageCtrl,
})
+ .when('/running', {
+ templateUrl: '/static/html/running.html',
+ controller: jzacsh.controllers.RunningPageCtrl,
+ })
.otherwise({ redirectTo: '/about' });
// Deep linking

0 comments on commit d9a7439

Please sign in to comment.