initial commit to seperate repo
This commit is contained in:
commit
1a020ca68b
1302 changed files with 201261 additions and 0 deletions
93
themes/bootstrap/templates/base.tmpl
Normal file
93
themes/bootstrap/templates/base.tmpl
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="base" file="base_helper.tmpl" import="*" />
|
||||
<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
|
||||
${set_locale(lang)}
|
||||
${base.html_headstart()}
|
||||
<%block name="extra_head">
|
||||
### Leave this block alone.
|
||||
</%block>
|
||||
${template_hooks['extra_head']()}
|
||||
</head>
|
||||
<body>
|
||||
<a href="#content" class="sr-only sr-only-focusable">${messages("Skip to main content")}</a>
|
||||
|
||||
<!-- Menubar -->
|
||||
|
||||
<div class="navbar navbar-fixed-top" id="navbar">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
|
||||
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
|
||||
<a class="brand" href="${abs_link('/')}">
|
||||
%if logo_url:
|
||||
<img src="${logo_url}" alt="${blog_title}" id="logo">
|
||||
%endif
|
||||
|
||||
% if show_blog_title:
|
||||
<span id="blog-title">${blog_title}</span>
|
||||
% endif
|
||||
</a>
|
||||
<!-- Everything you want hidden at 940px or less, place within here -->
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav">
|
||||
${base.html_navigation_links()}
|
||||
${template_hooks['menu']()}
|
||||
</ul>
|
||||
%if search_form:
|
||||
${search_form}
|
||||
%endif
|
||||
<ul class="nav pull-right">
|
||||
<%block name="belowtitle">
|
||||
%if len(translations) > 1:
|
||||
<li>${base.html_translations()}</li>
|
||||
%endif
|
||||
</%block>
|
||||
% if show_sourcelink:
|
||||
<li><%block name="sourcelink"></%block></li>
|
||||
%endif
|
||||
${template_hooks['menu_alt']()}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of Menubar -->
|
||||
<div class="container-fluid" id="content">
|
||||
<!--Body content-->
|
||||
<div class="row-fluid">
|
||||
<div class="span2"></div>
|
||||
<div class="span8">
|
||||
${template_hooks['page_header']()}
|
||||
<%block name="content"></%block>
|
||||
</div>
|
||||
</div>
|
||||
<!--End of body content-->
|
||||
</div>
|
||||
<div class="footerbox">
|
||||
${content_footer}
|
||||
${template_hooks['page_footer']()}
|
||||
</div>
|
||||
${base.late_load_js()}
|
||||
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
||||
<!-- fancy dates -->
|
||||
<script>
|
||||
moment.locale("${momentjs_locales[lang]}");
|
||||
fancydates(${date_fanciness}, ${js_date_format});
|
||||
</script>
|
||||
<!-- end fancy dates -->
|
||||
<%block name="extra_js"></%block>
|
||||
% if annotations and post and not post.meta('noannotations'):
|
||||
${notes.code()}
|
||||
% elif not annotations and post and post.meta('annotations'):
|
||||
${notes.code()}
|
||||
% endif
|
||||
${body_end}
|
||||
${template_hooks['body_end']()}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue