initial commit to seperate repo
This commit is contained in:
commit
8630e4db13
23669 changed files with 1067407 additions and 0 deletions
28
themes/cyborg/templates/listing.tmpl
Normal file
28
themes/cyborg/templates/listing.tmpl
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="base.tmpl"/>
|
||||
<%namespace name="ui" file="crumbs.tmpl" import="bar"/>
|
||||
|
||||
<%block name="content">
|
||||
${ui.bar(crumbs)}
|
||||
%if folders or files:
|
||||
<ul class="list-unstyled">
|
||||
% for name in folders:
|
||||
<li><a href="${name}"><i class="glyphicon glyphicon-folder-open"></i> ${name}</a>
|
||||
% endfor
|
||||
% for name in files:
|
||||
<li><a href="${name}.html"><i class="glyphicon glyphicon-file"></i> ${name}</a>
|
||||
% endfor
|
||||
</ul>
|
||||
%endif
|
||||
% if code:
|
||||
${code}
|
||||
% endif
|
||||
</%block>
|
||||
|
||||
<%block name="sourcelink">
|
||||
% if source_link:
|
||||
<li>
|
||||
<a href="${source_link}" id="sourcelink">${messages("Source")}</a>
|
||||
</li>
|
||||
% endif
|
||||
</%block>
|
||||
Loading…
Add table
Add a link
Reference in a new issue