Michael Merickel
2017-06-18 75c30dfe18b26ca04efae2acbe35052fa0d93ed6
commit | author | age
5f375c 1 <!DOCTYPE html>
SP 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
11     <title>${page.__name__} - Pyramid tutorial wiki (based on
12     TurboGears 20-Minute Wiki)</title>
13
14     <!-- Bootstrap core CSS -->
15     <link href="//oss.maxcdn.com/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
16
17     <!-- Custom styles for this scaffold -->
18     <link href="${request.static_url('tutorial:static/theme.css')}" rel="stylesheet">
19
20     <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
21     <!--[if lt IE 9]>
c5538e 22       <script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js" integrity="sha384-0s5Pv64cNZJieYFkXYOTId2HMA2Lfb6q2nAcx2n0RTLUnCAoTTsS0nKEO27XyKcY" crossorigin="anonymous"></script>
FL 23       <script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js" integrity="sha384-f1r2UzjsxZ9T4V1f2zBO/evUqSEOpeaUUZcMTz1Up63bl4ruYnFYeM+BxI4NhyI0" crossorigin="anonymous"></script>
5f375c 24     <![endif]-->
SP 25   </head>
0a2628 26
5f375c 27   <body>
SP 28
29     <div class="starter-template">
30       <div class="container">
31         <div class="row">
32           <div class="col-md-2">
33             <img class="logo img-responsive" src="${request.static_url('tutorial:static/pyramid.png')}" alt="pyramid web framework">
34           </div>
35           <div class="col-md-10">
36             <div class="content">
37               <p tal:condition="logged_in" class="pull-right">
38                 <a href="${request.application_url}/logout">Logout</a>
39               </p>
40               <p>
41                   Editing <strong><span tal:replace="page.__name__">
42                   Page Name Goes Here</span></strong>
43               </p>
44               <p>You can return to the
45                 <a href="${request.application_url}">FrontPage</a>.
46               </p>
47               <form action="${save_url}" method="post">
48                 <div class="form-group">
49                   <textarea class="form-control" name="body" tal:content="page.data" rows="10" cols="60"></textarea>
50                 </div>
51                 <div class="form-group">
52                   <button type="submit" name="form.submitted" value="Save" class="btn btn-default">Save</button>
53                 </div>
54               </form>
55             </div>
56           </div>
57         </div>
58         <div class="row">
59           <div class="copyright">
60             Copyright &copy; Pylons Project
61           </div>
ed252c 62         </div>
CM 63       </div>
64     </div>
5f375c 65
SP 66
67     <!-- Bootstrap core JavaScript
68     ================================================== -->
69     <!-- Placed at the end of the document so the pages load faster -->
c5538e 70     <script src="//oss.maxcdn.com/libs/jquery/1.10.2/jquery.min.js" integrity="sha384-aBL3Lzi6c9LNDGvpHkZrrm3ZVsIwohDD7CDozL0pk8FwCrfmV7H9w8j3L7ikEv6h" crossorigin="anonymous"></script>
FL 71     <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>
5f375c 72   </body>
6471d3 73 </html>