annotate MoinMoin/themes/basic/templates/layout.html @ 2835:f5b310b4dcd1

merge
author RogerHaase <haaserd@gmail.com>
date Sun, 19 Oct 2014 08:08:00 -0700
parents 444633f11059 80053c4b6965
children 03e10af41cad
rev   line source
2317
e657c7ca7ef5 adds topnav
sharky93 <rishabhr123@gmail.com>
parents:
diff changeset
1 {% extends theme("base.html") %}
e657c7ca7ef5 adds topnav
sharky93 <rishabhr123@gmail.com>
parents:
diff changeset
2
e657c7ca7ef5 adds topnav
sharky93 <rishabhr123@gmail.com>
parents:
diff changeset
3 {% import theme("snippets.html") as snippets %}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
4
2317
e657c7ca7ef5 adds topnav
sharky93 <rishabhr123@gmail.com>
parents:
diff changeset
5 {% set logo = snippets.logo() %}
2399
4112a46ce81d adds footer
sharky93 <rishabhr123@gmail.com>
parents: 2390
diff changeset
6 {% set footer_logos = snippets.creditlogos() %}
4112a46ce81d adds footer
sharky93 <rishabhr123@gmail.com>
parents: 2390
diff changeset
7 {% set credits = snippets.credits() %}
2662
2a50e6628a16 Fix to issue #433
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2651
diff changeset
8 {% set user_actions, item_navigation, item_actions = theme_supp.get_local_panel(fqname) %}
2500
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
9 {% set basic_scripts = snippets.add_scripts() %}
2491
8f054781b48a more defensive checking for item existence, improved generation of current_url, pep8 fixes remain
sharky93 <rishabhr123@gmail.com>
parents: 2488
diff changeset
10 {% set current_url = request.url %}
8f054781b48a more defensive checking for item existence, improved generation of current_url, pep8 fixes remain
sharky93 <rishabhr123@gmail.com>
parents: 2488
diff changeset
11 {% set current_path = request.path %}
2470
9c21d0f23521 Fixes #69, by generating a new url for a show view and comparing nav. with this
sharky93 <rishabhr123@gmail.com>
parents: 2469
diff changeset
12 {% set current_url_showview = url_for_item(endpoint='frontend.show_item', item_name=item_name) %}
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
13 {% set login_url = theme_supp.login_url() %}
2328
5d61b26cad7c Fixes highlight of current item without JS
sharky93 <rishabhr123@gmail.com>
parents: 2321
diff changeset
14
2450
1691455778f1 moves Item Navigation to the left, SiteMap and ItemIndex to the tabs
sharky93 <rishabhr123@gmail.com>
parents: 2421
diff changeset
15 {# Helper macro to generate the local panel #}
2453
303fed8f1f56 adds translatable strings, cleanup of item_navigation block from show.html
sharky93 <rishabhr123@gmail.com>
parents: 2452
diff changeset
16 {% macro local_panel_main(panelname) -%}
2480
a17476268e7a refined macro for hyperlink and local panel, the sidebar links are not red when the page doesn't exist
sharky93 <rishabhr123@gmail.com>
parents: 2479
diff changeset
17 {% for endpoint, href, iconcls, label, title, exists in panelname %}
a17476268e7a refined macro for hyperlink and local panel, the sidebar links are not red when the page doesn't exist
sharky93 <rishabhr123@gmail.com>
parents: 2479
diff changeset
18 {# iconcls should be defined, defined for all local_panel_items, see themes/__init.py #}
a17476268e7a refined macro for hyperlink and local panel, the sidebar links are not red when the page doesn't exist
sharky93 <rishabhr123@gmail.com>
parents: 2479
diff changeset
19 {{ hyperlink(href, title, exists, label, iconcls + " icon-fixed-width", "list-group-item") }}
2450
1691455778f1 moves Item Navigation to the left, SiteMap and ItemIndex to the tabs
sharky93 <rishabhr123@gmail.com>
parents: 2421
diff changeset
20 {% endfor %}
1691455778f1 moves Item Navigation to the left, SiteMap and ItemIndex to the tabs
sharky93 <rishabhr123@gmail.com>
parents: 2421
diff changeset
21 {% endmacro %}
1691455778f1 moves Item Navigation to the left, SiteMap and ItemIndex to the tabs
sharky93 <rishabhr123@gmail.com>
parents: 2421
diff changeset
22
2474
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
23 {# Helper macro to generate links #}
2480
a17476268e7a refined macro for hyperlink and local panel, the sidebar links are not red when the page doesn't exist
sharky93 <rishabhr123@gmail.com>
parents: 2479
diff changeset
24 {% macro hyperlink(href, title, exists, label, iconcls, mainclass) -%}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
25 <a href="{{ href }}"
2480
a17476268e7a refined macro for hyperlink and local panel, the sidebar links are not red when the page doesn't exist
sharky93 <rishabhr123@gmail.com>
parents: 2479
diff changeset
26 {% if not exists %} class="moin-nonexistent {% if mainclass %}{{ mainclass }} {% endif %}"
a17476268e7a refined macro for hyperlink and local panel, the sidebar links are not red when the page doesn't exist
sharky93 <rishabhr123@gmail.com>
parents: 2479
diff changeset
27 {% else %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
28 {% if mainclass %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
29 class="{{ mainclass }}{% if current_url == href %} active{% endif %}"
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
30 {% elif current_url == href %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
31 class="active"
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
32 {% elif current_path == href %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
33 class="active"
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
34 {% endif %}
2480
a17476268e7a refined macro for hyperlink and local panel, the sidebar links are not red when the page doesn't exist
sharky93 <rishabhr123@gmail.com>
parents: 2479
diff changeset
35 {% endif %}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
36 rel="nofollow"
2474
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
37 {% if title %} title="{{ title }}" {% endif %}>
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
38 {% if iconcls %} <i class="{{ iconcls }}"> </i> {% endif %}
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
39 {% if href == login_url %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
40 {{label }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
41 {% else %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
42 <span class="hidden-sm hidden-xs">{{ label }}</span>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
43 {% endif %}
2474
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
44 </a>
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
45 {% endmacro %}
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
46
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
47 {# Helper macro to generate a search form #}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
48 {% macro make_search_form(klass, clas) %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
49 <div class="{{klass}}">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
50 <form class="{{clas}}" action="{{ url_for('frontend.search') }}" method="get" role="search">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
51 <div class="input-group">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
52 <input name='q' type="text" class="form-control" placeholder="Search ...">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
53 <div class="input-group-btn">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
54 <button class="btn btn-primary" type="submit">
2830
80053c4b6965 fix #443 upgrade font-awesome to 4.1; run m quickinstall to install renamed fonts
RogerHaase <haaserd@gmail.com>
parents: 2800
diff changeset
55 <i class="fa fa-search"></i>
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
56 </button>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
57 </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
58 </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
59 </form>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
60 </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
61 {% endmacro %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
62
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
63
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
64 {% block head_meta %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
65 {{ super() }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
66 <meta name="viewport" content="width=device-width, initial-scale=1">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
67 {% endblock %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
68
2362
1d461ab9df80 basic migration to bootstrapv3, custom-bootstrap css added
sharky93 <rishabhr123@gmail.com>
parents: 2360
diff changeset
69 {% block layout %}
2800
9b612ad41772 use bootstrap class container-fluid, not container restyled to be like container-fluid
RogerHaase <haaserd@gmail.com>
parents: 2799
diff changeset
70 <div class="container-fluid">
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
71 <div id="moin-main-wrapper" class="row">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
72
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
73 <div class="col-md-2 col-sm-3 col-xs-4 moin-sidebar">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
74 <div class="moin-logo">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
75 {% if logo %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
76 <a href="{{ url_for('frontend.show_item', item_name=cfg.item_root) }}">
2799
47e970d1af3f basic theme logo missing when wiki is not at server root
RogerHaase <haaserd@gmail.com>
parents: 2798
diff changeset
77 {{ logo }}
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
78 </a>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
79 {% endif %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
80 </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
81 <div class="moin-sidebar-panels">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
82 {% set navibar_items = theme_supp.navibar(item_name) %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
83 {% set quicklinks = 'false' %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
84
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
85 {% if search_form %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
86 {{ make_search_form("hidden-lg hidden-md hidden-sm", "moin-sidebar-form") }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
87 {% endif %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
88
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
89 {% if navibar_items %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
90 <div class="list-group-item moin-list-heading"> {{ _("Site Navigation") }} </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
91 {% for cls, url, text, title in navibar_items if cls != 'userlink' %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
92 <a class="list-group-item {{ cls }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
93 {% if url in [current_url, current_path, current_url_showview] %} active{% endif %}" href="{{ url }}"
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
94 {% if title %}title="{{ title }}"{% endif %}>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
95 {{ text|shorten_item_name }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
96 </a>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
97 {% endfor %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
98 {% if item_navigation %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
99 <div class="list-group-item moin-list-heading"> {{ _("Supplementation") }} </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
100 {{ local_panel_main(item_navigation) }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
101 {% endif %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
102 {% endif %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
103
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
104 {% for cls, url, text, title in navibar_items if cls == 'userlink' %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
105 {% if loop.first %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
106 <div class="list-group-item moin-list-heading">Quick Links</div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
107 {% endif %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
108 <div class="moin-quicklink">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
109 <a class="moin-quicklink-label {{ cls }}" href="{{ url }}" {% if title %}title="{{ title }} : {{ url|safe }}"{% else %}"{{ url|safe }}"{% endif %}>{{ text|shorten_item_name(20) }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
110 </a>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
111 </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
112 {% endfor %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
113
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
114 {% if self.local_panel %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
115 {{ self.local_panel() }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
116 {% endif %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
117 </div> {# moin-sidebar-panels #}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
118 </div> {# moin-sidebar #}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
119
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
120 <div class="col-md-10 col-sm-9 col-xs-12">
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
121 <nav class="navbar moin-navbar-inverse">
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
122 <div class="row">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
123 <div class="col-md-3 col-sm-5 col-xs-6">
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
124 <div class="moin-navbar-header">
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
125
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
126 <button type="button" id="hideshowsidebar" class="navbar-toggle">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
127 <span class="icon-bar"></span>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
128 <span class="icon-bar"></span>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
129 <span class="icon-bar"></span>
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
130 </button>
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
131
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
132 {% if cfg.sitename %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
133 <a class="navbar-brand" href="{{ url_for('frontend.show_item', item_name=cfg.item_root) }}">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
134 {{ cfg.sitename }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
135 </a>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
136 {% endif %}
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
137
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
138 </div>
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
139 </div>
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
140
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
141 <div class="col-md-6 col-sm-4 col-xs-6 moin-loginsettings">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
142 <div class="moin-navbar-collapse navbar-collapse collapse in">
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
143 <ul class="nav navbar-nav moin-pull-right">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
144 {% if user.valid -%}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
145 {% set avatar = user.avatar(20) %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
146 {% if avatar %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
147 <li><img id="moin-avatar" src="{{ avatar }}" /></li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
148 {%- endif %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
149 {% if user.name -%}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
150 {% set wiki_href, aliasname, title, exists = theme_supp.userhome() %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
151 <li>
2830
80053c4b6965 fix #443 upgrade font-awesome to 4.1; run m quickinstall to install renamed fonts
RogerHaase <haaserd@gmail.com>
parents: 2800
diff changeset
152 {{ hyperlink(wiki_href, title, exists, aliasname, "fa fa-user fa-inverse", None) }}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
153 </li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
154 {% if 'frontend.usersettings' not in cfg.endpoints_excluded -%}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
155 <li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
156 {{ hyperlink(url_for('frontend.usersettings'), None, True,
2830
80053c4b6965 fix #443 upgrade font-awesome to 4.1; run m quickinstall to install renamed fonts
RogerHaase <haaserd@gmail.com>
parents: 2800
diff changeset
157 _('Settings'), "fa fa-cog fa-inverse", None) }}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
158 </li>
2561
2d0bbf33f76a Fix to issue #412
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2559
diff changeset
159 {%- endif %}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
160 {%- endif %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
161 {% if user.auth_method in cfg.auth_can_logout %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
162 <li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
163 {{ hyperlink(url_for('frontend.logout', logout_submit=1), None, True,
2830
80053c4b6965 fix #443 upgrade font-awesome to 4.1; run m quickinstall to install renamed fonts
RogerHaase <haaserd@gmail.com>
parents: 2800
diff changeset
164 _('Logout'), "fa fa-sign-out fa-inverse", None) }}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
165 </li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
166 {% endif %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
167 {% else %}
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
168
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
169 {% if login_url %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
170 <li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
171 {{ hyperlink(login_url, None, True, _('Login'), None, None) }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
172 </li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
173 {% endif %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
174 {%- endif %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
175 </ul>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
176 </div>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
177 </div>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
178 {% if search_form %}
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
179 {{ make_search_form("col-sm-3 hidden-xs", "moin-navbar-form") }}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
180 {% endif %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
181 </div>
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
182 </nav> {# navbar moin-navbar-inverse #}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
183
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
184 <ul class="moin-breadcrumb">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
185 {% set trail_items = theme_supp.path_breadcrumbs() %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
186 {% if trail_items %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
187 {% for wiki_name, fqname, item_href, exists, err in trail_items %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
188 {% if not loop.last %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
189 <li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
190 {%- if wiki_name -%}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
191 <a href="{{ item_href }}"{{ " " }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
192 title="{{ wiki_name }}"
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
193 class="{% if err %}moin-badinterwiki{% else %}moin-interwiki{% endif %}">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
194 {{ fqname|shorten_fqname }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
195 </a>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
196 {%- else -%}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
197 <a href="{{ url_for('frontend.show_item', item_name=fqname) }}"{{ " " }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
198 {% if not exists -%}class="moin-nonexistent"{%- endif -%}>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
199 {{ fqname|shorten_fqname }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
200 </a>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
201 {%- endif %}
2830
80053c4b6965 fix #443 upgrade font-awesome to 4.1; run m quickinstall to install renamed fonts
RogerHaase <haaserd@gmail.com>
parents: 2800
diff changeset
202 <i class="fa fa-angle-double-right fa-fw"></i>
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
203 <ul class="moin-bcs-subitems">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
204 {% for fq_name in theme_supp.get_fqnames(fqname) -%}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
205 <li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
206 <a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
207 {{ fq_name|shorten_fqname(length=25) }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
208 </a>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
209 </li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
210 {%- endfor %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
211 </ul>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
212 </li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
213 {% else %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
214 <li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
215 <h4 class="moin-location-breadcrumb">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
216 {% for segment_name, segment_path, exists in theme_supp.location_breadcrumbs(fqname) -%}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
217 {% if loop.first %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
218 <small>~ /</small>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
219 {% elif not loop.last %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
220 <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
221 {{ segment_name|shorten_fqname }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
222 </a>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
223 <small>/</small>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
224 {%- endif %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
225 {% if loop.last %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
226 {% if title_name %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
227 {{ title_name }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
228 {% else %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
229 <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
2828
444633f11059 location display: never abbreviate the last segment (== name of the current item or subitem)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 2800
diff changeset
230 {{ segment_name }}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
231 </a>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
232 {%- endif %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
233 {%- endif %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
234 {% endfor %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
235 </h4>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
236 <ul class="moin-bcs-subitems">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
237 {% for fq_name in theme_supp.get_fqnames(fqname) -%}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
238 <li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
239 <a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
240 {{ fq_name|shorten_fqname(length=25) }}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
241 </a>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
242 </li>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
243 {%- endfor %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
244 </ul>
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
245 </li>
2469
a723ec19254b Fixes #23, combines breadcrumbs
sharky93 <rishabhr123@gmail.com>
parents: 2468
diff changeset
246 {% endif %}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
247 {% endfor %}
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
248 {% endif %}
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
249 </ul> {# moin-breadcrumb #}
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
250
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
251 <div class="moin-content">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
252 {# id -> moin-flash is used to add special alerts for ex. for changes to User Settings via JS, see common.js #}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
253 <div id="moin-flash">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
254 {% for category, msg in get_flashed_messages(with_categories=true) %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
255 <div class="moin-flash moin-flash-{{ category }}">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
256 {{ msg }}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
257 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
258 </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
259 {% endfor %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
260 </div>
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
261
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
262 {% block views %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
263 {% endblock %}
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
264
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
265 {% set content_id = self.local_panel and 'moin-content' or 'moin-content-no-panel' %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
266 <div id="{{ content_id }}" lang="{{ theme_supp.content_lang }}" dir="{{ theme_supp.content_dir }}">
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
267 {% block content %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
268 {# All content templates should implement this block. #}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
269 {% endblock %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
270 </div>
2795
5e5b0b454e1d remove redundant nested DIVs with class=row and class=col-md-12
RogerHaase <haaserd@gmail.com>
parents: 2794
diff changeset
271 </div>
2320
35c88bb5613a adds tabs for itemviews, content display
sharky93 <rishabhr123@gmail.com>
parents: 2319
diff changeset
272
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
273 {% block footer %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
274 <div class="navbar">
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
275 {{ footer_logos }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
276 {{ credits }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
277 </div>
2798
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
278 {% endblock %}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
279 </div> {# parent of header, breadcrumbs, content, footer #}
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
280 </div>
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
281
371230784e21 add basic theme support for sm and xs viewport sizes
RogerHaase <haaserd@gmail.com>
parents: 2795
diff changeset
282 </div>
2464
abd877320928 adds row for the footer
sharky93 <rishabhr123@gmail.com>
parents: 2462
diff changeset
283 {% endblock %}
2500
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
284
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
285 {% block body_scripts %}
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
286 {{ super() }}
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
287 {{ basic_scripts }}
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
288 {% endblock %}