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>Login - 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>
38                 <strong>
39                   Login
40                 </strong><br>
41                 <span tal:replace="message"></span>
42               </p>
43               <form action="${url}" method="post">
44                 <input type="hidden" name="came_from" value="${came_from}">
45                 <div class="form-group">
46                   <label for="login">Username</label>
47                   <input type="text" name="login" value="${login}">
48                 </div>
49                 <div class="form-group">
50                   <label for="password">Password</label>
51                   <input type="password" name="password" value="${password}">
52                 </div>
53                 <div class="form-group">
54                   <button type="submit" name="form.submitted" value="Log In" class="btn btn-default">Log In</button>
55                 </div>
56               </form>
57             </div>
58           </div>
59         </div>
60         <div class="row">
61           <div class="copyright">
62             Copyright &copy; Pylons Project
63           </div>
ed252c 64         </div>
CM 65       </div>
66     </div>
5f375c 67
SP 68
69     <!-- Bootstrap core JavaScript
70     ================================================== -->
71     <!-- Placed at the end of the document so the pages load faster -->
c5538e 72     <script src="//oss.maxcdn.com/libs/jquery/1.10.2/jquery.min.js" integrity="sha384-aBL3Lzi6c9LNDGvpHkZrrm3ZVsIwohDD7CDozL0pk8FwCrfmV7H9w8j3L7ikEv6h" crossorigin="anonymous"></script>
FL 73     <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 74   </body>
6471d3 75 </html>