|  |  |  | @ -1,64 +1,86 @@@@ -1,64 +1,86 @@ | 
			
		
	
		
			
				
					|  |  |  |  | <!DOCTYPE html> | 
			
		
	
		
			
				
					|  |  |  |  | <html lang="{{request.locale_name}}"> | 
			
		
	
		
			
				
					|  |  |  |  |   <head> | 
			
		
	
		
			
				
					|  |  |  |  |     <meta charset="utf-8"> | 
			
		
	
		
			
				
					|  |  |  |  |     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | 
			
		
	
		
			
				
					|  |  |  |  |     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 
			
		
	
		
			
				
					|  |  |  |  |     <meta name="description" content="pyramid web application"> | 
			
		
	
		
			
				
					|  |  |  |  |     <meta name="author" content="Pylons Project"> | 
			
		
	
		
			
				
					|  |  |  |  |     <link rel="shortcut icon" href="{{request.static_url('ordr2:static/pyramid-16x16.png')}}"> | 
			
		
	
		
			
				
					|  |  |  |  | <html lang="en"> | 
			
		
	
		
			
				
					|  |  |  |  | <head> | 
			
		
	
		
			
				
					|  |  |  |  | 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <title>Cookiecutter Alchemy project for the Pyramid Web Framework</title> | 
			
		
	
		
			
				
					|  |  |  |  |   	<title>Ordr | {% block subtitle %} Subtitle {% endblock subtitle %}</title> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <!-- Bootstrap core CSS --> | 
			
		
	
		
			
				
					|  |  |  |  |     <link href="//oss.maxcdn.com/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<link href="{{request.static_url('ordr2:static/img/favicon.ico')}}" type="image/x-icon" rel="shortcut icon"> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <!-- Custom styles for this scaffold --> | 
			
		
	
		
			
				
					|  |  |  |  |     <link href="{{request.static_url('ordr2:static/theme.css')}}" rel="stylesheet"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<link href='http://fonts.googleapis.com/css?family=Anton&subset=latin,latin-ext' rel='stylesheet' type='text/css'> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> | 
			
		
	
		
			
				
					|  |  |  |  |     <!--[if lt IE 9]> | 
			
		
	
		
			
				
					|  |  |  |  |       <script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | 
			
		
	
		
			
				
					|  |  |  |  |       <script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> | 
			
		
	
		
			
				
					|  |  |  |  |     <![endif]--> | 
			
		
	
		
			
				
					|  |  |  |  |   </head> | 
			
		
	
		
			
				
					|  |  |  |  | 	<link rel="stylesheet" href="{{request.static_url('ordr2:static/css/bootstrap.css')}}" type="text/css" media="screen"> | 
			
		
	
		
			
				
					|  |  |  |  | 	<link rel="stylesheet" href="{{request.static_url('ordr2:static/css/bootstrap-responsive.css')}}" type="text/css" media="screen"> | 
			
		
	
		
			
				
					|  |  |  |  |   <link rel="stylesheet" href="{{request.static_url('ordr2:static/css/style.css')}}" type="text/css" media="screen" /> | 
			
		
	
		
			
				
					|  |  |  |  |   <!--[if !IE 7]> | 
			
		
	
		
			
				
					|  |  |  |  | 	<style type="text/css"> | 
			
		
	
		
			
				
					|  |  |  |  | 		#wrap {display:table;height:100%} | 
			
		
	
		
			
				
					|  |  |  |  | 	</style> | 
			
		
	
		
			
				
					|  |  |  |  | 	<![endif]--> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   <body> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <div class="starter-template"> | 
			
		
	
		
			
				
					|  |  |  |  |       <div class="container"> | 
			
		
	
		
			
				
					|  |  |  |  |         <div class="row"> | 
			
		
	
		
			
				
					|  |  |  |  |           <div class="col-md-2"> | 
			
		
	
		
			
				
					|  |  |  |  |             <img class="logo img-responsive" src="{{request.static_url('ordr2:static/pyramid.png') }}" alt="pyramid web framework"> | 
			
		
	
		
			
				
					|  |  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |  |           <div class="col-md-10"> | 
			
		
	
		
			
				
					|  |  |  |  | </head> | 
			
		
	
		
			
				
					|  |  |  |  | <body class=""> | 
			
		
	
		
			
				
					|  |  |  |  | <header class="navbar navbar-fixed-top"> | 
			
		
	
		
			
				
					|  |  |  |  |       <div class="navbar-inner"> | 
			
		
	
		
			
				
					|  |  |  |  |         <div class="container-fluid"> | 
			
		
	
		
			
				
					|  |  |  |  |           <a href="{{request.resource_url(request.root)}}" class="brand">ordr</a> | 
			
		
	
		
			
				
					|  |  |  |  |           {# TODO: | 
			
		
	
		
			
				
					|  |  |  |  |               {% if request.user %} | 
			
		
	
		
			
				
					|  |  |  |  |                 <ul class="nav"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <li {% if is_active %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'orders')}}">Orders</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                     <li {% if is_active %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'faq')}}">FAQs</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                     {% if request.user.role == 'admin' %} | 
			
		
	
		
			
				
					|  |  |  |  |                         <li {% if is_active %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'admin')}}">Admin</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                     {% endif %} | 
			
		
	
		
			
				
					|  |  |  |  |                 </ul> | 
			
		
	
		
			
				
					|  |  |  |  |                 <ul class="nav pull-right"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <li class="dropdown" id="user-options"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <a data-toggle="dropdown" class="dropdown-toggle" href="#">Logged in as <span class="user-name">{{request.user.username}}</span></a> | 
			
		
	
		
			
				
					|  |  |  |  |                         <ul class="dropdown-menu"> | 
			
		
	
		
			
				
					|  |  |  |  |                           <li><a href="{{request.resource_url(request.root, 'account', 'settings')}}">Settings</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                           <li><a href="#">Help</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                           <li><a href="https://git.cpi.imtek.uni-freiburg.de/holgi/ordr2/issues">Submit an Issue</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                           <li class="divider"></li> | 
			
		
	
		
			
				
					|  |  |  |  |                           <li><a href="{{request.resource_url(request.root, 'account', 'logout')}}">Settings</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                         </ul> | 
			
		
	
		
			
				
					|  |  |  |  |                     </li> | 
			
		
	
		
			
				
					|  |  |  |  |                 </ul> | 
			
		
	
		
			
				
					|  |  |  |  |               {% else %} | 
			
		
	
		
			
				
					|  |  |  |  |                 <ul class="nav"> | 
			
		
	
		
			
				
					|  |  |  |  |                   <li {% if is_active %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'register')}}">Register</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                   <li {% if is_active %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'about')}}">About</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |                 </ul> | 
			
		
	
		
			
				
					|  |  |  |  |                 <form action="{{request.resource_url(request.root, 'account', 'login')}}" method="post"> | 
			
		
	
		
			
				
					|  |  |  |  |                   <input type="hidden" name="redirect" value="{{request.url}}" /> | 
			
		
	
		
			
				
					|  |  |  |  |                   <input name="username" type="text" placeholder="Username" class="input-small"> | 
			
		
	
		
			
				
					|  |  |  |  |                   <input name="password" type="password" placeholder="Password" class="input-small"> | 
			
		
	
		
			
				
					|  |  |  |  |                   <button type="submit" class="btn">Log in</button> | 
			
		
	
		
			
				
					|  |  |  |  |                 </form> | 
			
		
	
		
			
				
					|  |  |  |  |               {% endif %} | 
			
		
	
		
			
				
					|  |  |  |  |           #} | 
			
		
	
		
			
				
					|  |  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |  | </header> | 
			
		
	
		
			
				
					|  |  |  |  | <div class="content {#<?php echo ($controls) ? ' controls' : ''; ?>#}"> | 
			
		
	
		
			
				
					|  |  |  |  |             {% block content %} | 
			
		
	
		
			
				
					|  |  |  |  |                 <p>No content</p> | 
			
		
	
		
			
				
					|  |  |  |  |             {% endblock content %} | 
			
		
	
		
			
				
					|  |  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |  |         <div class="row"> | 
			
		
	
		
			
				
					|  |  |  |  |           <div class="links"> | 
			
		
	
		
			
				
					|  |  |  |  |             <ul> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><i class="glyphicon glyphicon-cog icon-muted"></i><a href="https://github.com/Pylons/pyramid">Github Project</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><i class="glyphicon glyphicon-globe icon-muted"></i><a href="https://webchat.freenode.net/?channels=pyramid">IRC Channel</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |               <li><i class="glyphicon glyphicon-home icon-muted"></i><a href="http://pylonsproject.org">Pylons Project</a></li> | 
			
		
	
		
			
				
					|  |  |  |  |             </ul> | 
			
		
	
		
			
				
					|  |  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |  |         <div class="row"> | 
			
		
	
		
			
				
					|  |  |  |  |           <div class="copyright"> | 
			
		
	
		
			
				
					|  |  |  |  |             Copyright © Pylons Project | 
			
		
	
		
			
				
					|  |  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |  |   </div> | 
			
		
	
		
			
				
					|  |  |  |  |   <footer> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <div class="copy"> | 
			
		
	
		
			
				
					|  |  |  |  |     	<a class="icon-dbs" title="This software was orignially written by Sebastian Sebald." target="_blank" href="http://distractedbysquirrels.com/"></a> | 
			
		
	
		
			
				
					|  |  |  |  | 	</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <!-- Bootstrap core JavaScript | 
			
		
	
		
			
				
					|  |  |  |  |     ================================================== --> | 
			
		
	
		
			
				
					|  |  |  |  |     <!-- Placed at the end of the document so the pages load faster --> | 
			
		
	
		
			
				
					|  |  |  |  |     <script src="//oss.maxcdn.com/libs/jquery/1.10.2/jquery.min.js"></script> | 
			
		
	
		
			
				
					|  |  |  |  |     <script src="//oss.maxcdn.com/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script> | 
			
		
	
		
			
				
					|  |  |  |  |   </body> | 
			
		
	
		
			
				
					|  |  |  |  |   </footer> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/jquery.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/bootstrap-transition.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/bootstrap-dropdown.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/bootstrap-modal.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/bootstrap-alert.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/bootstrap-tooltip.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/bootstrap-typeahead.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/bootstrap-collapse.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | 	<script src="{{request.static_url('ordr2:static/js/functions.js')}}"></script> | 
			
		
	
		
			
				
					|  |  |  |  | </body> | 
			
		
	
		
			
				
					|  |  |  |  | </html> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |