annotate MoinMoin/themes/basic/templates/layout.html @ 2794:1f7d8cc15805

change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
author RogerHaase <haaserd@gmail.com>
date Thu, 25 Sep 2014 14:33:09 -0700
parents 31628ac3ec21
children 5e5b0b454e1d
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 %}
e657c7ca7ef5 adds topnav
sharky93 <rishabhr123@gmail.com>
parents:
diff changeset
4 {% set logo = snippets.logo() %}
2399
4112a46ce81d adds footer
sharky93 <rishabhr123@gmail.com>
parents: 2390
diff changeset
5 {% set footer_logos = snippets.creditlogos() %}
4112a46ce81d adds footer
sharky93 <rishabhr123@gmail.com>
parents: 2390
diff changeset
6 {% set credits = snippets.credits() %}
2662
2a50e6628a16 Fix to issue #433
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2651
diff changeset
7 {% 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
8 {% set basic_scripts = snippets.add_scripts() %}
2317
e657c7ca7ef5 adds topnav
sharky93 <rishabhr123@gmail.com>
parents:
diff changeset
9
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) %}
2328
5d61b26cad7c Fixes highlight of current item without JS
sharky93 <rishabhr123@gmail.com>
parents: 2321
diff changeset
13
2450
1691455778f1 moves Item Navigation to the left, SiteMap and ItemIndex to the tabs
sharky93 <rishabhr123@gmail.com>
parents: 2421
diff changeset
14 {# 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
15 {% 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
16 {% 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
17 {# 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
18 {{ 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
19 {% endfor %}
1691455778f1 moves Item Navigation to the left, SiteMap and ItemIndex to the tabs
sharky93 <rishabhr123@gmail.com>
parents: 2421
diff changeset
20 {% endmacro %}
1691455778f1 moves Item Navigation to the left, SiteMap and ItemIndex to the tabs
sharky93 <rishabhr123@gmail.com>
parents: 2421
diff changeset
21
2474
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
22 {# 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
23 {% 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
24 <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
25 {% 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
26 {% else %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
27 {% if mainclass %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
28 class="{{ mainclass }}{% if current_url == href %} active{% endif %}"
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
29 {% elif current_url == href %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
30 class="active"
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
31 {% elif current_path == href %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
32 class="active"
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
33 {% 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
34 {% endif %}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
35 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
36 {% 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
37 {% if iconcls %} <i class="{{ iconcls }}"> </i> {% endif %}
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
38 {{ label }}
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
39 </a>
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
40 {% endmacro %}
c1526ea8e0b5 Adds active states for links in top navbar, also adds a hyperlink macro
sharky93 <rishabhr123@gmail.com>
parents: 2471
diff changeset
41
2362
1d461ab9df80 basic migration to bootstrapv3, custom-bootstrap css added
sharky93 <rishabhr123@gmail.com>
parents: 2360
diff changeset
42 {% block layout %}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
43 <div class="container">
2650
4385775cf3a1 Fixed footer to the bottom of the page in all the three themes. Earlier it used to come upto the middle of the page in case of small content.
Ajitesh Gupta <ajgupta93@gmail.com>
parents: 2627
diff changeset
44 <div class="row moin-header">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
45 <div class="col-md-2 moin-logo">
2468
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
46 {% if logo %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
47 <a href="{{ url_for('frontend.show_item', item_name=cfg.item_root) }}">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
48 <img class="img-circle" src="{{ '/static/logos/moinmoin.png' }}" alt="Site Logo"/>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
49 </a>
2468
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
50 {% endif %}
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
51 </div>
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
52 <div class="col-md-10">
2468
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
53 <div class="row">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
54 <div class="col-md-12">
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
55 <nav class="navbar moin-navbar-inverse">
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
56 <div class="container">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
57 <div class="col-md-3">
2515
7d6033c332c3 updates less files to bootstrap v3 rc2, changes to own(basic, moinvariables) less files to make it compatible
sharky93 <rishabhr123@gmail.com>
parents: 2514
diff changeset
58 <div class="moin-navbar-header">
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
59 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#target">
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
60 <span class="sm-only"></span>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
61 <span class="icon-bar"></span>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
62 <span class="icon-bar"></span>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
63 <span class="icon-bar"></span>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
64 </button>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
65 {% if cfg.sitename %}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
66 <a class="navbar-brand" href="{{ url_for('frontend.show_item', item_name=cfg.item_root) }}">
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
67 {{ cfg.sitename }}
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
68 </a>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
69 {% endif %}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
70 </div>
2485
aac162fa416e Fixes top navbar, responsiveness
sharky93 <rishabhr123@gmail.com>
parents: 2480
diff changeset
71 </div>
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
72 <div class="col-md-6 moin-loginsettings">
2515
7d6033c332c3 updates less files to bootstrap v3 rc2, changes to own(basic, moinvariables) less files to make it compatible
sharky93 <rishabhr123@gmail.com>
parents: 2514
diff changeset
73 <div class="moin-navbar-collapse navbar-collapse collapse in" id="target">
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
74 <ul class="nav navbar-nav moin-pull-right">
2318
48e56f1ebd91 adds global nav, quick links, common css
sharky93 <rishabhr123@gmail.com>
parents: 2317
diff changeset
75
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
76 {% if user.valid -%}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
77 {% set avatar = user.avatar(20) %}
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
78 {% if avatar %}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
79 <li><img id="moin-avatar" src="{{ avatar }}" /></li>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
80 {%- endif %}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
81 {% if user.name -%}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
82 {% set wiki_href, aliasname, title, exists = theme_supp.userhome() %}
2485
aac162fa416e Fixes top navbar, responsiveness
sharky93 <rishabhr123@gmail.com>
parents: 2480
diff changeset
83 <li>
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
84 {{ hyperlink(wiki_href, title, exists, aliasname, "icon-user icon-white", None) }}
2485
aac162fa416e Fixes top navbar, responsiveness
sharky93 <rishabhr123@gmail.com>
parents: 2480
diff changeset
85 </li>
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
86 {% if 'frontend.usersettings' not in cfg.endpoints_excluded -%}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
87 <li>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
88 {{ hyperlink(url_for('frontend.usersettings'), None, True,
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
89 _('Settings'), "icon-cog icon-white", None) }}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
90 </li>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
91 {%- endif %}
2485
aac162fa416e Fixes top navbar, responsiveness
sharky93 <rishabhr123@gmail.com>
parents: 2480
diff changeset
92 {%- endif %}
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
93 {% if user.auth_method in cfg.auth_can_logout %}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
94 <li>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
95 {{ hyperlink(url_for('frontend.logout', logout_submit=1), None, True,
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
96 _('Logout'), "icon-off icon-white", None) }}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
97 </li>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
98 {% endif %}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
99 {% else %}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
100 {% set login_url = theme_supp.login_url() %}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
101 {% if login_url %}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
102 <li>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
103 {{ hyperlink(login_url, None, True, _('Login'), None, None) }}
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
104 </li>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
105 {% endif %}
2485
aac162fa416e Fixes top navbar, responsiveness
sharky93 <rishabhr123@gmail.com>
parents: 2480
diff changeset
106 {%- endif %}
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
107 </ul>
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
108 </div>
2485
aac162fa416e Fixes top navbar, responsiveness
sharky93 <rishabhr123@gmail.com>
parents: 2480
diff changeset
109 </div>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
110 {% if search_form %}
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
111 <div class="col-md-3">
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
112 <form class="moin-navbar-form" action="{{ url_for('frontend.search') }}" method="get" role="search">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
113 <div class="input-group">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
114 <input name='q' type="text" class="form-control" placeholder="Search ...">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
115 <div class="input-group-btn">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
116 <button class="btn btn-primary" type="submit">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
117 <i class="icon-search"></i>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
118 </button>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
119 </div>
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
120 </div>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
121 </form>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
122 </div>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2569
diff changeset
123 {% endif %}
2488
dc05bbf035d3 Fixes the top navbar, links now work and tested with FF too
sharky93 <rishabhr123@gmail.com>
parents: 2485
diff changeset
124 </div>
2485
aac162fa416e Fixes top navbar, responsiveness
sharky93 <rishabhr123@gmail.com>
parents: 2480
diff changeset
125 </nav> <!-- navbar-inverse-->
aac162fa416e Fixes top navbar, responsiveness
sharky93 <rishabhr123@gmail.com>
parents: 2480
diff changeset
126 </div> <!-- column-12 -->
2468
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
127 </div> <!-- row for top-navbar -->
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
128 <div class="row">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
129 <div class="col-md-12">
2468
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
130 <ul class="moin-breadcrumb">
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
131 {% set trail_items = theme_supp.path_breadcrumbs() %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
132 {% if trail_items %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
133 {% for wiki_name, fqname, item_href, exists, err in trail_items %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
134 {% if not loop.last %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
135 <li>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
136 {%- if wiki_name -%}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
137 <a href="{{ item_href }}"{{ " " }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
138 title="{{ wiki_name }}"
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
139 class="{% if err %}moin-badinterwiki{% else %}moin-interwiki{% endif %}">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
140 {{ fqname|shorten_fqname }}
2561
2d0bbf33f76a Fix to issue #412
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2559
diff changeset
141 </a>
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
142 <i class="icon-double-angle-right icon-fixed-width"></i>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
143 {%- else -%}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
144 <a href="{{ url_for('frontend.show_item', item_name=fqname) }}"{{ " " }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
145 {% if not exists -%}class="moin-nonexistent"{%- endif -%}>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
146 {{ fqname|shorten_fqname }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
147 </a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
148 <i class="icon-double-angle-right icon-fixed-width"></i>
2561
2d0bbf33f76a Fix to issue #412
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2559
diff changeset
149 {%- endif %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
150 <ul class="moin-bcs-subitems">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
151 {% for fq_name in theme_supp.get_fqnames(fqname) -%}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
152 <li>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
153 <a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
154 {{ fq_name|shorten_fqname(length=25) }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
155 </a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
156 </li>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
157 {%- endfor %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
158 </ul>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
159 </li>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
160 {% else %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
161 <li>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
162 <h4 class="moin-location-breadcrumb">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
163 {% for segment_name, segment_path, exists in theme_supp.location_breadcrumbs(fqname) -%}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
164 {% if loop.first %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
165 <small>~ /</small>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
166 {% elif not loop.last %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
167 <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
168 {{ segment_name|shorten_fqname }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
169 </a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
170 <small>/</small>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
171 {%- endif %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
172 {% if loop.last %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
173 {% if title_name %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
174 {{ title_name }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
175 {% else %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
176 <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
177 {{ segment_name|shorten_fqname }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
178 </a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
179 {%- endif %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
180 {%- endif %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
181 {% endfor %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
182 </h4>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
183 <ul class="moin-bcs-subitems">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
184 {% for fq_name in theme_supp.get_fqnames(fqname) -%}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
185 <li>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
186 <a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
187 {{ fq_name|shorten_fqname(length=25) }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
188 </a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
189 </li>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
190 {%- endfor %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
191 </ul>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
192 </li>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
193 {% endif %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
194 {% endfor %}
2469
a723ec19254b Fixes #23, combines breadcrumbs
sharky93 <rishabhr123@gmail.com>
parents: 2468
diff changeset
195 {% endif %}
2468
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
196
2469
a723ec19254b Fixes #23, combines breadcrumbs
sharky93 <rishabhr123@gmail.com>
parents: 2468
diff changeset
197 </ul><!-- complete list of breadcrumbs -->
2468
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
198 </div>
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
199 </div>
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
200 </div> <!-- col-md-10 -->
2403
cd9dd893cbb5 Fixes #40, button added to search bar
sharky93 <rishabhr123@gmail.com>
parents: 2401
diff changeset
201 </div> <!-- row-topnavbar -->
2318
48e56f1ebd91 adds global nav, quick links, common css
sharky93 <rishabhr123@gmail.com>
parents: 2317
diff changeset
202
2650
4385775cf3a1 Fixed footer to the bottom of the page in all the three themes. Earlier it used to come upto the middle of the page in case of small content.
Ajitesh Gupta <ajgupta93@gmail.com>
parents: 2627
diff changeset
203 <div class="row moin-content">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
204 <div class="col-md-2">
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
205 <div class="row">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
206 <div class="col-md-12">
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
207 <div class="moin-sidebar">
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
208 {% set navibar_items = theme_supp.navibar(item_name) %}
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
209 {% set quicklinks = 'false' %}
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
210 {% if navibar_items %}
2362
1d461ab9df80 basic migration to bootstrapv3, custom-bootstrap css added
sharky93 <rishabhr123@gmail.com>
parents: 2360
diff changeset
211
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
212 <div class="list-group-item moin-list-heading"> {{ _("Site Navigation") }} </div>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
213 {% for cls, url, text, title in navibar_items if cls != 'userlink' %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
214 <a class="list-group-item {{ cls }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
215 {% if url in [current_url, current_path, current_url_showview] %} active{% endif %}" href="{{ url }}"
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
216 {% if title %}title="{{ title }}"{% endif %}>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
217 {{ text|shorten_item_name }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
218 </a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
219 {% endfor %}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
220
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
221 {% if item_navigation %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
222 <div class="list-group-item moin-list-heading"> {{ _("Supplementation") }} </div>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
223 {{ local_panel_main(item_navigation) }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
224 {% endif %}
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
225
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
226 {% endif %}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
227
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
228 {% for cls, url, text, title in navibar_items if cls == 'userlink' %}
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
229 {% if loop.first %}
2467
7fbeb5863ae5 Fixes #62, differentiating menu headings
sharky93 <rishabhr123@gmail.com>
parents: 2466
diff changeset
230 <div class="list-group-item moin-list-heading">Quick Links</div>
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
231 {% endif %}
2708
b8680cd6cf91 Fixed quicklinks and their tooltips
Ajitesh Gupta <ajgupta93@gmail.com>
parents: 2686
diff changeset
232 <div class="moin-quicklink">
b8680cd6cf91 Fixed quicklinks and their tooltips
Ajitesh Gupta <ajgupta93@gmail.com>
parents: 2686
diff changeset
233 <a class="moin-quicklink-label {{ cls }}" href="{{ url }}" {% if title %}title="{{ title }} : {{ url|safe }}"{% else %}"{{ url|safe }}"{% endif %}>{{ text|shorten_item_name(20) }}
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
234 </a>
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
235 </div>
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
236 {% endfor %}
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
237 </div>
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
238 </div>
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
239 </div><!--first row of sidebar-->
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
240
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
241 <div class="row">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
242 <div class="col-md-12">
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
243 {% if self.local_panel %}
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
244 {{ self.local_panel() }}
2318
48e56f1ebd91 adds global nav, quick links, common css
sharky93 <rishabhr123@gmail.com>
parents: 2317
diff changeset
245 {% endif %}
2466
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
246 </div>
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
247 </div><!--second row of sidebar-->
214e0e41a34c Fixes #24 by shifting the local panel to the left, ideas inspired from #33
sharky93 <rishabhr123@gmail.com>
parents: 2465
diff changeset
248
2318
48e56f1ebd91 adds global nav, quick links, common css
sharky93 <rishabhr123@gmail.com>
parents: 2317
diff changeset
249 </div><!--/span-->
2319
61c9d0f302ea adds breadcrumbs
sharky93 <rishabhr123@gmail.com>
parents: 2318
diff changeset
250
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
251 <div class="col-md-10">
2498
82b1d312ae6e Fixes positioning of the flash-message
sharky93 <rishabhr123@gmail.com>
parents: 2496
diff changeset
252 <div class="row">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
253 <div class="col-md-12">
2498
82b1d312ae6e Fixes positioning of the flash-message
sharky93 <rishabhr123@gmail.com>
parents: 2496
diff changeset
254 {# id -> moin-flash is used to add special alerts for ex. for changes to User Settings via JS, see common.js #}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
255 <div id="moin-flash">
2498
82b1d312ae6e Fixes positioning of the flash-message
sharky93 <rishabhr123@gmail.com>
parents: 2496
diff changeset
256 {% for category, msg in get_flashed_messages(with_categories=true) %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
257 <div class="moin-flash moin-flash-{{ category }}">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
258 {{ msg }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
259 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
260 </div>
2498
82b1d312ae6e Fixes positioning of the flash-message
sharky93 <rishabhr123@gmail.com>
parents: 2496
diff changeset
261 {% endfor %}
82b1d312ae6e Fixes positioning of the flash-message
sharky93 <rishabhr123@gmail.com>
parents: 2496
diff changeset
262 </div>
82b1d312ae6e Fixes positioning of the flash-message
sharky93 <rishabhr123@gmail.com>
parents: 2496
diff changeset
263 </div>
82b1d312ae6e Fixes positioning of the flash-message
sharky93 <rishabhr123@gmail.com>
parents: 2496
diff changeset
264 </div> <!-- moin-flash-message -->
2320
35c88bb5613a adds tabs for itemviews, content display
sharky93 <rishabhr123@gmail.com>
parents: 2319
diff changeset
265
35c88bb5613a adds tabs for itemviews, content display
sharky93 <rishabhr123@gmail.com>
parents: 2319
diff changeset
266 {% block views %}
35c88bb5613a adds tabs for itemviews, content display
sharky93 <rishabhr123@gmail.com>
parents: 2319
diff changeset
267
35c88bb5613a adds tabs for itemviews, content display
sharky93 <rishabhr123@gmail.com>
parents: 2319
diff changeset
268 {% endblock %}
35c88bb5613a adds tabs for itemviews, content display
sharky93 <rishabhr123@gmail.com>
parents: 2319
diff changeset
269
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
270 <div class="row">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
271 {% set width = "col-md-12" %}
2347
c6bf9e64c84f removes the actions sidebar for the modify view
sharky93 <rishabhr123@gmail.com>
parents: 2333
diff changeset
272
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
273 <div class="{{width}}">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
274 {% set content_id = self.local_panel and 'moin-content' or 'moin-content-no-panel' %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
275 <div id="{{ content_id }}" lang="{{ theme_supp.content_lang }}" dir="{{ theme_supp.content_dir }}">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
276 {% block content %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
277 {# All content templates should implement this block. #}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
278 {% endblock %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
279 </div>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
280 </div><!--/span-->
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
281 </div><!--/row-->
2320
35c88bb5613a adds tabs for itemviews, content display
sharky93 <rishabhr123@gmail.com>
parents: 2319
diff changeset
282
2319
61c9d0f302ea adds breadcrumbs
sharky93 <rishabhr123@gmail.com>
parents: 2318
diff changeset
283 </div><!--/span-->
2468
fdb156e28049 Implements #33, new arrange of elements
sharky93 <rishabhr123@gmail.com>
parents: 2467
diff changeset
284 </div> <!--/row sidebar, tabs, content - main-->
2399
4112a46ce81d adds footer
sharky93 <rishabhr123@gmail.com>
parents: 2390
diff changeset
285
4112a46ce81d adds footer
sharky93 <rishabhr123@gmail.com>
parents: 2390
diff changeset
286 {% block footer %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
287 <div class="row moin-footer">
2794
1f7d8cc15805 change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
RogerHaase <haaserd@gmail.com>
parents: 2761
diff changeset
288 <div class="col-md-12">
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
289 <div class="navbar"> <!--footer-->
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
290 {{ footer_logos }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
291 {{ credits }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
292 </div>
2464
abd877320928 adds row for the footer
sharky93 <rishabhr123@gmail.com>
parents: 2462
diff changeset
293 </div>
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2720
diff changeset
294 </div> <!--/row for footer-->
2399
4112a46ce81d adds footer
sharky93 <rishabhr123@gmail.com>
parents: 2390
diff changeset
295 {% endblock %}
2567
81373904efeb whitespace changes only, based on coding_std.py plus a few manual edits
RogerHaase <haaserd@gmail.com>
parents: 2559
diff changeset
296 </div><!--/container-->
2464
abd877320928 adds row for the footer
sharky93 <rishabhr123@gmail.com>
parents: 2462
diff changeset
297 {% endblock %}
2500
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
298
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
299 {% block body_scripts %}
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
300 {{ super() }}
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
301 {{ basic_scripts }}
1892e3bf7b21 Serving the JS for basic theme, only for the basic theme
sharky93 <rishabhr123@gmail.com>
parents: 2499
diff changeset
302 {% endblock %}