Skip to content
GitLab
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
9f28f39e
Commit
9f28f39e
authored
Aug 25, 2013
by
fred
Browse files
display navigation menus in fiber pages
parent
069f7f95
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/css/specifics.css
View file @
9f28f39e
...
...
@@ -517,3 +517,23 @@ ul#search-results li.next-page {
margin-right
:
0
;
font-style
:
italic
;
}
div
#fiber-nav
ul
,
div
#fiber-nav
li
{
display
:
inline-block
;
padding
:
0.5ex
1ex
;
}
div
#fiber-nav
>
ul
{
display
:
block
;
margin
:
auto
0
;
text-align
:
center
;
}
div
#fiber-nav
li
.current
>
a
{
font-weight
:
bold
;
}
div
#fiber-content
{
padding-top
:
1ex
;
}
panikweb_templates/templates/tpl-default.html
View file @
9f28f39e
{% extends "base.html" %}
{% load fiber_tags %}
{% block player-class %}small-player{% endblock %}
{% block nav %}
<div
id=
"fiber-nav"
>
{% show_menu "main-menu" 1 1 "all" %}
{% show_menu "main-menu" 2 3 "all_descendants" %}
</div>
{% endblock %}
{% block main %}
<h3>
{{ fiber_page.title }}
</h3>
<div
id=
"fiber-content"
class=
"wrapper"
>
<h2>
{{ fiber_page.title }}
</h2>
{% show_page_content "main" %}
</div>
{% endblock %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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