123456789101112131415161718192021222324252627282930313233 |
- ## -*- 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>
- % for name in folders:
- <li><a href="${name|u}"><i class="glyphicon glyphicon-folder-open"></i> ${name|h}</a>
- % endfor
- % for name in files:
- <li><a href="${name|u}.html"><i class="glyphicon glyphicon-file"></i> ${name|h}</a>
- % endfor
- </ul>
- %endif
- % if code:
- <h1>${title}
- % if source_link:
- <small><a href="${source_link}">(${messages("Source")})</a></small>
- % endif
- </h1>
- ${code}
- % endif
- </%block>
-
- <%block name="sourcelink">
- % if source_link:
- <li>
- <a href="${source_link}" id="sourcelink">${messages("Source")}</a>
- </li>
- % endif
- </%block>
|