Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
c7588ede
Commit
c7588ede
authored
Sep 22, 2013
by
Simon Daron
Committed by
fred
Sep 22, 2013
Browse files
replace newsitem nav by a search form
parent
47725e51
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/news/nav.html
View file @
c7588ede
{% load paniktags %}
<div
class=
"wrapper"
>
<nav
class=
"mainSub"
>
<ul
class=
"inline padded"
>
<li><a
href=
"{% url 'news' %}"
class=
"{% if class != "
archives
"
%}
active
{%
endif
%}"
>
<span
class=
"icon-bolt"
></span>
<span
class=
"iconLabel"
>
Dernières
</span>
</a></li>
<li><a
href=
"{% url 'newsArchives' %}"
class=
"{% if class = "
archives
"
%}
active
{%
endif
%}"
>
<span
class=
"icon-archive"
></span>
<span
class=
"iconLabel"
>
Archives
</span>
</a></li>
</ul>
</nav>
<div
class=
"mainSub"
>
<div
class=
"wrapper"
>
<nav>
<form
method=
"get"
action=
"."
class=
"big marged"
id=
"search-form"
>
<label
for=
"id_q"
>
Rechercher:
</label><input
id=
"id_q"
name=
"q"
type=
"text"
><button
class=
"icon-search"
></button>
</form>
</nav>
</div>
</div>
<!--
TODO make requests to load specific news roll & compagnie from groups
<div class="wrapper">
{% if categories %}
<nav id="newsNav" class="checkable">
<ul class="by{{ categories.count }}">
{% for category in categories %}
<li><a href="#">{{ category }}</a></li>
{% endfor %}
</ul>
</nav>
{% endif %}
</div>
-->
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment