def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) def content(): return render_content(context._locals(__M_locals)) self = context.get('self', UNDEFINED) request = context.get('request', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n \r\n <title>Account</title>\r\n \r\n') __M_writer(' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n \r\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\r\n \r\n </head>\r\n <body>\r\n \r\n <header>\r\n Welcome to the Account app!\r\n </header>\r\n \r\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer(' \r\n \r\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\r\n \r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) def content(): return render_content(context._locals(__M_locals)) def appheadlinks(): return render_appheadlinks(context._locals(__M_locals)) def appfooterlinks(): return render_appfooterlinks(context._locals(__M_locals)) request = context.get('request', UNDEFINED) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\n\n<!DOCTYPE html>\n<html>\n\n <head>\n <meta charset="UTF-8">\n <title>Colonial Heritage Foundation</title>\n\n' ) __M_writer( ' <!-- Latest compiled and minified CSS -->\n\n <link href=\'http://fonts.googleapis.com/css?family=Lato:100,300,400,300italic\' rel=\'stylesheet\' type=\'text/css\'>\n <link rel="stylesheet" type="text/css" href="http://www.shieldui.com/shared/components/latest/css/dark-bootstrap/all.min.css">\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">\n <link rel="stylesheet" href="http://www.shieldui.com/shared/components/latest/css/shieldui-all.min.css">\n <link rel="stylesheet" href="http://www.shieldui.com/shared/components/latest/css/light-bootstrap/all.min.css">\n <link rel="stylesheet" type="text/css" href="http://www.shieldui.com/shared/components/latest/css/dark-bootstrap/all.min.css">\n\n' ) __M_writer(' ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'appheadlinks'): context['self'].appheadlinks(**pageargs) __M_writer( '\n\n\n <script src="//code.jquery.com/jquery-1.11.2.min.js"></script>\n <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>\n <script src="/static/base/media/jquery.form.js"></script>\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>\n <script src="/static/base/media/jquery.loadmodal.js"></script>\n\n <meta name="viewport" content="width=device-width, initial-scale=1">\n ' ) __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer('\n') __M_writer('\n\n </head>\n <body>\n') __M_writer(' ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\n\n') __M_writer(' ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'appfooterlinks'): context['self'].appfooterlinks(**pageargs) __M_writer('\n ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\n </body>\n\n</html>\n') return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) def contents(): return render_contents(context._locals(__M_locals)) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\r\n\r\n') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\r\n\r\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'contents'): context['self'].contents(**pageargs) __M_writer(' \r\n\r\n') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\r\n') return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def title(): return render_title(context._locals(__M_locals)) def content(): return render_content(context._locals(__M_locals)) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\n\n<!DOCTYPE html>\n<html>\n\n\n\n\n<head>\n <meta charset="UTF-8">\n <meta name="description" content="Website for the COlonial Heritage Foundation">\n <meta name="keywords" content="Colonial Heritage Foundation, CHF, Festival">\n <meta name="author" content="shoopes2">\n \n <title>\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'title'): context['self'].title(**pageargs) __M_writer('\n </title>\n \n') __M_writer(' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\n <script src="') __M_writer(str( STATIC_URL)) __M_writer('homepage/media/jquery.form.js"></script>\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\n <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">\n <link rel="icon" href="') __M_writer(str( STATIC_URL )) __M_writer('favicon.ico" type="image/x-icon">\n <script src="') __M_writer(str( STATIC_URL)) __M_writer('homepage/scripts/loadmodal.js"></script>\n <script src="') __M_writer(str( STATIC_URL)) __M_writer('catalog/scripts/shopping_cart.js"></script> \n\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\n \n </head>\n <body>\n\n<script>\n (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');\n\n ga(\'create\', \'UA-51767348-3\', \'auto\');\n ga(\'send\', \'pageview\');\n\n</script>\n\n<div class="navbar navbar-default navbar-fixed-top">\n <div class="navbar-header">\n <a class="navbar-brand" href="/homepage/index#">Home</a>\n </div>\n <div class="navbar-collapse collapse navbar-inverse-collapse">\n <ul class="nav navbar-nav">\n <li><a href="/homepage/about#">About</a></li>\n <li><a href="/event/">Events</a></li>\n <li><a href="/catalog#">Products</a></li>\n <li><a href="/homepage/contact#">Contact</a></li>\n <form class="navbar-form navbar-left" role="search">\n <div class="form-group">\n <input type="text" id=\'keywords\' class="form-control" placeholder="Products & Rentals">\n </div>\n <a href=\'#\' id=\'keywordBtn\' class="btn btn-default">Search</a>\n </form>\n </ul>\n <div class="navbar-collapse collapse navbar-inverse-collapse">\n <ul class="nav navbar-nav navbar-right">\n\n') if request.user.is_authenticated(): __M_writer(' <li class="dropdown">\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"> Welcome, ') __M_writer(str( request.user.get_full_name() )) __M_writer('<span class="caret"></span></a>\n <ul class="dropdown-menu" role="menu">\n <li><a href="/account"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> Account Info</a></li>\n \n\n') if request.user.has_perm(True): __M_writer(' <li><a href="/account/admin#"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> Admin</a></li>\n') else: __M_writer(' <li class="divider"></li>\n') __M_writer(' \n <li><a href="/homepage/login.logout_view/"><span class="glyphicon glyphicon-log-out" aria-hidden="true"></span> Logout</a></li>\n </ul>\n </li>\n') else: __M_writer(' <li><a href="/account/edit.create#"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Create Account</a></li>\n <li><a id=\'show_login_dialog\' href=\'#\'> Log in <span class="glyphicon glyphicon-log-in" aria-hidden="true"></span></a></li>\n') __M_writer('\n </ul>\n </div>\n </div>\n</div>\n\n\n <!-- Modal -->\n <div class="modal fade" id="login_dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title" id="myModalLabel">Login</h4>\n </div>\n <div class="modal-body">\n ...\n </div>\n <div class="modal-footer">\n <!--<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>\n <button type="button" class="btn btn-primary">Save changes</button>-->\n </div>\n </div>\n </div>\n </div>\n\n<!-- Modal -->\n <div class="modal fade" id="add_to_cart" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title" id="myModalLabel">Login</h4>\n </div>\n <div class="modal-body">\n ...\n </div>\n <div class="modal-footer">\n <!--<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>\n <button type="button" class=" btn btn-primary">Save changes</button>-->\n </div>\n </div>\n </div></div> \n\n\n\n\n <!-- <li><a href = \'/homepage/login\'>Login2</a>-->\n\n </ul>\n </div><!-- /.navbar-collapse -->\n </div><!-- /.container-fluid -->\n</nav>\n\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\n\n </div>\n </div>\n </body>\n\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) self = context.get('self', UNDEFINED) def footer(): return render_footer(context._locals(__M_locals)) def header(): return render_header(context._locals(__M_locals)) def content(): return render_content(context._locals(__M_locals)) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def left_side(): return render_left_side(context._locals(__M_locals)) request = context.get('request', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>s\r\n <title>Colonial Heritage Foundation</title>\r\n <meta name="description" content="The Colonial Heritage Foundation is an organization based in Provo, UT that focuses on preserving the heritage of our American forebearers.">\r\n\r\n') __M_writer(' <meta property="og:title" content="Colonial Heritage Foundation">\r\n <meta property="og:type" content="website">\r\n <meta property="og:url" content="http://colonialheritagefoundation.co">\r\n <meta property="og:description" content="Check out the awesome events going on at the Colonial Heritage Foundation or stop by to rent colonial era props."/>\r\n\r\n') __M_writer(' <meta name="twitter:card" content="summary">\r\n <meta name="twitter:url" content="http://colonialheritagefoundation.co">\r\n <meta name="twitter:title" content="Colonial Heritage Foundation">\r\n <meta name="twitter:description" content="Check out the awesome events going on at the Colonial Heritage Foundation or stop by to rent colonial era props.">\r\n \r\n') __M_writer(' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <script src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/jquery.loadmodal.js"></script>\r\n <script src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/jquery.form.js"></script>\r\n\r\n \r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\r\n \r\n\r\n\r\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\r\n \r\n </head>\r\n <body>\r\n <div>\r\n <header>\r\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'header'): context['self'].header(**pageargs) __M_writer('\r\n </header>\r\n </div>\r\n <div class="container">\r\n <div class="col-md-2" id="left_menu">\r\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'left_side'): context['self'].left_side(**pageargs) __M_writer('\r\n </div>\r\n\r\n <div class="col-md-10" id="center_content">\r\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer(' \r\n </div>\r\n </div> \r\n \r\n <div>\r\n <footer>\r\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'footer'): context['self'].footer(**pageargs) __M_writer(' \r\n </footer>\r\n </div>\r\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\r\n \r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n \r\n <title>homepage</title>\r\n \r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n\r\n <!-- Latest compiled and minified CSS (BOOTSTRAP) -->\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\r\n\r\n <!-- Latest compiled and minified JavaScript -->\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\r\n\r\n' ) __M_writer( ' <link rel="icon" type="image/icon" href="/static/homepage/media/favicon.ico" />\r\n\r\n \r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer('\r\n \r\n </head>\r\n <body>\r\n \r\n') __M_writer( ' <header class="navbar navbar-inverse navbar-fixed-top">\r\n <div class="container-fluid">\r\n <!-- Brand and toggle get grouped for better mobile display -->\r\n <div class="navbar-header">\r\n <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">\r\n <span class="sr-only">Toggle navigation</span>\r\n <span class="icon-bar"></span>\r\n <span class="icon-bar"></span>\r\n <span class="icon-bar"></span>\r\n </button>\r\n <a class="navbar-brand" href="/homepage/index">CHF</a>\r\n </div>\r\n\r\n <!-- Collect the nav links, forms, and other content for toggling -->\r\n <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">\r\n <ul class="nav navbar-nav">\r\n <li><a href="/homepage/users"><span class ="glyphicon glyphicon-user"></span> Users</a></li>\r\n </ul>\r\n\r\n' ) __M_writer( ' <ul class="nav navbar-nav navbar-right">\r\n <li class="dropdown">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="glyphicon glyphicon-user"></span> Taylor Curtis <span class="caret"></span></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href="#">Account</a></li>\r\n <li class="divider"></li>\r\n <li><a href="#">Log Out</a></li>\r\n </ul>\r\n </li>\r\n </ul>\r\n\r\n </div><!-- /.navbar-collapse -->\r\n </div><!-- /.container-fluid -->\r\n </header>\r\n \r\n\r\n' ) __M_writer( ' <div class="container">\r\n <div class="row-fluid">\r\n <div id="content" class="col-xs-12 bg-default">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer( '\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n') __M_writer( ' <footer class = "navbar navbar-inverse navbar-fixed-bottom">\r\n <div class="container">\r\n <p class = "navbar-text pull-left">© 2015 Colonial Heritage Foundation</p>\r\n <p class = "navbar-text pull-right">Terms of Use | Privacy</p>\r\n </div>\r\n </footer>\r\n \r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n \r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) self = context.get('self', UNDEFINED) request = context.get('request', UNDEFINED) user = context.get('user', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <div id="background">\r\n <head>\r\n \r\n <title>Account</title>\r\n \r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\r\n <link rel="icon" type="image/png" href="/static/homepage/media/icon.png">\r\n \r\n\r\n\r\n \r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n \r\n </head>\r\n <body>\r\n <header>\r\n <div style="float: left; padding-left: 20px">\r\n <h4>\r\n' ) if request.user.is_authenticated(): __M_writer(' <a href="/Account/index">Welcome ') __M_writer(str(user.get_username())) __M_writer( '</a><br><br>\r\n <a href="/login.logout_view" class="btn btn-primary" style="float: left;" >Logout</a>\r\n' ) else: __M_writer( ' <a href="/login/" class="btn btn-primary">Login</a>\r\n' ) __M_writer( ' </h4> \r\n </div> \r\n Colonial Heritage Foundation \r\n <div style="float: right; padding-right: 30px">\r\n <span> \r\n <h6>\r\n <form>\r\n <span class="glyphicon glyphicon-search" aria-hidden="true"></span> <input type="text" name="search">\r\n </form>\r\n </h6>\r\n </span> \r\n </header>\r\n <nav class="navbar navbar-inverse navbar-static-top nav-bar">\r\n <div class="container">\r\n <a href="/users/">Users</a>\r\n <a href="/items/">Items</a>\r\n <a href="/products/">Products</a>\r\n <a href="/areas/">Areas</a>\r\n <a href="/phones/">Phone</a>\r\n <a href="/photographable/">Photographable Thing</a>\r\n </div>\r\n </nav>\r\n <div class="container-fluid">\r\n <div id="Left" class="col-md-2">\r\n <h3>\r\n <a href="/index">Home</a><br><br>\r\n <a href="/terms">Terms</a><br><br>\r\n <a href="/about">About Us</a><br><br>\r\n <a href="/contact">Contact Us</a>\r\n <h3>\r\n </div>\r\n <div id="Center" class="col-md-8">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer( '\r\n </div>\r\n <div id="Right" class="col-md-2">\r\n <div class="btn-group-vertical" role="group" style="float: right; padding-top: 50px">\r\n <a href="/users/" class="btn btn-danger">Users</a>\r\n <a href="/items/" class="btn btn-danger">Items</a>\r\n <a href="/products/" class="btn btn-danger">Products</a>\r\n <a href="/areas/" class="btn btn-danger">Areas</a>\r\n <a href="/phones/" class="btn btn-danger">Phone</a>\r\n <a href="/photographable/" class="btn btn-danger">Photographable Thing</a>\r\n </div>\r\n </div>\r\n </div>\r\n <footer>\r\n <div id="Footer">\r\n Copyright 2015\r\n <link rel="icon" type="image/x-icon" href="favicon.ico" />\r\n </div>\r\n </footer>\r\n </body> \r\n</html>' ) return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) def left(): return render_left(context._locals(__M_locals)) def content(): return render_content(context._locals(__M_locals)) def header(): return render_header(context._locals(__M_locals)) self = context.get('self', UNDEFINED) def footer(): return render_footer(context._locals(__M_locals)) request = context.get('request', UNDEFINED) STATIC_URL = context.get('STATIC_URL', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\n\n\n\n<!DOCTYPE html>\n<html>\n<meta charset="UTF-8">\n<meta name="description" content="Colonial heritage page website, store and information pages">\n<meta name="keywords" content="Colonial,Heritage,Foundation,Utah,Historical,Reenactment,History,enrichment,generations">\n<head>\n\n <title>Colonial Heritage Foundation; Preserving History</title>\n\n') __M_writer(' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\n <script src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/jquery.form.js"></script>\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\n <script src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/jquery.loadmodal.js"></script>\n <link rel="icon" type="image/x-icon"\n href="http://fc07.deviantart.net/fs70/f/2012/185/5/f/triforce_icon_free_to_use_by_kittyzelda64-d560tnh.png"/>\n\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\n\n</head>\n\n\n<body>\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'header'): context['self'].header(**pageargs) __M_writer('\n\n<br>\n<br>\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'left'): context['self'].left(**pageargs) __M_writer('\n<div class="container-fluid">\n <div id="center" class="col-md-8">\n\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\n</div>\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'footer'): context['self'].footer(**pageargs) __M_writer('\n') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\n\n<div class="modal fade" id="login_dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title" id="myModalLabel">Modal title</h4>\n </div>\n <div class="modal-body">\n ...\n </div>\n <div class="modal-footer">\n\n </div>\n </div>\n </div>\n</div>\n\n</body>\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) self = context.get('self', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) def left(): return render_left(context._locals(__M_locals)) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def top(): return render_top(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n \r\n <title>Colonial Heritage Foundation</title>\r\n \r\n') __M_writer(' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">\r\n <link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">\r\n <script src="//code.jquery.com/jquery-1.10.2.js"></script>\r\n <script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>\r\n <link rel="stylesheet" href="/resources/demos/style.css">\r\n <script src="') __M_writer(str(STATIC_URL)) __M_writer('homepage/scripts/script.js/"></script>\r\n\r\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\r\n \r\n </head>\r\n <body>\r\n \r\n <header>\r\n <img src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/header.jpg" width="100%">\r\n </header> \r\n\r\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'top'): context['self'].top(**pageargs) __M_writer('\r\n \r\n\r\n\r\n\r\n\r\n \r\n\r\n<!--\r\n<nav class="navbar navbar-default">\r\n <div class="container-fluid">\r\n <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">\r\n <ul class="nav navbar-nav">\r\n <li><a href="index">Home</a></li>\r\n <li><a href="#">About</a></li>\r\n <li><a href="#">Gallery</a></li>\r\n <li><a href="#">Products</a></li>\r\n <li><a href="#">Products</a></li>\r\n </ul>\r\n <ul class="nav navbar-nav navbar-right">\r\n </li>\r\n <form class="navbar-form navbar-right" role="search">\r\n <div class="form-group">\r\n <input type="text" class="form-control" placeholder="Search">\r\n </div>\r\n <button type="submit" class="btn btn-default">Submit</button>\r\n </form>\r\n </ul>\r\n </div>\r\n </div>\r\n</nav>\r\n-->\r\n \r\n <div class="wrapper">\r\n\r\n <div class="row">\r\n\r\n <div class="col-sm-2">\r\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'left'): context['self'].left(**pageargs) __M_writer('\r\n </div>\r\n\r\n <div class="col-sm-10">\r\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer(' \r\n </div>\r\n\r\n </div>\r\n\r\n <div class="push"></div>\r\n\r\n </div>\r\n\r\n\r\n <footer>\r\n <div class="footer">\r\n <div class="row">\r\n <div class="col-md-1"></div>\r\n <div class="col-md-3">\r\n <ul>\r\n <li style="margin-top:5px; margin-left:-50px;"><img src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/chflogo.png"></li>\r\n <li>©2015 Colonial Heritage, Inc. All rights reserved.</li>\r\n </ul>\r\n </div>\r\n <div class="col-md-2">\r\n <ul>\r\n <li class="footer-title">About</li>\r\n <li><a href="#">About</li>\r\n <li><a href="#">Premium</a></li>\r\n <li><a href="#">Privacy Policy</a></li>\r\n <li><a href="#">Terms and Conditions</a></li>\r\n </ul>\r\n </div>\r\n <div class="col-md-2">\r\n <ul>\r\n <li class="footer-title">Follow</li>\r\n <li><a href="#">Facebook</a></li>\r\n <li><a href="#">Twitter</a></li>\r\n <li><a href="#">Youtube</a></li>\r\n <li><a href="#">Blog</a></li>\r\n </ul>\r\n </div>\r\n <div class="col-md-2">\r\n <ul>\r\n <li class="footer-title">Help</li>\r\n <li><a href="#">Support</a></li>\r\n </ul>\r\n </div> \r\n <div class="col-md-2">\r\n <ul>\r\n <li class="footer-title">More</li>\r\n <li><a href="signup.php">Sign Up</a></li>\r\n <li><a href="login.php">Log In</a></li>\r\n <li><a href="#">Careers</a></li>\r\n <li><a href="#">Developers</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n <p class="workaround">a</p>\r\n </footer>\r\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\r\n \r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) self = context.get('self', UNDEFINED) request = context.get('request', UNDEFINED) def footlinks(): return render_footlinks(context._locals(__M_locals)) user = context.get('user', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) def userheadlinks(): return render_userheadlinks(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\n\n<!DOCTYPE html>\n<html>\n\n <head>\n <meta charset="UTF-8">\n <title>homepage</title>\n\n') __M_writer(' <!-- Latest compiled and minified CSS -->\n\n <link href=\'http://fonts.googleapis.com/css?family=Lato:100,300,400,300italic\' rel=\'stylesheet\' type=\'text/css\'>\n <link rel="stylesheet" type="text/css" href="http://www.shieldui.com/shared/components/latest/css/dark-bootstrap/all.min.css">\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">\n <link rel="stylesheet" href="http://www.shieldui.com/shared/components/latest/css/shieldui-all.min.css">\n <link rel="stylesheet" href="http://www.shieldui.com/shared/components/latest/css/light-bootstrap/all.min.css">\n <link rel="stylesheet" type="text/css" href="http://www.shieldui.com/shared/components/latest/css/dark-bootstrap/all.min.css">\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'userheadlinks'): context['self'].userheadlinks(**pageargs) __M_writer('\n\n <!-- Latest compiled and minified JavaScript -->\n\n <script src="//code.jquery.com/jquery-1.11.2.min.js"></script>\n <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>\n <script src="/static/base/media/jquery.form.js"></script>\n <script src="/static/base/media/jquery.loadmodal.js"></script>\n\n <meta name="viewport" content="width=device-width, initial-scale=1">\n ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\n') __M_writer('\n\n </head>\n <body>\n <div class="navbar">\n <!-- Static navbar -->\n <div class=\'navbar navbar-inverse navbar-inner\'>\n <div class=\'container-fluid\'>\n <div class="navbar-header">\n\n <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">\n <span class="sr-only">Toggle navigation</span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n </button>\n <a class="navbar-brand" href="/homepage/index/" style="\n padding-top: 5px;\n width: 430px;\n height: 50px;\n padding-bottom: -10;\n margin-top: -10;\n border-top-width: 10px;\n padding-bottom: 0px;\n ">\n <img class="nav-logo" src="/static/homepage/media/newLogowhitethe.svg"/>\n\n </a>\n </div>\n <div id="navbar" class="navbar-collapse collapse">\n <ul class="nav navbar-nav">\n <li><a href="/about/">About</a>\n </li>\n <li><a href="/festivals/">Festivals</a>\n </li>\n <li><a href="/rentals/">Rentals</a>\n </li>\n <li>\n <a href="/shop/items/">Store</a>\n </li>\n <li>\n <a href="/administration/users/">Users</a>\n </li>\n </ul>\n <ul class="nav navbar-nav navbar-right navbar-user">\n <ul class="nav navbar-nav navbar-right navbar-user">\n') if request.user.is_authenticated(): __M_writer(' <li class="dropdown user-dropdown">\n <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i>') __M_writer(str( user.get_short_name() )) __M_writer('<b class="caret"></b></a>\n <ul class="dropdown-menu">\n <li><a href="/shop/account/"><i class="fa fa-user"></i> Profile</a>\n </li>\n <li><a href="#"><i class="fa fa-gear"></i> Settings</a>\n </li>\n <li class="divider"></li>\n <li><a href="/administration/users.logout_view/"><i class="fa fa-power-off"></i> Log Out</a>\n </li>\n\n </ul>\n </li>\n') else: __M_writer(' <li class="dropdown user-dropdown">\n <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> Login or Signup<b class="caret"></b></a>\n <ul class="dropdown-menu">\n <li>\n <a href="#" id="show_login_dialog">Login</a>\n </li>\n\n <li>\n <a href="/homepage/signup/">Signup</a>\n </li>\n\n </ul>\n') __M_writer('\n\n\n </ul>\n </li>\n <li class="divider-vertical"></li>\n </ul>\n </ul>\n </div>\n <!--/.nav-collapse -->\n </div>\n </div>\n </div>\n <div class="content">\n\n <div class="modal fade" id="login_dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title" id="myModalLabel">Modal title</h4>\n </div>\n <div class="modal-body">\n ...\n </div>\n <div class="modal-footer">\n <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>\n <button type="button" class="btn btn-primary">Save changes</button>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n <div class="content">\n\n <div class="modal fade" id="login_dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title" id="myModalLabel">Modal title</h4>\n </div>\n <div class="modal-body">\n ...\n </div>\n <div class="modal-footer">\n <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>\n <button type="button" class="btn btn-primary">Save changes</button>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\n\n\n\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'footlinks'): context['self'].footlinks(**pageargs) __M_writer('\n ') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\n </body>\n\n</html>\n') return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) def left(): return render_left(context._locals(__M_locals)) def footer(): return render_footer(context._locals(__M_locals)) def content(): return render_content(context._locals(__M_locals)) def header(): return render_header(context._locals(__M_locals)) self = context.get('self', UNDEFINED) request = context.get('request', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\n\n<!DOCTYPE html>\n<html>\n<meta charset="UTF-8">\n<head>\n\n <title>homepage</title>\n\n') __M_writer(' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\n <link rel="icon" type="image/x-icon"\n href="http://fc07.deviantart.net/fs70/f/2012/185/5/f/triforce_icon_free_to_use_by_kittyzelda64-d560tnh.png"/>\n\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\n\n</head>\n\n\n<body>\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'header'): context['self'].header(**pageargs) __M_writer('\n\n</div>\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'left'): context['self'].left(**pageargs) __M_writer('\n<div class="container-fluid">\n <div id="center" class="col-md-8">\n\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\n</div>\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'footer'): context['self'].footer(**pageargs) __M_writer('\n') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\n\n</body>\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) STATIC_URL = context.get('STATIC_URL', UNDEFINED) self = context.get('self', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) request = context.get('request', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\n\n<!DOCTYPE html>\n<html>\n <meta charset="UTF-8">\n <head>\n <title>Steven\'s Final</title>\n' ) __M_writer( ' <script src="/static/homepage/media/jquery-1.11.2.min.js"></script>\n <script src="/static/homepage/media/bootstrap.min.js"></script>\n <link rel="stylesheet" type="text/css" href="/static/homepage/media/bootstrap.min.css" />\n \n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\n \n </head>\n <body>\n <header>\n <h1>Steven\'s Final</h1>\n <img src="' ) __M_writer(str(STATIC_URL)) __M_writer('homepage/media/Obama.jpg">\n </header>\n \n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer(' \n\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\n \n </body>\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) def content(): return render_content(context._locals(__M_locals)) STATIC_URL = context.get('STATIC_URL', UNDEFINED) request = context.get('request', UNDEFINED) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\n\n<!DOCTYPE html>\n<html>\n <meta charset="UTF-8">\n <head>\n <title>homepage</title>\n \n') __M_writer(' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\n <!-- Latest compiled and minified CSS -->\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\n\n <!-- Optional theme -->\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">\n\n <!-- Latest compiled and minified JavaScript -->\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\n\n <script src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/jquery.form.js"></script>\n\n <script src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/jquery.loadmodal.js"></script>\n\n\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\n \n </head>\n <body>\n \n<header>\n Colonial Heritage Foundation\n </div>\n</header>\n\n <nav class="navbar navbar-inverse">\n <p class="navbar-text"></p>\n\n <div name ="links" class=" nav nav-pills nav-justified">\n <div class ="pull-right">\n') if request.user.is_authenticated(): __M_writer('\n <li><button id="show_logout_dialog" class ="btn btn-danger">Logout</button>\n <button id="show_cart_dialog" class ="btn btn-success">Shopping Cart</button>\n') else: __M_writer(' <li><button id="show_login_dialog" class ="btn btn-success">Login</button>\n <a href ="/homepage/account.create/" class="btn btn-warning">Create New Account</a></li>\n') __M_writer(' </div>\n </div>\n</nav>\n\n <div class="row">\n <div class="col-md-2" border :2px solid margin="2px">\n <center> <p></p><a href="http://localhost:8000/homepage/index2/">Home Page</a></p>\n <p><a href="http://localhost:8000/homepage/product_catalog/">Product Catalog</a></p>\n <p><a href="http://localhost:8000/homepage/product/">Product Details</a></p>\n <p><a href="http://localhost:8000/homepage/contact/">Contact</a></p>\n <p></p><a href="http://localhost:8000/homepage/about/">About</a></p>\n <p></p><a href="http://localhost:8000/homepage/crud/">Admin Pages</a></p>\n') if request.user.is_authenticated(): __M_writer(' <p><a href="http://localhost:8000/homepage/account/">Account</a></p>\n') __M_writer(' <p><a href="http://localhost:8000/homepage/batchprocess/">Overdue Items</a></p>\n <p><a href="http://localhost:8000/homepage/rentals/">Rental Catalog</a></p>\n <p><a href="http://localhost:8000/homepage/events/">Events</a></p>\n </center>\n\n\n </div>\n <div class="col-md-8">\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\n </div>\n </div>\n\n') __M_writer(' ') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\n \n </body>\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\n\n<!DOCTYPE html>\n<html>\n <meta charset="UTF-8">\n <head>\n \n <title>Lexicity</title>\n \n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"> </script>\n \n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\n \n </head>\n <body>\n \n <header class="top" role="header">\n <div class="container">\n <a href="#" class="navbar-brand pull-left">Lexicity</a>\n <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">\n <span class="glyphicon glyphicon-align-justify"></span>\n </button>\n <nav class="navbar-collapse collapse" role="navigation">\n <ul class="navbar-nav nav">\n <li><a href="/">Home</a></li>\n <li><a href="/about/">About</a></li>\n <li><a href="/video/">Videos</a></li>\n <li><a href="/contact/">Contact</a></li>\n </ul>\n </nav>\n </div>\n </header>\n \n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer( ' \n \n \n <div class="container large-ad">\n <div class="row">\n <div class="col-md-12" style="text-align: center;">\n <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>\n <!-- Banner Test -->\n <ins class="adsbygoogle"\n style="display:inline-block;width:728px;height:90px"\n data-ad-client="ca-pub-4108381177414580"\n data-ad-slot="7367531832"></ins>\n <script>\n (adsbygoogle = window.adsbygoogle || []).push({});\n </script>\n </div>\n </div>\n </div>\n <div class="container mobile-ad">\n <div class="row">\n <div class="col-md-12" style="text-align: center;">\n <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>\n <!-- Language Home Ads -->\n <ins class="adsbygoogle"\n style="display:inline-block;width:320px;height:100px"\n data-ad-client="ca-pub-4108381177414580"\n data-ad-slot="5954517431"></ins>\n <script>\n (adsbygoogle = window.adsbygoogle || []).push({});\n </script>\n </div>\n </div>\n </div>\n \n <div class="bottom">\n <div class="container">\n <div class="row text-center">\n <div class="col-md-4">\n </div>\n <div class="col-md-4">\n <a href="https://www.facebook.com/lexicityonline" target="_blank">\n <img src="/static/homepage/media/New_facebook.png"/>\n </a>\n <a href="https://plus.google.com/+Lexicity" target="_blank">\n <img src="/static/homepage/media/New_googleplus.png"/>\n </a>\n <a href="https://www.twitter.com/lexicityonline" target="_blank">\n <img src="/static/homepage/media/New_twitter.png"/>\n </a>\n <h3>Send us resources <a href="/contact/">here</a>.</h3>\n </div>\n <div class="col-md-4">\n </div>\n </div>\n </div>\n </div>\n \n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\n \n </body>\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) self = context.get('self', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n \r\n <title>Colonial Heritage</title>\r\n \r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">\r\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>\r\n <link rel="icon" type = "image/x-icon" href="http://img.freeflagicons.com/thumb/star_icon/united_states_of_america/united_states_of_america_640.png">\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n \r\n </head>\r\n <body>\r\n <div id="topNav">\r\n\r\n </div>\r\n <div id="wrapper">\r\n\r\n <table>\r\n<!-- BANNER -->\r\n <tbody>\r\n <tr id="banner">\r\n\r\n <td colspan="2">\r\n <h2 id="title">The Colonial Heritage Foundation</h2>\r\n <div id="brBanner">\r\n\r\n <div class="input-group" id="searchBar">\r\n <span class="input-group-btn">\r\n <button class="btn btn-default" type="button">Go!</button>\r\n </span>\r\n <input type="text" class="form-control" placeholder="Search for...">\r\n </div>\r\n\r\n <div id="login">\r\n <button class="btn btn-primary loginBtn" >Login</button>\r\n <a href="#">Create an Account</a>\r\n </div>\r\n\r\n </div>\r\n </td>\r\n\r\n </tr>\r\n\r\n<!-- SIDEBAR -->\r\n\r\n <tr id="middle">\r\n <td id="sidebar">\r\n\r\n <div class="sidebar">\r\n <!-- OLD BOOTSTRAP SIDEBAR\r\n <ul class="nav nav-pills nav-stacked">\r\n <li role="presentation" ><a href="/CHF/index">Home</a></li>\r\n <li role="presentation"><a href="/CHF/about">About</a></li>\r\n <li role="presentation"><a href="/CHF/Contact">Contact</a></li>\r\n <li role="presentation"><a href="/CHF/Terms">Terms</a></li>\r\n </ul>\r\n -->\r\n <ul class="navbar">\r\n <li id="home" class="screenNav" role="presentation" ><a href="#">Home</a></li>\r\n <li id="store" role="presentation"><a href="#">Store</a>\r\n <ul class="subNav">\r\n <li id="sales"><a href="#">Sales</a></li>\r\n <li id="rentals"><a href="#">Rentals</a></li>\r\n </ul>\r\n </li>\r\n <li id="contact" class="screenNav"role="presentation"><a href="#">Contact</a></li>\r\n <li id="terms" role="presentation"><a href="#">Terms</a></li>\r\n </ul>\r\n\r\n\r\n </div>\r\n </td>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<!-- CONTENT -->\r\n\r\n <td id="content">\r\n <div id="homeScreen">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer( '\r\n </div>\r\n <div id="contactScreen">\r\n <p>This is the contact Screen</p>\r\n </div>\r\n </td>\r\n\r\n\r\n\r\n </tr>\r\n\r\n<!-- FOOTER -->\r\n <tr id="footer">\r\n <td colspan="2">\r\n <ul class="footerNav">\r\n <li id="aboutBtn" role="presentation"><a href="/CHF/about">About</a></li>\r\n <li id="contactBtn" role="presentation"><a href="/CHF/Contact">Contact</a></li>\r\n <li id="termsBtn" role="presentation"><a href="/CHF/Terms">Terms</a></li>\r\n </ul>\r\n\r\n\r\n\r\n\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n<!-- LOGIN FORM -->\r\n<div id="loginPage">\r\n <span class="glyphicon glyphicon-remove remove-icon"></span>\r\n <h2>Welcome</h2>\r\n <div id="formSecion">\r\n <form id="loginForm" action="#" method="POST">\r\n <p>Username: <input type="text"/></p>\r\n <p>Password:  <input type="password"/></p>\r\n <input type="submit" id="loginSubmit" class="btn btn-success"value="Login">\r\n </form>\r\n <a href="#" style="color:#0f51ac;margin-top:20px; font-size:10px;">Forgot Password?</a>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n\r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\n\n<!DOCTYPE html>\n<html>\n\n <meta name="description" content="The colonial heritage foundation is a foundation whose main goal is to enrich the american people with the great history of this county">\n <meta name="keywords" content="colonial, heritage, foundation, festival, fun, free, Utah">\n <meta charset="UTF-8">\n <head>\n \n <title>Colonial Heritage Foundation</title>\n \n') __M_writer(' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\n <!-- Latest compiled and minified CSS -->\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\n\n <script src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/jquery.form.js"></script>\n <script src="') __M_writer(str( STATIC_URL )) __M_writer('homepage/media/jquery.loadmodal.js"></script>\n\n <!-- Optional theme -->\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">\n\n <!-- Latest compiled and minified JavaScript -->\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\n\n <link rel="icon" type="image/ico" href="/static/homepage/media/favicon.ico">\n \n') __M_writer(' ') __M_writer(str( static_renderer.get_template_css(request, context) )) __M_writer('\n \n </head>\n <body>\n\n <header>\n <div id="headerImage"><img src="/static/homepage/media/Meet_history.jpg" class="img-responsive" alt="Responsive image"></div>\n <div class="headerTitle"> The Colonial Heritage Foundation<div id="subHeaderTitle"><h4>"Meet History Face to Face"</h4></div></div>\n <div id="login">\n\n <div class="pull-right">\n') if request.user.is_authenticated(): __M_writer(' Welcome, ') __M_writer(str( request.user.get_full_name() )) __M_writer('\n <a href="http://localhost:8000/homepage/logout"><button type="button" class="btn btn-default"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> Logout</button></a>\n') else: __M_writer(' <button id="show_login_dialog" class="btn btn-success">Login Here</button>\n') __M_writer(' </div>\n\n </header>\n \n\n <div class="row">\n <div class="col-md-2" id="sideBar">\n <p><a href="/homepage/index/" id="sideBar">Home</a><span class="glyphicon glyphicon-home" aria-hidden="true"></span></p>\n <p><a href="/homepage/events.upcoming/" id="sideBar">Upcoming Events</a>\n <p><a href="/homepage/productCatalog/" id="sideBar">Store</a>\n <p><a href="/homepage/adminCrud/" id="sideBar">Admin Pages</a>\n\n </div>\n <div class="col-md-8">\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer(' \n </div>\n </div>\n\n\n\n <footer>\n CJ Powers - Group 2-4\n </footer>\n\n\n \n\n\n\n \n') __M_writer(' ') __M_writer(str( static_renderer.get_template_js(request, context) )) __M_writer('\n \n </body>\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) self = context.get('self', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n \r\n <title>testapp</title>\r\n \r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n \r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n \r\n </head>\r\n <body>\r\n \r\n <ul class="nav nav-tabs nav-justified">\r\n <li>\r\n <a href="homepage/index">Default Datetime</a>\r\n </li>\r\n <li>\r\n <a href="homepage/index/%H">Current Hour Datetime</a>\r\n </li>\r\n <li>\r\n <a href="homepage/index/%B,%20%Y">Month Year Datetime</a>\r\n </li>\r\n </ul>\r\n \r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer(' \r\n \r\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n \r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) def content(): return render_content(context._locals(__M_locals)) request = context.get('request', UNDEFINED) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n \r\n <title>homepage</title>\r\n \r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha256-KXn5puMvxCw+dAYznun+drMdG1IFl3agK0p/pqT9KAo= sha512-2e8qq0ETcfWRI4HJBzQiA3UoyFk6tbNyG+qSaIBZLyW9Xf3sWZHN/lxe9fTh1U45DpPf07yj94KsUHHWe4Yk1A==" crossorigin="anonymous"></script>\r\n <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" crossorigin="anonymous">\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n \r\n </head>\r\n <body>\r\n \r\n <ul class="nav nav-tabs nav-justified">\r\n <li>\r\n <a href="/index">Default Datetime</a>\r\n </li>\r\n <li>\r\n <a href="/index/%H">Current Hour Datetime</a>\r\n </li>\r\n <li>\r\n <a href="/index/%B,%20%Y">Month Year Datetime</a>\r\n </li>\r\n </ul>\r\n\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer(' \r\n \r\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n \r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) def maintenance(): return render_maintenance(context._locals(__M_locals)) def navbar(): return render_navbar(context._locals(__M_locals)) def top(): return render_top(context._locals(__M_locals)) def title(): return render_title(context._locals(__M_locals)) def content_right(): return render_content_right(context._locals(__M_locals)) def header(): return render_header(context._locals(__M_locals)) self = context.get('self', UNDEFINED) def content_left(): return render_content_left(context._locals(__M_locals)) def username(): return render_username(context._locals(__M_locals)) def footer(): return render_footer(context._locals(__M_locals)) def main_body(): return render_main_body(context._locals(__M_locals)) request = context.get('request', UNDEFINED) __M_writer = context.writer() # SOURCE LINE 2 __M_writer('\n') # SOURCE LINE 4 __M_writer('\n') # SOURCE LINE 5 __M_writer('\n') # SOURCE LINE 6 static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\n\n<!DOCTYPE html>\n<html>\n <meta charset="UTF-8">\n <head>\n\n <link href="' ) # SOURCE LINE 13 __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/Images/favicon.ico" rel="shortcut icon" type="image/x-icon" />\n <title>' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'title'): context['self'].title(**pageargs) # SOURCE LINE 14 __M_writer('</title>\n \n') # SOURCE LINE 17 __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\n <script src="' ) # SOURCE LINE 18 __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.loadmodal.js"></script>\n <script src="' ) # SOURCE LINE 19 __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.form.min.js"></script>\n <script src="' ) # SOURCE LINE 20 __M_writer(str(STATIC_URL)) __M_writer('homepage/media/moment.js"></script>\n <script src="') # SOURCE LINE 21 __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/bootstrap-datetimepicker.min.js"></script>\n\n\n <link rel="stylesheet" href="' ) # SOURCE LINE 24 __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/Bootstrap3/css/bootstrap.min.css" />\n <link rel="stylesheet" href="' ) # SOURCE LINE 25 __M_writer(str(STATIC_URL)) __M_writer('homepage/media/bootstrap-datetimepicker.min.css" />\n \n') # SOURCE LINE 28 __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer('\n \n </head>\n\n <body>\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'main_body'): context['self'].main_body(**pageargs) # SOURCE LINE 84 __M_writer( '\n\n <footer id="footer" style="text-align:center">\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'footer'): context['self'].footer(**pageargs) # SOURCE LINE 89 __M_writer('\n </footer>\n\n <script src="') # SOURCE LINE 92 __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/Bootstrap3/js/bootstrap.min.js"></script>\n\n') # SOURCE LINE 95 __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\n \n </body>\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) def top_banner(): return render_top_banner(context._locals(__M_locals)) request = context.get('request', UNDEFINED) def contents(): return render_contents(context._locals(__M_locals)) user = context.get('user', UNDEFINED) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def title(): return render_title(context._locals(__M_locals)) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n\r\n <head>\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'title'): context['self'].title(**pageargs) __M_writer('\r\n \r\n') __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <!-- Latest compiled and minified CSS -->\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">\r\n <!-- Latest compiled and minified JavaScript -->\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>\r\n <script src=' ) __M_writer(str(STATIC_URL)) __M_writer('home/media/jquery.form.js></script>\r\n <script src=') __M_writer(str(STATIC_URL)) __M_writer('home/media/jquery.loadmodal.js></script>\r\n \r\n \r\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer('\r\n \r\n </head>\r\n\r\n\r\n <!-- <body background="') __M_writer(str(STATIC_URL)) __M_writer('home/media/paper2.jpg"> -->\r\n\r\n \r\n \r\n') if request.user.is_authenticated(): __M_writer( ' <div class="login_button" style="white-space:nowrap;">\r\n <label class="welcome label label-success">Welcome, ' ) __M_writer(str(user.get_username())) __M_writer( '</label>\r\n <a href="/user/login.logout_view/" class="btn btn-primary">Sign Out</a>\r\n <button class="show_button btn btn btn-warning">Show Cart</button>\r\n </div>\r\n' ) else: __M_writer( ' <div class="login_button" style="white-space:nowrap;">\r\n <label class="welcome label label-danger">Welcome, Guest</label>\r\n <!-- <a href="/user/login" class="btn btn-primary">Sign In</a> -->\r\n <button class="show_login_dialog btn btn-primary">Sign In</button>\r\n <a href="/password_reset/" class="btn btn-default">Forgot Password?</a>\r\n </div>\r\n\r\n' ) __M_writer( '\r\n\r\n\r\n <header background=\'none\'>\r\n <img class="headertitle" src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'home/media/colonialheritage.png" alt="The Colonial Heritage Foundation" >\r\n </header>\r\n \r\n \r\n <body>\r\n <div class="container-fluid"> \r\n <!--<div class="row">\r\n <div class="col-xs-12">\r\n <img class="headerphoto" src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'home/media/sign.jpg" alt="The Signing" > \r\n </div>\r\n </div> -->\r\n\r\n <div class="row">\r\n <nav id="myNavbar" role="navigation">\r\n <!-- Brand and toggle get grouped for better mobile display -->\r\n <div class="container-nav">\r\n\r\n' ) if request.user.has_perm('home.agent'): __M_writer( ' <!-- If the person is not a guest -->\r\n <div class="collapse navbar-collapse" id="navbarCollapse">\r\n <ul class="nav nav-justified">\r\n <li><a href="http://localhost:8000/home/index" target="">Home</a></li>\r\n <li><a href="http://localhost:8000/user/user" target="">Accounts</a></li>\r\n <li><a href="http://localhost:8000/event/events" target="">Events</a></li>\r\n <li><a href="http://localhost:8000/home/items" target="">Inventory</a></li>\r\n <li><a href="http://localhost:8000/product/products" target="">Products</a></li>\r\n <li><a href="http://localhost:8000/rental/rentals" target="">Rentals</a></li>\r\n <li><a href="http://localhost:8000/home/tools" target="">Tools</a></li>\r\n <li><a href="http://localhost:8000/home/about" target="">About Us</a></li>\r\n </ul>\r\n </div> \r\n\r\n' ) elif request.user.is_authenticated(): __M_writer( ' <!--Guest-->\r\n <div class="collapse navbar-collapse" id="navbarCollapse">\r\n <ul class="nav nav-justified">\r\n <li><a href="http://localhost:8000/home/index" target="">Home</a></li>\r\n <li><a href="http://localhost:8000/user/user" target="">My Account</a></li>\r\n <li><a href="http://localhost:8000/rental/rentals.view" target="">My Rentals</a></li>\r\n <li><a href="http://localhost:8000/home/orders" target="">My Orders</a></li>\r\n <li><a href="http://localhost:8000/event/events" target="">Events</a></li>\r\n <li><a href="http://localhost:8000/product/products" target="">Products</a></li>\r\n\r\n <li><a href="http://localhost:8000/home/about" target="">About Us</a></li>\r\n </ul>\r\n </div>\r\n\r\n' ) else: __M_writer( ' <!--Guest-->\r\n <div class="collapse navbar-collapse" id="navbarCollapse">\r\n <ul class="nav nav-justified">\r\n <li><a href="http://localhost:8000/home/index" target="">Home</a></li>\r\n <li><a href="http://localhost:8000/event/events" target="">Events</a></li>\r\n <li><a href="http://localhost:8000/product/products" target="">Products</a></li>\r\n <li><a href="http://localhost:8000/home/about" target="">About Us</a></li>\r\n <li><a class="show_join_dialog" target="">Join Us</a></li>\r\n <!-- <li><a class="show_join_dialog" href="http://localhost:8000/user/join" target="">Join Us</a></li> -->\r\n \r\n </ul>\r\n </div>\r\n\r\n' ) __M_writer( ' \r\n \r\n </div>\r\n </nav>\r\n </div>\r\n </div>\r\n\r\n <hr>\r\n\r\n <div class="container-fluid">\r\n\r\n <div class="row">\r\n <div class="col-xs-12">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'top_banner'): context['self'].top_banner(**pageargs) __M_writer( ' \r\n </div>\r\n </div>\r\n\r\n <div class="row">\r\n <div class="col-xs-12">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'contents'): context['self'].contents(**pageargs) __M_writer( ' \r\n </div>\r\n </div>\r\n \r\n <hr>\r\n\r\n <div class="row">\r\n <div class="col-xs-12">\r\n <footer>\r\n <p>© Copyright 2015 dwb</p>\r\n </footer>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n \r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) user = context.get('user', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) def header(): return render_header(context._locals(__M_locals)) STATIC_URL = context.get('STATIC_URL', UNDEFINED) self = context.get('self', UNDEFINED) def left(): return render_left(context._locals(__M_locals)) request = context.get('request', UNDEFINED) def right(): return render_right(context._locals(__M_locals)) def footer(): return render_footer(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n \r\n <title>Colonial Heritage Foundation</title>\r\n \r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.form.min.js"></script>\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>\r\n <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-formhelpers/2.3.0/js/bootstrap-formhelpers.min.js"></script>\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/scripts/login.js"></script>\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">\r\n <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">\r\n <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-formhelpers/2.3.0/css/bootstrap-formhelpers.min.css">\r\n\r\n' ) __M_writer(' <link rel="stylesheet" href="') __M_writer(str(STATIC_URL)) __M_writer( 'homepage/styles/zachBootstrap.css">\r\n <link rel="shortcut icon" href="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/favicon.ico" type="image/x-icon" />\r\n\r\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n \r\n </head>\r\n\r\n\r\n\r\n\r\n <body>\r\n <header class="col-md-12">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'header'): context['self'].header(**pageargs) __M_writer( '\r\n </header>\r\n\r\n <div class="container-fluid">\r\n <div class="row">\r\n <div class="col-md-2">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'left'): context['self'].left(**pageargs) __M_writer( '\r\n </div>\r\n\r\n\r\n <div class="col-md-8">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer( '\r\n </div>\r\n\r\n <div class="col-md-2">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'right'): context['self'].right(**pageargs) __M_writer( '\r\n </div>\r\n </div>\r\n <div class="row">\r\n <div class="col-md-2">\r\n <p></p>\r\n </div>\r\n <footer class="col-md-8 text-center center-block">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'footer'): context['self'].footer(**pageargs) __M_writer( '\r\n </footer>\r\n <div class="col-md-2">\r\n <p></p>\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n </div>\r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) def content(): return render_content(context._locals(__M_locals)) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def jumbotron(): return render_jumbotron(context._locals(__M_locals)) self = context.get('self', UNDEFINED) request = context.get('request', UNDEFINED) def content_center(): return render_content_center(context._locals(__M_locals)) def content_right(): return render_content_right(context._locals(__M_locals)) def content_left(): return render_content_left(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <meta charset="UTF-8">\r\n <meta name="Colonial Heritage Foundation" content="Information about Colonial Heritage Foundation, and the events from it. It is celebrating the colonies of the United States of America.">\r\n <head>\r\n\r\n <title>homepage</title>\r\n\r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n\r\n <!-- Latest compiled and minified CSS (BOOTSTRAP) -->\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\r\n\r\n <!-- Latest compiled and minified JavaScript -->\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\r\n\r\n <!-- add a jquery form plug in for ajax calls - http://malsup.com/jquery/form/#download -->\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.form.js"></script>\r\n\r\n <!-- add a jquery form plug in for modals - https://github.com/doconix/jquery.loadmodal.js/blob/master/jquery.loadmodal.js -->\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.loadmodal.js"></script>\r\n\r\n <!--Favicon -->\r\n <link rel="icon" type="image/icon" href="/static/homepage/media/favicon.ico" />\r\n\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer('\r\n\r\n </head>\r\n <body>\r\n\r\n') __M_writer( ' <header class="navbar navbar-inverse navbar-fixed-top">\r\n <div class="container-fluid">\r\n <!-- Brand and toggle get grouped for better mobile display -->\r\n <div class="navbar-header">\r\n <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">\r\n <span class="sr-only">Toggle navigation</span>\r\n <span class="icon-bar"></span>\r\n <span class="icon-bar"></span>\r\n <span class="icon-bar"></span>\r\n </button>\r\n <a class="navbar-brand" href="/homepage/index">CHF</a>\r\n </div>\r\n\r\n <!-- Collect the nav links, forms, and other content for toggling -->\r\n <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">\r\n <ul class="nav navbar-nav">\r\n <li class="dropdown">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class ="glyphicon glyphicon-menu-hamburger"></span> Manage <span class ="caret"></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href="/homepage/users"><span class ="glyphicon glyphicon-user"></span> Users</a></li>\r\n <li><a href="/homepage/events"><span class ="glyphicon glyphicon-calendar"></span> Events</a></li>\r\n <li><a href="/homepage/areas"><span class ="glyphicon glyphicon-globe"></span> Areas</a></li>\r\n <li><a href="/homepage/orders"><span class ="glyphicon glyphicon-file"></span> Orders</a></li>\r\n <li><a href="/homepage/products"><span class ="glyphicon glyphicon-list"></span> Products</a></li>\r\n <li><a href="/homepage/rentals/"><span class ="glyphicon glyphicon-transfer"></span> Rentals</a></li>\r\n </ul>\r\n </li>\r\n <li><a href="/homepage/rentalproductlist/">Rentals</a></li>\r\n <li class="dropdown">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class ="glyphicon glyphicon-usd"></span> Shop <span class ="caret"></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href="/homepage/productlist/">Mass Produced Products</a></li>\r\n <li><a href="/homepage/artisanproductlist/">Artisan Products</a></li>\r\n </ul>\r\n </li>\r\n </ul>\r\n\r\n' ) if request.user.is_authenticated(): __M_writer( ' <ul class="nav navbar-nav navbar-right">\r\n <li><a href="/homepage/shoppingcart"><span class ="glyphicon glyphicon-shopping-cart"></span></a></li>\r\n <li class="dropdown">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="glyphicon glyphicon-user"></span> ' ) __M_writer(str(request.user.get_full_name())) __M_writer( ' <span class="caret"></span></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href="/homepage/accounts/">My Account</a></li>\r\n <li class="divider"></li>\r\n <li><a href="/homepage/logout">Log Out</a></li>\r\n </ul>\r\n </li>\r\n </ul>\r\n' ) else: __M_writer( ' <ul class="nav navbar-nav navbar-right">\r\n <li class="dropdown">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="glyphicon glyphicon-user"></span> My Account <span class="caret"></span></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href="/homepage/users.newaccount/" class="btn btn-block btn-link">Create Account</a></li>\r\n <li class="divider"></li>\r\n <li><button id="show_login_dialog" class="btn btn-block btn-link">Login</button></li>\r\n </ul>\r\n </li>\r\n </ul>\r\n' ) __M_writer( '\r\n\r\n </div><!-- /.navbar-collapse -->\r\n </div><!-- /.container-fluid -->\r\n </header>\r\n\r\n' ) __M_writer( ' <div class = "jumbotron">\r\n <div class = "container-fluid">\r\n <div class="row">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'jumbotron'): context['self'].jumbotron(**pageargs) __M_writer('\r\n </div>\r\n </div>\r\n </div>\r\n\r\n') __M_writer( ' <div class="container">\r\n <div class="row-fluid">\r\n <div class="col-xs-12 bg-default">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\r\n </div>\r\n </div>\r\n </div>\r\n\r\n') __M_writer( ' <div class="container">\r\n <div class="row-fluid">\r\n <div class="col-xs-4 bg-default">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content_left'): context['self'].content_left(**pageargs) __M_writer( '\r\n </div>\r\n <div class="col-xs-4 bg-default">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content_center'): context['self'].content_center(**pageargs) __M_writer( '\r\n </div>\r\n <div class="col-xs-4 bg-default">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content_right'): context['self'].content_right(**pageargs) __M_writer('\r\n </div>\r\n </div>\r\n </div>\r\n\r\n') __M_writer( ' <footer class = "navbar navbar-inverse navbar-fixed-bottom">\r\n <div class="container">\r\n <p class = "navbar-text pull-left">© 2015 Colonial Heritage Foundation</p>\r\n <p class = "navbar-text pull-right">Terms of Use | Privacy</p>\r\n </div>\r\n </footer>\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n\r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) self = context.get('self', UNDEFINED) def left_aside(): return render_left_aside(context._locals(__M_locals)) request = context.get('request', UNDEFINED) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def title(): return render_title(context._locals(__M_locals)) def content_head(): return render_content_head(context._locals(__M_locals)) def right_aside(): return render_right_aside(context._locals(__M_locals)) def main(): return render_main(context._locals(__M_locals)) def nav(): return render_nav(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'title'): context['self'].title(**pageargs) __M_writer('\r\n\r\n') __M_writer( ' <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/loadmodal.js"></script>\r\n <script src="') __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/ajaxform.js"></script>\r\n <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">\r\n <link rel="icon" href="' ) __M_writer(str(STATIC_URL)) __M_writer('homepage/media/gengar.jpg" type="image/x-icon">\r\n \r\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n \r\n </head>\r\n <body>\r\n <header>\r\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'nav'): context['self'].nav(**pageargs) __M_writer( '\r\n <div id="maintenance" class="text-center">\r\n </div>\r\n </header>\r\n\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content_head'): context['self'].content_head(**pageargs) __M_writer('\r\n\r\n <div class="container">\r\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'left_aside'): context['self'].left_aside(**pageargs) __M_writer('\r\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'main'): context['self'].main(**pageargs) __M_writer('\r\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'right_aside'): context['self'].right_aside(**pageargs) __M_writer( '\r\n </div>\r\n\r\n <footer class="container" style="margin-top: 15px;">\r\n ' ) import datetime current_year = datetime.date.today().year __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['current_year', 'datetime'] if __M_key in __M_locals_builtin_stored])) __M_writer('\r\n <hr/>\r\n Copyright © ') __M_writer(str(current_year)) __M_writer(' - Colonial Heritage Foundation\r\n </footer>\r\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def title(): return render_title(context._locals(__M_locals)) def line(): return render_line(context._locals(__M_locals)) def alt(): return render_alt(context._locals(__M_locals)) def nine(): return render_nine(context._locals(__M_locals)) def side(): return render_side(context._locals(__M_locals)) self = context.get('self', UNDEFINED) request = context.get('request', UNDEFINED) def breadcrumbs(): return render_breadcrumbs(context._locals(__M_locals)) def content(): return render_content(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n\r\n <head>\r\n\r\n <title>Colonial Heritage Foundation</title>\r\n <meta charset="UTF-8">\r\n <meta name="description" content="CH Foundation store and informative website">\r\n <meta name="keywords" content="colonial, heritage, foundation, store, civil war">\r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>\r\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\r\n <link rel="stylesheet" href="' ) __M_writer(str(STATIC_URL)) __M_writer( 'bower_components/flat-ui/dist/css/flat-ui.min.css"/>\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer('chf/media/jquery.form.js"></script>\r\n <script src="') __M_writer(str(STATIC_URL)) __M_writer( 'chf/media/jquery.loadmodal.js"></script>\r\n <script src="http://listjs.com/no-cdn/list.js"></script>\r\n </head>\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n\r\n <body>\r\n <header>\r\n <nav id="top-header" class="navbar navbar-default">\r\n <div class="container-fluid">\r\n <div class="navbar-header">\r\n <a class="navbar-brand" href="/">Colonial Heritage Foundation</a>\r\n </div>\r\n </div>\r\n </nav>\r\n </header>\r\n <div class="right">\r\n' ) if request.user.is_authenticated(): __M_writer(' Welcome, ') __M_writer(str(request.user.get_full_name())) __M_writer( '!<div class="logout"><a href="/account">Account</a><span> | </span><a href="/logout">Log out</a></div>\r\n' ) else: __M_writer( ' <button id="show_login_dialog" class="btn btn-success">Login</button>\r\n <a href="account.create">Register</a>\r\n' ) __M_writer( ' </div>\r\n <div class="center-menu">\r\n <ul class="list-inline">\r\n <li class="header-links"><a href="/items">Items</a></li>\r\n <li class="header-links"><a href="/products">Products</a></li>\r\n <li class="header-links"><a href="/events">Events</a></li>\r\n' ) if request.user.is_staff: __M_writer( ' <li class="header-links"><a href="/products.returnrental">Return</a></li>\r\n <li class="header-links"><a href="/report">Overdue</a></li>\r\n' ) if request.user.is_superuser: __M_writer( ' <li class="header-links"><a href="/manage">Inventory</a></li>\r\n <li class="header-links"><a href="/report.accounting">Accounting</a></li>\r\n <li class="header-links"><a href="/users">Users</a></li>\r\n' ) if request.user.is_authenticated(): __M_writer( ' <li class="header-links" style="color:Black;"><a style="color:#D35400;font-weight:bold;" href="/account.checkout">My Cart</a></li>\r\n' ) __M_writer(' </ul>\r\n </div>\r\n') if 'parent' not in context._data or not hasattr( context._data['parent'], 'breadcrumbs'): context['self'].breadcrumbs(**pageargs) __M_writer("\r\n <div class='side-bar'>") if 'parent' not in context._data or not hasattr( context._data['parent'], 'side'): context['self'].side(**pageargs) __M_writer('</div>\r\n\r\n <div id="middle">\r\n\r\n\r\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'title'): context['self'].title(**pageargs) __M_writer( '\r\n <div id = "main" class="container-fluid">\r\n <div class="row">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer( '\r\n </div>\r\n </div>\r\n <div id = "alt" class="container-fluid">\r\n <div class = "row-fluid">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'alt'): context['self'].alt(**pageargs) __M_writer( '\r\n </div>\r\n </div>\r\n <div id = "nine" class="container-fluid">\r\n <div class = "row-fluid">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'nine'): context['self'].nine(**pageargs) __M_writer( '\r\n </div>\r\n </div>\r\n <div id = "bottom" class="container-fluid">\r\n <div class = "row-fluid">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'line'): context['self'].line(**pageargs) __M_writer( '\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <footer>\r\n <div id ="footer" class="row-fluid">\r\n <div class="spacer"></div>\r\n <span class="footer-links"><a href="/about">about</a></span>\r\n <span class="footer-links"><a href="/contact">contact</a></span>\r\n <span class="footer-links"><a href="/terms">terms</a></span>\r\n\r\n </div>\r\n </footer>\r\n\r\n <div class="copyright"><span>Copyright 2015, Team "Efficiency"</span></div>\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer(' \r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) self = context.get('self', UNDEFINED) user = context.get('user', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) STATIC_URL = context.get('STATIC_URL', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <meta name="author" content="Joshua Mensink">\r\n <meta name="description" content="News on colonial events and products">\r\n <meta name="keywords" content="colonial, Awesome, Heritage, American, BYU, Gove">\r\n <head>\r\n <div id="background">\r\n \r\n <title>Colonial Heritage Foundation</title>\r\n \r\n' ) __M_writer( ' <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\r\n <link rel="icon" type="image/png" href="/static/homepage/media/icon.png">\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jqueryforms.js"></script>\r\n <script src="') __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.loadmodal.js"></script>\r\n\r\n \r\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n \r\n </head>\r\n <body>\r\n <div class="Background">\r\n <header>\r\n <div class="navigationbar">\r\n' ) if request.user.is_authenticated(): __M_writer( ' <nav class="navbar navbar-inverse" style="padding-right: 80px;">\r\n <ul class="nav navbar-nav">\r\n <li><a href="/login.logout_view">Logout</a></li>\r\n <li class="dropdown">\r\n <a href=""class="dropdown-toggle" data-toggle="dropdown" role="button">Edit Content<span class="caret"></span></a>\r\n <ul class="dropdown-menu" style="background-color: rgba(0,0,0,0.5);" role="menu">\r\n <li><a href="/homepage/users" style="color: white;">Users</a></li>\r\n <li class="divider" style="color: black;"></li>\r\n <li><a href="/homepage/items" style="color: white;">items</a></li>\r\n <li><a href="/homepage/products" style="color: white;">products</a></li>\r\n </ul>\r\n </li>\r\n <li class=\'dropdown\'>\r\n <a href=""class="dropdown-toggle" data-toggle="dropdown" role="button">Rentals<span class="caret"></span></a>\r\n <ul class="dropdown-menu" style="background-color: rgba(0,0,0,0.5);" role="menu">\r\n <li><a href="/rental/index.returnrental" style="color: white;">Returns</a></li>\r\n <li class="divider" style="color: black;"></li>\r\n <li><a href="/homepage/index.batch" style="color: white;">Overdue Rentals</a></li>\r\n </ul>\r\n </li>\r\n <li><input type="text" id="search"class="form-control" style="width: 500px; margin-top: 10px" placeholder="Search"><li>\r\n <li style="float: right"><a href="/shopping/index.checkout/" class="btn btn-warning btn-lg navbar-right" style="color: white; margin-top: 2px; margin-bottom:2px;" >Checkout</a></li>\r\n </ul>\r\n </nav>\r\n' ) else: __M_writer( ' <nav class="navbar navbar-inverse">\r\n <ul class="nav navbar-nav">\r\n <li>\r\n <button type-"button" id="show_login_dialog" class="btn btn-warning btn-lg" style="margin-top: 10px;">Login\r\n </button></li>\r\n <li><a href="/Account/index.create">Create a new Account</a></li>\r\n <input type="text" id="search" class="form-control navbar-right" style="margin-right: 20px; margin-top: 20px; width: 500px;" placeholder="Search">\r\n </ul>\r\n </nav>\r\n' ) __M_writer( ' </div>\r\n <div style="float: left; padding-left: 20px">\r\n' ) if request.user.is_authenticated(): __M_writer(' <h4><a href="/Account/index.edituser/') __M_writer(str(user.id)) __M_writer('/">Welcome ') __M_writer(str(user.get_username())) __M_writer('</a></h4>\r\n') else: pass __M_writer( ' </div> \r\n <div>\r\n <h1><span style="font-family:Times; font-size:48pt;">Colonial Heritage Foundation</span></h1>\r\n </div>\r\n </header>\r\n <div class="container-fluid">\r\n <div id="Left" class="col-md-2" style="padding-top: 0px">\r\n <h3 style="padding-top:25px;">\r\n <a href="/homepage/index">Home</a><br><br>\r\n <a href="/event/index">Events</a><br><br>\r\n <a href="/shopping/index">Shop</a><br><br>\r\n <a href="/rental/index">Rent</a><br><br>\r\n <a href="/homepage/terms">Terms</a><br><br>\r\n <a href="/homepage/about">About Us</a><br><br>\r\n <a href="/homepage/contact">Contact Us</a>\r\n <h3>\r\n </div>\r\n <div id="Center" class="col-md-8">\r\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer( '\r\n </div>\r\n </div>\r\n </body>\r\n <footer>\r\n <div id="Footer">\r\n Copyright 2015\r\n <link rel="icon" type="image/x-icon" href="favicon.ico" />\r\n </div>\r\n <script>\r\n (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\r\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\r\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\r\n })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');\r\n\r\n ga(\'create\', \'UA-61450130-1\', \'auto\');\r\n ga(\'send\', \'pageview\');\r\n\r\n </script>\r\n </footer> \r\n </div>\r\n</html>\r\n\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) request = context.get('request', UNDEFINED) def centerContent(): return render_centerContent(context._locals(__M_locals)) STATIC_URL = context.get('STATIC_URL', UNDEFINED) self = context.get('self', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') __M_writer('\r\n\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <head>\r\n \r\n <link rel="stylesheet" type="text/css" href="/static/homepage/styles/style.css">\r\n\r\n <title>homepage</title>\r\n \r\n \r\n' ) __M_writer( '\r\n <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>\r\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\r\n \r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n\r\n <link rel="icon" type="image/jpeg" href="/static/homepage/media/KordLordab.jpg" />\r\n <meta charset="utf-8">\r\n \r\n \r\n \r\n \r\n <link rel="stylesheet" type="text/css" href="/static/homepage/datetimepicker-master/jquery.datetimepicker.css"/ >\r\n <script src="/static/homepage/datetimepicker-master/jquery.js"></script>\r\n <script src="/static/homepage/datetimepicker-master/jquery.datetimepicker.js"></script>\r\n\r\n <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css">\r\n <script src="http://code.jquery.com/jquery-1.10.2.js"></script>\r\n <script src="http://code.jquery.com/ui/1.11.3/jquery-ui.js"></script>\r\n <script type="text/javascript" src="//code.jquery.com/jquery-1.11.2.min.js"></script>\r\n <!--<script type="text/javascript" src="/static/homepage/js/script.js"></script>-->\r\n <!-- Latest compiled and minified JavaScript -->\r\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>\r\n\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.loadmodal.js"></script>\r\n <script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.form.js"></script>\r\n </head>\r\n <body>\r\n <!--\r\n <header>\r\n <a href="/homepage/index"><h3>Home</h3></a>\r\n <a href="/homepage/user"><h3>Users</h3></a>\r\n <a href="/homepage/item"><h3>Items</h3></a>\r\n <!- <a href="/homepage/rental"><h3>Rentals</h3></a>\r\n <a href="/homepage/order"><h3>Orders</h3></a>->\r\n <a href="/homepage/event"><h3>Events</h3></a>\r\n <a href="/homepage/product"><h3>Products</h3></a>\r\n <a href id="show_login_dialog" data-toggle="modal" data-target="#login_dialog"><h3>Sign In</h3></a>\r\n <a href="/homepage/login.logout"><h3>Logout</h3></a>\r\n <div class="btn-group" style="margin-right: 10px; margin-top: 20px">\r\n <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-expanded="false">\r\n' ) if request.user.is_authenticated(): __M_writer(' ') __M_writer( str(request.user.first_name + ' ' + request.user.last_name)) __M_writer('\r\n') else: __M_writer(' ') __M_writer(str("Not Signed In")) __M_writer('\r\n') __M_writer( ' <span class="caret"></span>\r\n </button>\r\n <ul class="dropdown-menu" role="menu">\r\n' ) if request.user.is_authenticated(): __M_writer(' <li><a href="/homepage/EditAccount/') __M_writer(str(request.user.id)) __M_writer('/') __M_writer(str(request.user.address_id)) __M_writer( '">Edit Account</a></li>\r\n <li><a href="/homepage/login.logout/">Sign Out</a></li>\r\n' ) else: __M_writer( ' <li><a href id="show_login_dialog" data-toggle="modal" data-target="#login_dialog">Sign In</a></li>\r\n' ) __M_writer( ' </ul>\r\n <a href="/homepage/overdue_rental/" ><p>Daily Batch Process</p></a>\r\n </div>\r\n </header>\r\n -->\r\n <header class="top">\r\n <nav class="navbar navbar-default">\r\n <div class="container-fluid">\r\n <!-- Brand and toggle get grouped for better mobile display -->\r\n <div class="navbar-header">\r\n <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"\r\n data-target="#bs-example-navbar-collapse-1">\r\n <span class="sr-only">Toggle navigation</span>\r\n <span class="icon-bar"></span>\r\n <span class="icon-bar"></span>\r\n <span class="icon-bar"></span>\r\n </button>\r\n <a class="navbar-brand" href="/homepage/">Colonial Heritage Foundation</a>\r\n </div>\r\n\r\n <!-- Collect the nav links, forms, and other content for toggling -->\r\n <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">\r\n <ul class="nav navbar-nav">\r\n <li class="dropdown" id="test1">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">\r\n Rental System<span class="caret"></span></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href="/homepage/rental/">Rentals</a></li>\r\n <li class="divider"></li>\r\n <li><a href="/homepage/item/">Items</a></li>\r\n <li class="divider"></li>\r\n <li><a href="/homepage/overdue_rental/">Overdue Items</a></li>\r\n </ul>\r\n </li>\r\n <li class="dropdown">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">\r\n Order System<span class="caret"></span></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href="/homepage/order/">Orders</a></li>\r\n <li class="divider"></li>\r\n <li><a href="/homepage/product/">Products</a></li>\r\n </ul>\r\n </li>\r\n <li class="dropdown">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">\r\n Event System<span class="caret"></span></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href="/homepage/event/">Events</a></li>\r\n <li class="divider"></li>\r\n <li><a href="/homepage/area/">Areas</a></li>\r\n <li class="divider"></li>\r\n <li><a href="/homepage/venue/">Venues</a></li>\r\n </ul>\r\n </li>\r\n <li><a href="/homepage/user/">Users</a></li>\r\n </ul>\r\n <ul class="nav navbar-nav navbar-right">\r\n <li class="dropdown">\r\n <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">\r\n' ) if request.user.is_authenticated(): __M_writer(' ') __M_writer( str(request.user.first_name + ' ' + request.user.last_name)) __M_writer( '\r\n <span class="caret"></span></a>\r\n <ul class = "dropdown-menu" role="menu">\r\n <li><a href="/homepage/login.logout">Sign Out</a></li>\r\n </ul>\r\n' ) else: __M_writer(' ') __M_writer(str("Not Signed In")) __M_writer( '\r\n <span class="caret"></span></a>\r\n <ul class="dropdown-menu" role="menu">\r\n <li><a href id="show_login_dialog" data-toggle="modal" data-target="#login_dialog">Sign In</a></li>\r\n </ul>\r\n' ) __M_writer( ' </li>\r\n </ul>\r\n </div>\r\n <!-- /.navbar-collapse -->\r\n </div>\r\n <!-- /.container-fluid -->\r\n </nav>\r\n</header>\r\n <div id="header">\r\n <h1>Colonial Heritage Foundation</h1>\r\n </div>\r\n <br>\r\n <p class="bg-info loggedin">\r\n Current User: \r\n' ) if request.user.is_authenticated(): __M_writer(' ') __M_writer( str(request.user.first_name + ' ' + request.user.last_name)) __M_writer('\r\n') __M_writer(' </p>\r\n\r\n <div class="">\r\n \r\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'centerContent'): context['self'].centerContent(**pageargs) __M_writer( ' \r\n </div>\r\n\r\n <br>\r\n <div class="row" id="footer">\r\n <div class="col-md-6">\r\n \r\n <p>Colonial Heritage Foundation:</p>\r\n <ul>\r\n <li><a href="/homepage/index">Home</a></li>\r\n <li><a href="/homepage/user">Users</a></li>\r\n <li><a href="/homepage/item">Items</a></li>\r\n <li><a href="/homepage/rental">Rentals</a></li>\r\n <li><a href="/homepage/order">Orders</a></li>\r\n <li><a href="/homepage/event">Events</a></li>\r\n <li><a href="/homepage/product">Products</a></li>\r\n <li></li>\r\n <li><a href="/homepage/login.logout">Logout</a></li>\r\n </ul>\r\n </div>\r\n <div class="col-md-6">\r\n <p>Contact information:</p>\r\n <p>Mailing address:</p>\r\n <p>Colonial Heritage Foundation</p>\r\n <p>1617 N Freedom Blvd Suite 9, Provo, UT 84602</p>\r\n\r\n <p>Telephone:</p>\r\n <p>801-422-4636 or</p>\r\n <p>801-422-1211</p>\r\n\r\n\r\n </div>\r\n </div>\r\n\r\n <!-- Modal -->\r\n <div class="modal fade" id="shoppingCart" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">\r\n <div class="modal-dialog">\r\n <div class="modal-content">\r\n <div class="modal-header">\r\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\r\n <h4 class="modal-title" id="myModalLabel">Shopping Cart</h4>\r\n </div>\r\n <div class="modal-body">\r\n \r\n </div>\r\n <div class="modal-footer">\r\n <button type="button" class="btn btn-default" data-dismiss="modal">Continue Shopping</button>\r\n <button id="checkout_btn" type="button" class="btn btn-primary">Checkout</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n\r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) user = context.get('user', UNDEFINED) def h1(): return render_h1(context._locals(__M_locals)) def footer(): return render_footer(context._locals(__M_locals)) int = context.get('int', UNDEFINED) def jumbotron(): return render_jumbotron(context._locals(__M_locals)) def center(): return render_center(context._locals(__M_locals)) def header(): return render_header(context._locals(__M_locals)) self = context.get('self', UNDEFINED) request = context.get('request', UNDEFINED) def left(): return render_left(context._locals(__M_locals)) def title(): return render_title(context._locals(__M_locals)) STATIC_URL = context.get('STATIC_URL', UNDEFINED) __M_writer = context.writer() __M_writer('\r\n') __M_writer('\r\n') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n <meta charset="UTF-8">\r\n <meta name="description" content="Management system for the Colonial Heritage Foundation.">\r\n <meta name="keywords" content="CHF, Colonial Heritage Foundation">\r\n <head>\r\n\r\n\t<title>\r\n\t\t' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'title'): context['self'].title(**pageargs) __M_writer('\r\n\t</title>\r\n\r\n') __M_writer( '\t<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>\r\n\t<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>\r\n\t<script src="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/scripts/jquery.form.js"></script>\r\n\r\n\t<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">\r\n\r\n\t<link rel="icon" type="image/x-icon" href="/static/homepage/media/feather.png" />\r\n\r\n' ) __M_writer('\t') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer( '\r\n\r\n </head>\r\n <body >\r\n\r\n\t<div id="header">\r\n\t\t' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'header'): context['self'].header(**pageargs) __M_writer('\r\n\t</div>\r\n\r\n\t') if 'parent' not in context._data or not hasattr( context._data['parent'], 'jumbotron'): context['self'].jumbotron(**pageargs) __M_writer('\r\n\r\n\t<div id="left" class="col-md-1">\r\n\t\t') if 'parent' not in context._data or not hasattr( context._data['parent'], 'left'): context['self'].left(**pageargs) __M_writer( '\r\n\t</div>\r\n\r\n\t<div id="center" class="col-md-12">\r\n\t\t' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'h1'): context['self'].h1(**pageargs) __M_writer('\r\n\t\t') if 'parent' not in context._data or not hasattr( context._data['parent'], 'center'): context['self'].center(**pageargs) __M_writer('\r\n\t</div>\r\n\r\n\t<div id="footer">\r\n\t\t') if 'parent' not in context._data or not hasattr( context._data['parent'], 'footer'): context['self'].footer(**pageargs) __M_writer('\r\n\t</div>\r\n\r\n\r\n') __M_writer('\t') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\r\n\r\n </body>\r\n</html>') return '' finally: context.caller_stack._pop_frame()
def render_body(context, **pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) STATIC_URL = context.get('STATIC_URL', UNDEFINED) def title(): return render_title(context._locals(__M_locals)) request = context.get('request', UNDEFINED) def full_content(): return render_full_content(context._locals(__M_locals)) def footer(): return render_footer(context._locals(__M_locals)) def left_content(): return render_left_content(context._locals(__M_locals)) def full_length_content(): return render_full_length_content(context._locals(__M_locals)) def maintenance_message(): return render_maintenance_message(context._locals(__M_locals)) def above_content(): return render_above_content(context._locals(__M_locals)) def header(): return render_header(context._locals(__M_locals)) self = context.get('self', UNDEFINED) def center_content(): return render_center_content(context._locals(__M_locals)) def above_columns(): return render_above_columns(context._locals(__M_locals)) def main_body(): return render_main_body(context._locals(__M_locals)) def right_content(): return render_right_content(context._locals(__M_locals)) def alert_message(): return render_alert_message(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\n ') static_renderer = static_files.StaticRenderer(self) __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['static_renderer'] if __M_key in __M_locals_builtin_stored])) __M_writer('\n ') from datetime import datetime __M_locals_builtin_stored = __M_locals_builtin() __M_locals.update( __M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['datetime'] if __M_key in __M_locals_builtin_stored])) __M_writer( '\n\n <!-- every hour i work is netflix for two months. -->\n\n <!DOCTYPE html>\n <html>\n <meta charset="UTF-8">\n\n <head>\n <title>\n ' ) if 'parent' not in context._data or not hasattr( context._data['parent'], 'title'): context['self'].title(**pageargs) __M_writer('\n </title>\n') __M_writer('\n <script src="') __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.min.js"></script>\n <script src="') __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.loadmodal.js"></script>\n <script src="') __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/jquery.form.js"></script>\n <link rel="stylesheet" href="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage\\media\\bootstrap\\css\\bootstrap.min.css">\n <link rel="stylesheet" href="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/font-awesome.min.css">\n <link rel="stylesheet" href="' ) __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/font-awesome-animation.css">\n <link rel="icon" href="' ) __M_writer(str(STATIC_URL)) __M_writer('homepage/media/CHF.ico">\n <script src="') __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/moment.min.js"></script>\n <script src="') __M_writer(str(STATIC_URL)) __M_writer( 'homepage/media/bootstrap-datetimepicker.min.js"></script>\n <link rel="stylesheet" href="' ) __M_writer(str(STATIC_URL)) __M_writer('homepage/media/bootstrap-datetimepicker.min.css">\n\n') __M_writer(' ') __M_writer(str(static_renderer.get_template_css(request, context))) __M_writer('\n </head>\n\n ') if 'parent' not in context._data or not hasattr( context._data['parent'], 'main_body'): context['self'].main_body(**pageargs) __M_writer( '\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>\n' ) __M_writer(' ') __M_writer(str(static_renderer.get_template_js(request, context))) __M_writer('\n</html>\n') return '' finally: context.caller_stack._pop_frame()