Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
097c8a6d
Commit
097c8a6d
authored
Jul 22, 2013
by
Serge S. Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added main_menu and menu_links blocks to base template
parent
1b0a6e61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
base.html
flask_admin/templates/admin/base.html
+4
-0
No files found.
flask_admin/templates/admin/base.html
View file @
097c8a6d
...
@@ -26,12 +26,16 @@
...
@@ -26,12 +26,16 @@
{% block brand %}
{% block brand %}
<span
class=
"brand"
>
{{ admin_view.admin.name }}
</span>
<span
class=
"brand"
>
{{ admin_view.admin.name }}
</span>
{% endblock %}
{% endblock %}
{% block main_menu %}
<ul
class=
"nav"
>
<ul
class=
"nav"
>
{{ layout.menu() }}
{{ layout.menu() }}
</ul>
</ul>
{% endblock %}
{% block menu_links %}
<ul
class=
"nav pull-right"
>
<ul
class=
"nav pull-right"
>
{{ layout.menu_links() }}
{{ layout.menu_links() }}
</ul>
</ul>
{% endblock %}
</div>
</div>
</div>
</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