source: trunk/templates/base.html@ 17

Last change on this file since 17 was 17, checked in by JohnLightfoot, 10 years ago

initial import

File size: 2.6 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="description" content="">
8 <meta name="author" content="">
9 <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
10
11 <title>FISICA Results Navigator</title>
12
13 <!-- Bootstrap core CSS -->
14 <link href="resources/css/bootstrap.css" rel="stylesheet">
15
16 <!-- Custom styles for this template -->
17 <link href="navbar-fixed-top.css" rel="stylesheet">
18
19 <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
20 <!--[if lt IE 9]>
21 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
22 <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
23 <![endif]-->
24 </head>
25
26 <body>
27
28 <!-- Fixed navbar -->
29 <div class="navbar navbar-default navbar-fixed-top" role="navigation">
30 <div class="container">
31 <div class="navbar-header">
32 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
33 <span class="sr-only">Toggle navigation</span>
34 <span class="icon-bar"></span>
35 <span class="icon-bar"></span>
36 <span class="icon-bar"></span>
37 </button>
38 <a class="navbar-brand" href="#">FISICA</a>
39 </div>
40 <div class="navbar-collapse collapse">
41 <ul class="nav navbar-nav">
42 % for stage in context['data'].items():
43 % if stage[0] == context['renderstage']:
44 <li class="active"><a href="#">${stage[0]}</a></li>
45 % else:
46 % if 'substages' in stage[1].keys():
47 <!-- link to the first substage page in place of having a stage page -->
48 <li><a href="${stage[0]}-${stage[1]['substages'].keys()[0]}.html">${stage[0]}</a></li>
49 % else:
50 <li><a href="${stage[0]}.html">${stage[0]}</a></li>
51 % endif
52 % endif
53 % endfor
54 </ul>
55 </div><!--/.nav-collapse -->
56 </div>
57 </div>
58
59 <!--render the main body of the inheriting class-->
60 ${next.body()}
61
62 <!-- Bootstrap core JavaScript
63 ================================================== -->
64 <!-- Placed at the end of the document so the pages load faster -->
65 <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
66 <script src="resources/js/bootstrap.min.js"></script>
67 </body>
68</html>
69
Note: See TracBrowser for help on using the repository browser.