Changeset 608 in tmcsimulator for branches/LCSv1/views/layout.html
- Timestamp:
- 03/30/2020 01:12:49 PM (6 years ago)
- File:
-
- 1 edited
-
branches/LCSv1/views/layout.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/LCSv1/views/layout.html
r607 r608 14 14 user-scalable = yes allows the user to zoom in --> 15 15 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 16 <title>{{=response.title or request.application}} </title>16 <title>{{=response.title or request.application}} {{=request.function}}</title> 17 17 <!-- http://dev.w3.org/html5/markup/meta.name.html --> 18 18 <meta name="application-name" content="{{=request.application}}"> … … 36 36 <body> 37 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 ===================================== --> 38 42 <div class="container" id="banner"> 39 43 <div class = "toplinks" style = "float:right"> 40 <a href="help.html">Help</a> <a href="index.html">Logout</a> 44 <a href="help.html" style="text-decoration:underline">Help</a> 45 <a href="index.html" style="text-decoration:underline">Logout</a> 41 46 </div> 42 47 <div class="lcslogo"> … … 46 51 </div> 47 52 </div> 48 </div> 49 <!-- Navbar ======================================= --> 50 <div role="navigation" class="navtabs" style="margin-top: 3%;"> 51 <div class="tabrow"> 52 {{for _item in response.menu or []:}} 53 {{if len(_item)<4 or not _item[3]:}} 54 <a class="tabBtn" href="{{=_item[2]}}">{{=_item[0]}}</a> 55 {{else:}} 56 <a class="tabBtn" href="{{=_item[2]}}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{=_item[0]}}</a> 57 {{pass}} 58 {{pass}} 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}} 59 60 </div> 60 61 <hr class="tabBar"> 61 62 </div> 62 63 {{pass}} 63 64 <!-- Masthead ===================================== --> 64 65 {{block header}}
Note: See TracChangeset
for help on using the changeset viewer.
