|
@@ -1,63 +0,0 @@
|
1
|
|
-<!--
|
2
|
|
- Genshi template master file, this is here
|
3
|
|
- to permit to extensions and pluggable applications
|
4
|
|
- to always have a reliable master template
|
5
|
|
--->
|
6
|
|
-<html xmlns="http://www.w3.org/1999/xhtml"
|
7
|
|
- xmlns:py="http://genshi.edgewall.org/"
|
8
|
|
- xmlns:xi="http://www.w3.org/2001/XInclude"
|
9
|
|
- py:strip="">
|
10
|
|
-<head py:match="head" py:attrs="select('@*')">
|
11
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
12
|
|
- <meta charset="${response.charset}" />
|
13
|
|
- <title py:if="False">Your generic title goes here</title>
|
14
|
|
- <meta py:replace="select('*')"/>
|
15
|
|
- <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/bootstrap.min.css')}" />
|
16
|
|
- <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/bootstrap-responsive.min.css')}" />
|
17
|
|
- <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/style.css')}" />
|
18
|
|
-</head>
|
19
|
|
-
|
20
|
|
-<body py:match="body" py:attrs="select('@*')">
|
21
|
|
- <div class="container">
|
22
|
|
-
|
23
|
|
- <!-- Navbar -->
|
24
|
|
- <div class="navbar">
|
25
|
|
- <div class="navbar-inner">
|
26
|
|
- <div class="container">
|
27
|
|
- <a class="brand" href="#"><img src="${tg.url('/img/turbogears_logo.png')}" alt="TurboGears 2"/> ${getattr(tmpl_context, 'project_name', 'turbogears2')}</a>
|
28
|
|
- <ul class="nav nav-pills">
|
29
|
|
- <li class="${('', 'active')[defined('page') and page=='index']}"><a href="${tg.url('/')}">Welcome</a></li>
|
30
|
|
- <li class="${('', 'active')[defined('page') and page=='about']}"><a href="${tg.url('/about')}">About</a></li>
|
31
|
|
- <li class="${('', 'active')[defined('page') and page=='data']}"><a href="${tg.url('/data')}">Serving Data</a></li>
|
32
|
|
- <li class="${('', 'active')[defined('page') and page=='environ']}"><a href="${tg.url('/environ')}">WSGI Environment</a></li>
|
33
|
|
- </ul>
|
34
|
|
- <ul class="nav pull-right" py:if="tg.auth_stack_enabled">
|
35
|
|
- <li py:if="not request.identity"><a href="${tg.url('/login')}">Login</a></li>
|
36
|
|
- <li py:if="request.identity"><a href="${tg.url('/logout_handler')}">Logout</a></li>
|
37
|
|
- <li py:if="request.identity"><a href="${tg.url('/admin')}">Admin</a></li>
|
38
|
|
- </ul>
|
39
|
|
- </div>
|
40
|
|
- </div>
|
41
|
|
- </div>
|
42
|
|
-
|
43
|
|
- <!-- Flash messages -->
|
44
|
|
- <py:with vars="flash=tg.flash_obj.render('flash', use_js=False)">
|
45
|
|
- <div class="row"><div class="span8 offset2">
|
46
|
|
- <div py:if="flash" py:replace="Markup(flash)" />
|
47
|
|
- </div></div>
|
48
|
|
- </py:with>
|
49
|
|
-
|
50
|
|
- <!-- Main included content -->
|
51
|
|
- <div py:replace="select('*|text()')"/>
|
52
|
|
-
|
53
|
|
- <!-- Footer included from an external template -->
|
54
|
|
- <footer class="footer hidden-tablet hidden-phone">
|
55
|
|
- <a class="pull-right" href="http://www.turbogears.org"><img style="vertical-align:middle;" src="${tg.url('/img/under_the_hood_blue.png')}" alt="TurboGears 2" /></a>
|
56
|
|
- <p>Copyright © ${getattr(tmpl_context, 'project_name', 'TurboGears2')} ${h.current_year()}</p>
|
57
|
|
- </footer>
|
58
|
|
- </div>
|
59
|
|
-
|
60
|
|
- <script src="http://code.jquery.com/jquery.js"></script>
|
61
|
|
- <script src="${tg.url('/javascript/bootstrap.min.js')}"></script>
|
62
|
|
-</body>
|
63
|
|
-</html>
|