-
Notifications
You must be signed in to change notification settings - Fork 2k
/
index.html
33 lines (29 loc) · 1.15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "page.html" %}
{% block subtitle %}{{ _('Tags') }}{% endblock %}
{% block breadcrumb_content %}
<li class="active"><a href="">{{ _('Tags') }}</a></li>
{% endblock %}
{% block primary_content %}
<article class="module">
<div class="module-content">
<h1 class="page-heading">{{ _('Tags') }}</h1>
<ul class="unstyled">
{% for tag in c.page.items %}
<li>{{ h.link_to(tag.display_name, h.url_for(controller='package', action='search', tags=tag.name), class_='tag') }}</li>
{% endfor %}
</ul>
</div>
{{ c.page.pager(q=c.q) }}
</article>
{% endblock %}
{% block secondary_content %}
<section class="module module-narrow module-shallow simple-input">
<form class="module-content field-bordered" action="{% url_for controller='tag', action='index' %}" method="get">
<div class="field">
<label for="field-tag-search">{{ _('Search Tags') }}</label>
<input id="field-tag-search" type="text" class="field" name="q" placeholder="{{ _('Search Tags') }}" />
<button class="btn-search" type="submit">{{ _('Search') }}</button>
</div>
</form>
</section>
{% endblock %}