Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(44)

Delta Between Two Patch Sets: MoinMoin/themes/modernized/templates/layout.html

Issue 242460043: Automation + Global History
Left Patch Set: After fixing coding-std errors Created 8 years, 9 months ago
Right Patch Set: Changes suggested by mentors Created 8 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « MoinMoin/themes/modernized/templates/index.html ('k') | MoinMoin/themes/modernized/templates/utils.html » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 {% extends "base.html" %}
2 {% import "snippets.html" as snippets with context %}
3 {% import theme("utils.html") as utils %}
4 {% set logo = snippets.logo() %}
5 {% set before_header = snippets.before_header() %}
6 {% set after_header = snippets.after_header() %}
7 {% set before_footer = snippets.before_footer() %}
8 {% set after_footer = snippets.after_footer() %}
9 {% set license_info = snippets.license_info() %}
10 {% set creditlogos = snippets.creditlogos() %}
11 {% set credits = snippets.credits() %}
12 {% block layout %}
13
14 <!-- Navigation Block -->
15 <div class="container">
16 <div class="top-nav">
17 <!-- Top Navigation -->
18 <nav class="navbar navbar-inverse moin-topnav" >
19 <div class="container-fluid moin-topnav-container" >
20 <div class="navbar-header">
21 <button type="button" class="navbar-toggle collapsed" data-t oggle="collapse" data-target="#side-menu">
22 <span class="sr-only">
23 Toggle navigation
24 </span>
25 <span class="icon-bar">
26 </span>
27 <span class="icon-bar">
28 </span>
29 <span class="icon-bar">
30 </span>
31 </button>
32 <a class="navbar-brand moin-logo" href="/" >
33 <div class="row">
34 {{ logo }}
35 {{ cfg.sitename }}
36 </div>
37 </a>
38 <div class="container-fluid" style="color:white">
39 {{ utils.breadcrumbs(theme_supp.path_breadcrumbs, title_ name) }}
40 </div>
41 </div>
42 <div class="collapse navbar-collapse" id="side-menu">
43 <ul class="nav navbar-nav">
44 </ul>
45 <ul class="nav navbar-nav navbar-right">
46 <form class="navbar-form navbar-left" role="search" acti on="+search">
47 <div class="form-group">
48 <input type="text" class="form-control" placehol der="Search" name="q">
49 </div>
50 <button type="submit" class="btn btn-default">
51 Submit
52 </button>
53 </form>
54 {% if user.valid -%}
55 {% set avatar = user.avatar(20) %}
56 {% if avatar %}
57 <img id="moin-avatar" src="{{ avatar }}" />
58 {%- endif %}
59 {% if user.name -%}
60 {% set wiki_href, display_name, title, exists = them e_supp.userhome() %}
61 <li>
62 <a href="{{ wiki_href }}" {% if not exists %}cla ss="moin-nonexistent"{% endif %} rel="nofollow" title="{{ title }}">
63 {{ display_name }}</a>
64 </li>
65 {% if 'frontend.usersettings' not in cfg.endpoints_e xcluded -%}
66 <li>
67 <a href="{{ url_for('frontend.usersettings') }}" class="moin-usersettings" rel="nofollow">
68 {{ _('Settings') }}
69 </a>
70 </li>
71 {%- endif %}
72 {%- endif %}
73 {% if user.auth_method in cfg.auth_can_logou t %}
74 <li>
75 <a href="{{ url_for('frontend.logout ', logout_submit=1) }}" class="moin-logout" rel="nofollow">
76 {{ _('Logout') }}
77 </a>
78 </li>
79 {% endif %}
80 {% else %}
81 {% set login_url = theme_supp.login_url() %}
82 {% if login_url %}
83 <li>
84 <a href="{{ login_url }}" class="moi n-login" rel="nofollow">
85 {{ _('Login') }}
86 </a>
87 </li>
88 {% endif %}
89 {%- endif %}
90 </ul>
91 </div>
92 </div>
93 </nav>
94
95 <!-- Sub menu navigation tabs-->
96 <div role="tabpanel" class="submenu">
97 {% set navibar_items = theme_supp.navibar(fqname) %}
98 {% if navibar_items %}
99 <ul class="nav nav-tabs moin-panel" role="tablist">
100 {% for cls, url, text, title in navibar_items %}
101 <li role="presentation">
102 <a href="{{ url }}" >
103 {{ text }}
104 </a>
105 </li>
106 {% endfor %}
107 </ul>
108 {% endif %}
109 </div>
110 <!-- Item Views -->
111 <div role="tabpanel" class="itemviews" >
112 {% block header_itemviews %}{% endblock %}
113 </div>
114 </div>
115 <!-- Wiki Body -->
116 <div class="row">
117 <div class="container">
118 {% block item -%}
119 {# If you want itemviews in your template, extend fr om show.html, not from here. #}
120 <div id="moin-content">
121 <div id="moin-flash">
122 {# client side javascript may add messages h ere #}
123 {% for category, msg in get_flashed_messages (with_categories=true) %}
124 <p class="moin-flash moin-flash-{{ categ ory }}">
125 {{ msg }}
126 </p>
127 {% endfor %}
128 </div>
129 {% block content %}
130 {# All content templates should have impleme nt this block. #}
131 {% endblock %}
132 </div>
133 {%- endblock %}
134 </div>
135 </div>
136
137
138 <footer class="footer">
139 <div class="container" style="background-color:#444EB6; colo r:white">
140 {% block footer %}
141 {% block footer_hr %}<hr/>{% endblock %}
142
143 {% block footer_meta %}{% endblock %}
144 {{ creditlogos }}
145 {{ credits }}
146 {{ license_info }}
147 {% endblock %}
148 </div>
149 </footer>
150 </div>
151
152 {% endblock %}
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b