Warning: Can't use blame annotator:
svn blame failed on branches/LCSv1/views/layout.html: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/branches/LCSv1/views/layout.html @ 608

Revision 608, 4.2 KB checked in by jdalbey, 6 years ago (diff)

LCSv1 update layout.html and lcstrain.css to enhance nav bar functionality to show selected tab in blue.

RevLine 
1<!DOCTYPE html>
2<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="{{=T.accepted_language or 'en'}}"> <!--<![endif]-->
3  <head>
4    <meta charset="utf-8">
5    <!-- www.phpied.com/conditional-comments-block-downloads/ -->
6    <!-- Always force latest IE rendering engine
7         (even in intranet) & Chrome Frame
8         Remove this if you use the .htaccess -->
9    <meta http-equiv="X-UA-Compatible" content="IE=edge{{=not request.is_local and ',chrome=1' or ''}}">
10    <!--  Mobile Viewport Fix
11          j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
12          device-width: Occupy full width of the screen in its current orientation
13          initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
14          user-scalable = yes allows the user to zoom in -->
15    <meta name="viewport" content="width=device-width, initial-scale=1.0">
16    <title>{{=response.title or request.application}} {{=request.function}}</title>
17    <!-- http://dev.w3.org/html5/markup/meta.name.html -->
18    <meta name="application-name" content="{{=request.application}}">
19    <!-- Speaking of Google, don't forget to set your site up:
20         http://google.com/webmasters -->
21    <meta name="google-site-verification" content="">
22    <!-- include stylesheets -->
23    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
24    <link rel="stylesheet" href="{{=URL('static','css/bootstrap.min.css')}}"/>
25    <link rel="stylesheet" href="{{=URL('static','css/web2py-bootstrap4.css')}}"/>
26    <link rel="stylesheet" href="{{=URL('static','css/lcstrain.css')}}"/>
27    <link rel="shortcut icon" href="{{=URL('static','images/favicon.ico')}}" type="image/x-icon">
28    <link rel="apple-touch-icon" href="{{=URL('static','images/favicon.png')}}">
29    <!-- All JavaScript at the bottom, except for Modernizr which enables
30         HTML5 elements & feature detects -->
31    <script src="{{=URL('static','js/modernizr-2.8.3.min.js')}}"></script>
32    <!-- Favicons -->
33    {{include 'web2py_ajax.html'}} <!-- this includes jquery.js, calendar.js/.css and web2py.js -->
34    {{block head}}{{end}}
35  </head>
36  <body>
37    <div class="w2p_flash alert alert-dismissable">{{=response.flash or ''}}</div>
38     
39      <!-- Don't show the banner and navbar on the login page -->
40     {{if (request.function != "index"):}}
41     <!-- LCS banner ===================================== -->
42      <div class="container" id="banner">
43          <div class = "toplinks" style = "float:right">
44              <a href="help.html" style="text-decoration:underline">Help</a>&nbsp;&nbsp;&nbsp;
45              <a href="index.html" style="text-decoration:underline">Logout</a>
46          </div>
47          <div class="lcslogo">
48             <h2>
49                 Lane Closure System
50              </h2>
51          </div>
52      </div>
53    <!-- LCS navbar ===================================== -->
54     <div role="navigation" class="navtabs">
55      <div class="tabrow">
56      <!-- Display the menu choices as tabs with the current page highlighted -->
57     {{for _item in response.menu or []:}}
58            <a class="tabBtn {{if _item[2].endswith(request.function):}}selectedTab{{pass}}" href="{{=_item[2]}}">{{=_item[0]}}</a>
59     {{pass}}
60      </div>
61      <hr class="tabBar">
62    </div>
63    {{pass}}
64    <!-- Masthead ===================================== -->
65    {{block header}}
66    {{end}}
67    <!-- Main ========================================= -->
68    <!-- Begin page content -->
69    <div class="container-fluid main-container">
70      {{include}}
71      {{=response.toolbar() if response.show_toolbar else ''}}
72    </div>
73
74    {{block footer}}
75    {{end}}
76    <!-- The javascript =============================== -->
77    <script src="{{=URL('static','js/bootstrap.bundle.min.js')}}"></script>
78    <script src="{{=URL('static','js/web2py-bootstrap4.js')}}"></script>
79    {{block page_js}}{{end page_js}}
80    {{if response.google_analytics_id:}}
81    <!-- Analytics ==================================== -->
82    <script src="{{=URL('static','js/analytics.min.js')}}"></script>
83    <script type="text/javascript">
84      analytics.initialize({
85      'Google Analytics':{trackingId:'{{=response.google_analytics_id}}'}
86      });
87    </script>
88   {{pass}}
89  </body>
90</html>
Note: See TracBrowser for help on using the repository browser.