labels.html
63 lines
| 2.3 KiB
| text/html
|
HtmlLexer
r1 | <%inherit file="/debug_style/index.html"/> | |||
<%def name="breadcrumbs_links()"> | ||||
r1900 | ${h.link_to(_('Style'), h.route_path('debug_style_home'))} | |||
r1 | » | |||
${c.active} | ||||
</%def> | ||||
<%def name="real_main()"> | ||||
<div class="box"> | ||||
<div class="title"> | ||||
${self.breadcrumbs()} | ||||
</div> | ||||
<div class='sidebar-col-wrapper'> | ||||
${self.sidebar()} | ||||
<div class="main-content"> | ||||
r839 | <h2>Labels</h2> | |||
r1 | <h3>Labels used for tags, branches and bookmarks</h3> | |||
r839 | ||||
<div class="bs-example"> | ||||
<ul class="metatag-list"> | ||||
<li> | ||||
<span class="tagtag tag" title="Tag tip"> | ||||
<a href="/fake-link"><i class="icon-tag"></i>tip</a> | ||||
</span> | ||||
</li> | ||||
<li> | ||||
<span class="branchtag tag" title="Branch default"> | ||||
<a href="/fake-link"><i class="icon-code-fork"></i>default</a> | ||||
</span> | ||||
</li> | ||||
<li> | ||||
<span class="bookmarktag tag" title="Bookmark example"> | ||||
<a href="/fake-link"><i class="icon-bookmark"></i>example</a> | ||||
</span> | ||||
</li> | ||||
</ul> | ||||
r1 | ||||
r839 | </div> | |||
r1 | ||||
<h3>Labels used in tables</h3> | ||||
r839 | <div class="bs-example"> | |||
<ul class="metatag-list"> | ||||
<li>[default] <span class="metatag" tag="default">default</span></li> | ||||
<li>[featured] <span class="metatag" tag="featured">featured</span></li> | ||||
<li>[stale] <span class="metatag" tag="stale">stale</span></li> | ||||
<li>[dead] <span class="metatag" tag="dead">dead</span></li> | ||||
<li>[lang => lang] <span class="metatag" tag="lang">lang</span></li> | ||||
<li>[license => License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License">License</a></span></li> | ||||
<li>[requires => Repo] <span class="metatag" tag="requires">requires => <a href="#">Repo</a></span></li> | ||||
<li>[recommends => Repo] <span class="metatag" tag="recommends">recommends => <a href="#">Repo</a></span></li> | ||||
<li>[see => URI] <span class="metatag" tag="see">see => <a href="#">URI</a></span></li> | ||||
</ul> | ||||
</div> | ||||
r1 | </div> <!-- .main-content --> | |||
</div> | ||||
</div> <!-- .box --> | ||||
</%def> | ||||