]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/base.mako
added ability to switch back and forth between mobile and non-mobile interface on iphone
[bluechips.git] / bluechips / templates / base.mako
index 8ad40aa4ede7e1db41a14497dfbfabf397f29dd9..97f0b9b7805ca15542bd5d316860feacb33eb983 100644 (file)
@@ -8,6 +8,11 @@
     ${h.stylesheet_link('/js/jquery.date_input.css')}
   </head>
   <body>
+    % if c.mobile_client:
+      <div id="mobile">
+        <a href="${h.url_for(request.url, use_non_mobile='no')}">Use mobile interface</a>
+      </div>
+    % endif
     <div id="nav" class="block">
       <table>
         <tr>