commit | author | age
|
cb5a84
|
1 |
<!DOCTYPE html> |
MM |
2 |
<html lang="{{request.locale_name}}"> |
|
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="pyramid web application"> |
|
8 |
<meta name="author" content="Pylons Project"> |
|
9 |
<link rel="shortcut icon" href="{{request.static_url('tutorial:static/pyramid-16x16.png')}}"> |
|
10 |
|
2fa904
|
11 |
<title>{% block subtitle %}{% endblock %}Pyramid tutorial wiki (based on TurboGears 20-Minute Wiki)</title> |
cb5a84
|
12 |
|
MM |
13 |
<!-- Bootstrap core CSS --> |
|
14 |
<link href="//oss.maxcdn.com/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> |
|
15 |
|
|
16 |
<!-- Custom styles for this scaffold --> |
|
17 |
<link href="{{request.static_url('tutorial:static/theme.css')}}" rel="stylesheet"> |
|
18 |
|
|
19 |
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> |
|
20 |
<!--[if lt IE 9]> |
6b56cb
|
21 |
<script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js" integrity="sha384-0s5Pv64cNZJieYFkXYOTId2HMA2Lfb6q2nAcx2n0RTLUnCAoTTsS0nKEO27XyKcY" crossorigin="anonymous"></script> |
FL |
22 |
<script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js" integrity="sha384-f1r2UzjsxZ9T4V1f2zBO/evUqSEOpeaUUZcMTz1Up63bl4ruYnFYeM+BxI4NhyI0" crossorigin="anonymous"></script> |
cb5a84
|
23 |
<![endif]--> |
MM |
24 |
</head> |
|
25 |
|
|
26 |
<body> |
|
27 |
|
|
28 |
<div class="starter-template"> |
|
29 |
<div class="container"> |
|
30 |
<div class="row"> |
|
31 |
<div class="col-md-2"> |
|
32 |
<img class="logo img-responsive" src="{{request.static_url('tutorial:static/pyramid.png')}}" alt="pyramid web framework"> |
|
33 |
</div> |
|
34 |
<div class="col-md-10"> |
|
35 |
<div class="content"> |
2fa904
|
36 |
{% if request.user is none %} |
cb5a84
|
37 |
<p class="pull-right"> |
2fa904
|
38 |
<a href="{{ request.route_url('login') }}">Login</a> |
MM |
39 |
</p> |
|
40 |
{% else %} |
|
41 |
<p class="pull-right"> |
|
42 |
{{request.user.name}} <a href="{{request.route_url('logout')}}">Logout</a> |
cb5a84
|
43 |
</p> |
MM |
44 |
{% endif %} |
|
45 |
{% block content %}{% endblock %} |
|
46 |
</div> |
|
47 |
</div> |
|
48 |
</div> |
|
49 |
<div class="row"> |
|
50 |
<div class="copyright"> |
|
51 |
Copyright © Pylons Project |
|
52 |
</div> |
|
53 |
</div> |
|
54 |
</div> |
|
55 |
</div> |
|
56 |
|
|
57 |
|
|
58 |
<!-- Bootstrap core JavaScript |
|
59 |
================================================== --> |
|
60 |
<!-- Placed at the end of the document so the pages load faster --> |
6b56cb
|
61 |
<script src="//oss.maxcdn.com/libs/jquery/1.10.2/jquery.min.js" integrity="sha384-aBL3Lzi6c9LNDGvpHkZrrm3ZVsIwohDD7CDozL0pk8FwCrfmV7H9w8j3L7ikEv6h" crossorigin="anonymous"></script> |
FL |
62 |
<script src="//oss.maxcdn.com/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js" integrity="sha384-s1ITto93iSMDxlp/79qhWHi+LsIi9Gx6yL+cOKDuymvihkfol83TYbLbOw+W/wv4" crossorigin="anonymous"></script> |
cb5a84
|
63 |
</body> |
MM |
64 |
</html> |