Show More
@@ -9,9 +9,9 b'' | |||||
9 | <%def name="breadcrumbs()"> |
|
9 | <%def name="breadcrumbs()"> | |
10 | ${c.site_name} |
|
10 | ${c.site_name} | |
11 | </%def> |
|
11 | </%def> | |
12 | <%def name="page_nav()"> |
|
12 | <%block name="header_menu"> | |
13 | ${self.menu('about')} |
|
13 | ${self.menu('about')} | |
14 | </%def> |
|
14 | </%block> | |
15 | <%def name="main()"> |
|
15 | <%def name="main()"> | |
16 |
|
16 | |||
17 | <div class="box"> |
|
17 | <div class="box"> |
@@ -18,9 +18,9 b'' | |||||
18 | ${h.end_form()} |
|
18 | ${h.end_form()} | |
19 | </%def> |
|
19 | </%def> | |
20 |
|
20 | |||
21 | <%def name="page_nav()"> |
|
21 | <%block name="header_menu"> | |
22 | ${self.menu('admin')} |
|
22 | ${self.menu('admin')} | |
23 | </%def> |
|
23 | </%block> | |
24 | <%def name="main()"> |
|
24 | <%def name="main()"> | |
25 | <div class="box"> |
|
25 | <div class="box"> | |
26 | <!-- box / title --> |
|
26 | <!-- box / title --> |
@@ -14,9 +14,9 b'' | |||||
14 | ${_('Authentication')} |
|
14 | ${_('Authentication')} | |
15 | </%def> |
|
15 | </%def> | |
16 |
|
16 | |||
17 | <%def name="page_nav()"> |
|
17 | <%block name="header_menu"> | |
18 | ${self.menu('admin')} |
|
18 | ${self.menu('admin')} | |
19 | </%def> |
|
19 | </%block> | |
20 |
|
20 | |||
21 | <%def name="main()"> |
|
21 | <%def name="main()"> | |
22 | <div class="box"> |
|
22 | <div class="box"> |
@@ -14,9 +14,9 b'' | |||||
14 | ${_('Defaults')} |
|
14 | ${_('Defaults')} | |
15 | </%def> |
|
15 | </%def> | |
16 |
|
16 | |||
17 | <%def name="page_nav()"> |
|
17 | <%block name="header_menu"> | |
18 | ${self.menu('admin')} |
|
18 | ${self.menu('admin')} | |
19 | </%def> |
|
19 | </%block> | |
20 |
|
20 | |||
21 | <%def name="main()"> |
|
21 | <%def name="main()"> | |
22 | <div class="box"> |
|
22 | <div class="box"> |
@@ -21,9 +21,9 b'' | |||||
21 | ${_('Edit Gist')} · ${c.gist.gist_access_id} |
|
21 | ${_('Edit Gist')} · ${c.gist.gist_access_id} | |
22 | </%def> |
|
22 | </%def> | |
23 |
|
23 | |||
24 | <%def name="page_nav()"> |
|
24 | <%block name="header_menu"> | |
25 | ${self.menu('gists')} |
|
25 | ${self.menu('gists')} | |
26 | </%def> |
|
26 | </%block> | |
27 |
|
27 | |||
28 | <%def name="main()"> |
|
28 | <%def name="main()"> | |
29 | <div class="box"> |
|
29 | <div class="box"> |
@@ -25,9 +25,9 b'' | |||||
25 | - ${c.gists_pager.item_count} |
|
25 | - ${c.gists_pager.item_count} | |
26 | </%def> |
|
26 | </%def> | |
27 |
|
27 | |||
28 | <%def name="page_nav()"> |
|
28 | <%block name="header_menu"> | |
29 | ${self.menu('gists')} |
|
29 | ${self.menu('gists')} | |
30 | </%def> |
|
30 | </%block> | |
31 |
|
31 | |||
32 | <%def name="main()"> |
|
32 | <%def name="main()"> | |
33 | <div class="box"> |
|
33 | <div class="box"> |
@@ -21,9 +21,9 b'' | |||||
21 | ${_('New Gist')} |
|
21 | ${_('New Gist')} | |
22 | </%def> |
|
22 | </%def> | |
23 |
|
23 | |||
24 | <%def name="page_nav()"> |
|
24 | <%block name="header_menu"> | |
25 | ${self.menu('gists')} |
|
25 | ${self.menu('gists')} | |
26 | </%def> |
|
26 | </%block> | |
27 |
|
27 | |||
28 | <%def name="main()"> |
|
28 | <%def name="main()"> | |
29 | <div class="box"> |
|
29 | <div class="box"> |
@@ -13,9 +13,9 b'' | |||||
13 | / ${_('URL')}: ${c.gist.gist_url()} |
|
13 | / ${_('URL')}: ${c.gist.gist_url()} | |
14 | </%def> |
|
14 | </%def> | |
15 |
|
15 | |||
16 | <%def name="page_nav()"> |
|
16 | <%block name="header_menu"> | |
17 | ${self.menu('gists')} |
|
17 | ${self.menu('gists')} | |
18 | </%def> |
|
18 | </%block> | |
19 |
|
19 | |||
20 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
21 | <div class="box"> |
|
21 | <div class="box"> |
@@ -12,9 +12,9 b'' | |||||
12 | ${_('My Account')} |
|
12 | ${_('My Account')} | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 | |||
15 | <%def name="page_nav()"> |
|
15 | <%block name="header_menu"> | |
16 | ${self.menu('admin')} |
|
16 | ${self.menu('admin')} | |
17 | </%def> |
|
17 | </%block> | |
18 |
|
18 | |||
19 | <%def name="main()"> |
|
19 | <%def name="main()"> | |
20 | <div class="box" style="overflow:auto"> |
|
20 | <div class="box" style="overflow:auto"> |
@@ -12,9 +12,9 b'' | |||||
12 | ${_('My Notifications')} |
|
12 | ${_('My Notifications')} | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 | |||
15 | <%def name="page_nav()"> |
|
15 | <%block name="header_menu"> | |
16 | ${self.menu('admin')} |
|
16 | ${self.menu('admin')} | |
17 | </%def> |
|
17 | </%block> | |
18 |
|
18 | |||
19 | <%def name="main()"> |
|
19 | <%def name="main()"> | |
20 | <div class="box"> |
|
20 | <div class="box"> |
@@ -14,9 +14,9 b'' | |||||
14 | ${_('Show Notification')} |
|
14 | ${_('Show Notification')} | |
15 | </%def> |
|
15 | </%def> | |
16 |
|
16 | |||
17 | <%def name="page_nav()"> |
|
17 | <%block name="header_menu"> | |
18 | ${self.menu('admin')} |
|
18 | ${self.menu('admin')} | |
19 | </%def> |
|
19 | </%block> | |
20 |
|
20 | |||
21 | <%def name="main()"> |
|
21 | <%def name="main()"> | |
22 | <div class="box"> |
|
22 | <div class="box"> |
@@ -14,9 +14,9 b'' | |||||
14 | ${_('Permissions')} |
|
14 | ${_('Permissions')} | |
15 | </%def> |
|
15 | </%def> | |
16 |
|
16 | |||
17 | <%def name="page_nav()"> |
|
17 | <%block name="header_menu"> | |
18 | ${self.menu('admin')} |
|
18 | ${self.menu('admin')} | |
19 | </%def> |
|
19 | </%block> | |
20 |
|
20 | |||
21 |
|
21 | |||
22 | <%def name="main()"> |
|
22 | <%def name="main()"> |
@@ -16,9 +16,9 b'' | |||||
16 | ${_('Add Repository Group')} |
|
16 | ${_('Add Repository Group')} | |
17 | </%def> |
|
17 | </%def> | |
18 |
|
18 | |||
19 | <%def name="page_nav()"> |
|
19 | <%block name="header_menu"> | |
20 | ${self.menu('admin')} |
|
20 | ${self.menu('admin')} | |
21 | </%def> |
|
21 | </%block> | |
22 |
|
22 | |||
23 | <%def name="main()"> |
|
23 | <%def name="main()"> | |
24 | <div class="box"> |
|
24 | <div class="box"> |
@@ -26,9 +26,9 b'' | |||||
26 | </ul> |
|
26 | </ul> | |
27 | </%def> |
|
27 | </%def> | |
28 |
|
28 | |||
29 | <%def name="page_nav()"> |
|
29 | <%block name="header_menu"> | |
30 | ${self.menu('admin')} |
|
30 | ${self.menu('admin')} | |
31 | </%def> |
|
31 | </%block> | |
32 |
|
32 | |||
33 | <%def name="main()"> |
|
33 | <%def name="main()"> | |
34 | <div class="box" style="overflow:auto"> |
|
34 | <div class="box" style="overflow:auto"> |
@@ -17,9 +17,9 b'' | |||||
17 | </span> |
|
17 | </span> | |
18 | </%def> |
|
18 | </%def> | |
19 |
|
19 | |||
20 | <%def name="page_nav()"> |
|
20 | <%block name="header_menu"> | |
21 | ${self.menu('repositories')} |
|
21 | ${self.menu('repositories')} | |
22 | </%def> |
|
22 | </%block> | |
23 |
|
23 | |||
24 | <%def name="main()"> |
|
24 | <%def name="main()"> | |
25 | <%include file="/index_base.html" args="parent=self,group_name=c.group.group_name"/> |
|
25 | <%include file="/index_base.html" args="parent=self,group_name=c.group.group_name"/> |
@@ -14,9 +14,9 b'' | |||||
14 | </%def> |
|
14 | </%def> | |
15 |
|
15 | |||
16 |
|
16 | |||
17 | <%def name="page_nav()"> |
|
17 | <%block name="header_menu"> | |
18 | ${self.menu('admin')} |
|
18 | ${self.menu('admin')} | |
19 | </%def> |
|
19 | </%block> | |
20 |
|
20 | |||
21 | <%def name="main()"> |
|
21 | <%def name="main()"> | |
22 | <div class="box"> |
|
22 | <div class="box"> |
@@ -22,9 +22,9 b'' | |||||
22 | ${_('Add Repository')} |
|
22 | ${_('Add Repository')} | |
23 | </%def> |
|
23 | </%def> | |
24 |
|
24 | |||
25 | <%def name="page_nav()"> |
|
25 | <%block name="header_menu"> | |
26 | ${self.menu('admin')} |
|
26 | ${self.menu('admin')} | |
27 | </%def> |
|
27 | </%block> | |
28 |
|
28 | |||
29 | <%def name="main()"> |
|
29 | <%def name="main()"> | |
30 | <div class="box"> |
|
30 | <div class="box"> |
@@ -16,9 +16,9 b'' | |||||
16 | ${_('Creating repository')} ${c.repo} |
|
16 | ${_('Creating repository')} ${c.repo} | |
17 | </%def> |
|
17 | </%def> | |
18 |
|
18 | |||
19 | <%def name="page_nav()"> |
|
19 | <%block name="header_menu"> | |
20 | ${self.menu('repositories')} |
|
20 | ${self.menu('repositories')} | |
21 | </%def> |
|
21 | </%block> | |
22 | <%def name="main()"> |
|
22 | <%def name="main()"> | |
23 | <div class="box"> |
|
23 | <div class="box"> | |
24 | <!-- box / title --> |
|
24 | <!-- box / title --> |
@@ -15,9 +15,9 b'' | |||||
15 | ${_('Settings')} |
|
15 | ${_('Settings')} | |
16 | </%def> |
|
16 | </%def> | |
17 |
|
17 | |||
18 | <%def name="page_nav()"> |
|
18 | <%block name="header_menu"> | |
19 | ${self.menu('repositories')} |
|
19 | ${self.menu('repositories')} | |
20 | </%def> |
|
20 | </%block> | |
21 |
|
21 | |||
22 | <%def name="main()"> |
|
22 | <%def name="main()"> | |
23 | ${self.repo_context_bar('options')} |
|
23 | ${self.repo_context_bar('options')} |
@@ -11,9 +11,9 b'' | |||||
11 | <%def name="breadcrumbs_links()"> |
|
11 | <%def name="breadcrumbs_links()"> | |
12 | <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/> ${h.link_to(_('Admin'),h.url('admin_home'))} » <span id="repo_count">0</span> ${_('Repositories')} |
|
12 | <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/> ${h.link_to(_('Admin'),h.url('admin_home'))} » <span id="repo_count">0</span> ${_('Repositories')} | |
13 | </%def> |
|
13 | </%def> | |
14 | <%def name="page_nav()"> |
|
14 | <%block name="header_menu"> | |
15 | ${self.menu('admin')} |
|
15 | ${self.menu('admin')} | |
16 | </%def> |
|
16 | </%block> | |
17 | <%def name="main()"> |
|
17 | <%def name="main()"> | |
18 | <div class="box"> |
|
18 | <div class="box"> | |
19 |
|
19 |
@@ -14,9 +14,9 b'' | |||||
14 | ${_('Settings')} |
|
14 | ${_('Settings')} | |
15 | </%def> |
|
15 | </%def> | |
16 |
|
16 | |||
17 | <%def name="page_nav()"> |
|
17 | <%block name="header_menu"> | |
18 | ${self.menu('admin')} |
|
18 | ${self.menu('admin')} | |
19 | </%def> |
|
19 | </%block> | |
20 |
|
20 | |||
21 | <%def name="main()"> |
|
21 | <%def name="main()"> | |
22 | <div class="box" style="overflow:auto"> |
|
22 | <div class="box" style="overflow:auto"> |
@@ -15,9 +15,9 b'' | |||||
15 | ${_('Add User Group')} |
|
15 | ${_('Add User Group')} | |
16 | </%def> |
|
16 | </%def> | |
17 |
|
17 | |||
18 | <%def name="page_nav()"> |
|
18 | <%block name="header_menu"> | |
19 | ${self.menu('admin')} |
|
19 | ${self.menu('admin')} | |
20 | </%def> |
|
20 | </%block> | |
21 |
|
21 | |||
22 | <%def name="main()"> |
|
22 | <%def name="main()"> | |
23 | <div class="box"> |
|
23 | <div class="box"> |
@@ -16,9 +16,9 b'' | |||||
16 | ${c.user_group.users_group_name} |
|
16 | ${c.user_group.users_group_name} | |
17 | </%def> |
|
17 | </%def> | |
18 |
|
18 | |||
19 | <%def name="page_nav()"> |
|
19 | <%block name="header_menu"> | |
20 | ${self.menu('admin')} |
|
20 | ${self.menu('admin')} | |
21 | </%def> |
|
21 | </%block> | |
22 |
|
22 | |||
23 | <%def name="main()"> |
|
23 | <%def name="main()"> | |
24 | <div class="box" style="overflow:auto"> |
|
24 | <div class="box" style="overflow:auto"> |
@@ -13,9 +13,9 b'' | |||||
13 | ${h.link_to(_('Admin'),h.url('admin_home'))} » <span id="user_group_count">0</span> ${_('user groups')} |
|
13 | ${h.link_to(_('Admin'),h.url('admin_home'))} » <span id="user_group_count">0</span> ${_('user groups')} | |
14 | </%def> |
|
14 | </%def> | |
15 |
|
15 | |||
16 | <%def name="page_nav()"> |
|
16 | <%block name="header_menu"> | |
17 | ${self.menu('admin')} |
|
17 | ${self.menu('admin')} | |
18 | </%def> |
|
18 | </%block> | |
19 |
|
19 | |||
20 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
21 | <div class="box"> |
|
21 | <div class="box"> |
@@ -15,9 +15,9 b'' | |||||
15 | ${_('Add User')} |
|
15 | ${_('Add User')} | |
16 | </%def> |
|
16 | </%def> | |
17 |
|
17 | |||
18 | <%def name="page_nav()"> |
|
18 | <%block name="header_menu"> | |
19 | ${self.menu('admin')} |
|
19 | ${self.menu('admin')} | |
20 | </%def> |
|
20 | </%block> | |
21 |
|
21 | |||
22 | <%def name="main()"> |
|
22 | <%def name="main()"> | |
23 | <div class="box"> |
|
23 | <div class="box"> |
@@ -16,9 +16,9 b'' | |||||
16 | ${c.user.username} |
|
16 | ${c.user.username} | |
17 | </%def> |
|
17 | </%def> | |
18 |
|
18 | |||
19 | <%def name="page_nav()"> |
|
19 | <%block name="header_menu"> | |
20 | ${self.menu('admin')} |
|
20 | ${self.menu('admin')} | |
21 | </%def> |
|
21 | </%block> | |
22 |
|
22 | |||
23 | <%def name="main()"> |
|
23 | <%def name="main()"> | |
24 | <div class="box" style="overflow:auto"> |
|
24 | <div class="box" style="overflow:auto"> |
@@ -13,9 +13,9 b'' | |||||
13 | ${h.link_to(_('Admin'),h.url('admin_home'))} » <span id="user_count">0</span> ${_('Users')} |
|
13 | ${h.link_to(_('Admin'),h.url('admin_home'))} » <span id="user_count">0</span> ${_('Users')} | |
14 | </%def> |
|
14 | </%def> | |
15 |
|
15 | |||
16 | <%def name="page_nav()"> |
|
16 | <%block name="header_menu"> | |
17 | ${self.menu('admin')} |
|
17 | ${self.menu('admin')} | |
18 | </%def> |
|
18 | </%block> | |
19 |
|
19 | |||
20 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
21 | <div class="box"> |
|
21 | <div class="box"> |
@@ -1,27 +1,6 b'' | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 | <%inherit file="root.html"/> |
|
2 | <%inherit file="root.html"/> | |
3 |
|
3 | |||
4 | <!-- HEADER --> |
|
|||
5 | <div id="header"> |
|
|||
6 | <div id="header-inner" class="title"> |
|
|||
7 | <div id="logo"> |
|
|||
8 | <a href="${h.url('home')}" style="display: block;"> |
|
|||
9 | <div class="header"> |
|
|||
10 | <img src="${h.url('/images/kallithea-logo.svg')}" onerror="this.onerror='';this.src='${h.url('/images/kallithea-logo.png')}'" alt="Kallithea"/> |
|
|||
11 | </div> |
|
|||
12 | %if c.site_name: |
|
|||
13 | <div class="branding">${c.site_name}</div> |
|
|||
14 | %endif |
|
|||
15 | </a> |
|
|||
16 | </div> |
|
|||
17 | <!-- MENU --> |
|
|||
18 | ${self.page_nav()} |
|
|||
19 | <!-- END MENU --> |
|
|||
20 | ${self.body()} |
|
|||
21 | </div> |
|
|||
22 | </div> |
|
|||
23 | <!-- END HEADER --> |
|
|||
24 |
|
||||
25 | <!-- CONTENT --> |
|
4 | <!-- CONTENT --> | |
26 | <div id="content"> |
|
5 | <div id="content"> | |
27 | ${self.flash_msg()} |
|
6 | ${self.flash_msg()} |
@@ -122,6 +122,22 b'' | |||||
122 | <script>$(document.body).addClass('ie9')</script> |
|
122 | <script>$(document.body).addClass('ie9')</script> | |
123 | <![endif]--> |
|
123 | <![endif]--> | |
124 |
|
124 | |||
|
125 | <div id="header"> | |||
|
126 | <div id="header-inner" class="title"> | |||
|
127 | <div id="logo"> | |||
|
128 | <a href="${h.url('home')}" style="display: block;"> | |||
|
129 | <div class="header"> | |||
|
130 | <img src="${h.url('/images/kallithea-logo.svg')}" onerror="this.onerror='';this.src='${h.url('/images/kallithea-logo.png')}'" alt="Kallithea"/> | |||
|
131 | </div> | |||
|
132 | %if c.site_name: | |||
|
133 | <div class="branding">${c.site_name}</div> | |||
|
134 | %endif | |||
|
135 | </a> | |||
|
136 | </div> | |||
|
137 | <%block name="header_menu"/> | |||
|
138 | </div> | |||
|
139 | </div> | |||
|
140 | ||||
125 | ${next.body()} |
|
141 | ${next.body()} | |
126 |
|
142 | |||
127 | %if c.ga_code: |
|
143 | %if c.ga_code: |
@@ -13,9 +13,9 b'' | |||||
13 | ${_('Bookmarks')} |
|
13 | ${_('Bookmarks')} | |
14 | </%def> |
|
14 | </%def> | |
15 |
|
15 | |||
16 | <%def name="page_nav()"> |
|
16 | <%block name="header_menu"> | |
17 | ${self.menu('repositories')} |
|
17 | ${self.menu('repositories')} | |
18 | </%def> |
|
18 | </%block> | |
19 |
|
19 | |||
20 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
21 | ${self.repo_context_bar('switch-to')} |
|
21 | ${self.repo_context_bar('switch-to')} |
@@ -13,9 +13,9 b'' | |||||
13 | ${_('Branches')} |
|
13 | ${_('Branches')} | |
14 | </%def> |
|
14 | </%def> | |
15 |
|
15 | |||
16 | <%def name="page_nav()"> |
|
16 | <%block name="header_menu"> | |
17 | ${self.menu('repositories')} |
|
17 | ${self.menu('repositories')} | |
18 | </%def> |
|
18 | </%block> | |
19 |
|
19 | |||
20 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
21 | ${self.repo_context_bar('switch-to')} |
|
21 | ${self.repo_context_bar('switch-to')} |
@@ -24,9 +24,9 b'' | |||||
24 | - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)} |
|
24 | - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)} | |
25 | </%def> |
|
25 | </%def> | |
26 |
|
26 | |||
27 | <%def name="page_nav()"> |
|
27 | <%block name="header_menu"> | |
28 | ${self.menu('repositories')} |
|
28 | ${self.menu('repositories')} | |
29 | </%def> |
|
29 | </%block> | |
30 |
|
30 | |||
31 | <%def name="main()"> |
|
31 | <%def name="main()"> | |
32 | ${self.repo_context_bar('changelog', c.first_revision.raw_id if c.first_revision else None)} |
|
32 | ${self.repo_context_bar('changelog', c.first_revision.raw_id if c.first_revision else None)} |
@@ -13,9 +13,9 b'' | |||||
13 | ${_('Changeset')} - <span class='hash'>${h.show_id(c.changeset)}</span> |
|
13 | ${_('Changeset')} - <span class='hash'>${h.show_id(c.changeset)}</span> | |
14 | </%def> |
|
14 | </%def> | |
15 |
|
15 | |||
16 | <%def name="page_nav()"> |
|
16 | <%block name="header_menu"> | |
17 | ${self.menu('repositories')} |
|
17 | ${self.menu('repositories')} | |
18 | </%def> |
|
18 | </%block> | |
19 |
|
19 | |||
20 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
21 | ${self.repo_context_bar('changelog', c.changeset.raw_id)} |
|
21 | ${self.repo_context_bar('changelog', c.changeset.raw_id)} |
@@ -15,9 +15,9 b'' | |||||
15 | ${h.link_to(h.show_id(c.cs_ranges[-1]),h.url('changeset_home',repo_name=c.repo_name,revision=c.cs_ranges[-1]))}</td> |
|
15 | ${h.link_to(h.show_id(c.cs_ranges[-1]),h.url('changeset_home',repo_name=c.repo_name,revision=c.cs_ranges[-1]))}</td> | |
16 | </%def> |
|
16 | </%def> | |
17 |
|
17 | |||
18 | <%def name="page_nav()"> |
|
18 | <%block name="header_menu"> | |
19 | ${self.menu('repositories')} |
|
19 | ${self.menu('repositories')} | |
20 | </%def> |
|
20 | </%block> | |
21 |
|
21 | |||
22 | <%def name="main()"> |
|
22 | <%def name="main()"> | |
23 | ${self.repo_context_bar('changelog')} |
|
23 | ${self.repo_context_bar('changelog')} |
@@ -16,9 +16,9 b'' | |||||
16 | ${_('Compare Revisions')} |
|
16 | ${_('Compare Revisions')} | |
17 | </%def> |
|
17 | </%def> | |
18 |
|
18 | |||
19 | <%def name="page_nav()"> |
|
19 | <%block name="header_menu"> | |
20 | ${self.menu('repositories')} |
|
20 | ${self.menu('repositories')} | |
21 | </%def> |
|
21 | </%block> | |
22 |
|
22 | |||
23 | <%def name="main()"> |
|
23 | <%def name="main()"> | |
24 | ${self.repo_context_bar('changelog')} |
|
24 | ${self.repo_context_bar('changelog')} |
@@ -22,9 +22,9 b'' | |||||
22 | ${_('File diff')} ${h.show_id(c.changeset_1)} → ${h.show_id(c.changeset_2)} |
|
22 | ${_('File diff')} ${h.show_id(c.changeset_1)} → ${h.show_id(c.changeset_2)} | |
23 | </%def> |
|
23 | </%def> | |
24 |
|
24 | |||
25 | <%def name="page_nav()"> |
|
25 | <%block name="header_menu"> | |
26 | ${self.menu('repositories')} |
|
26 | ${self.menu('repositories')} | |
27 | </%def> |
|
27 | </%block> | |
28 |
|
28 | |||
29 | <%def name="main()"> |
|
29 | <%def name="main()"> | |
30 | ${self.repo_context_bar('changelog')} |
|
30 | ${self.repo_context_bar('changelog')} |
@@ -11,9 +11,9 b'' | |||||
11 | ${_('File diff')} ${h.show_id(c.changeset_1)} → ${h.show_id(c.changeset_2)} |
|
11 | ${_('File diff')} ${h.show_id(c.changeset_1)} → ${h.show_id(c.changeset_2)} | |
12 | </%def> |
|
12 | </%def> | |
13 |
|
13 | |||
14 | <%def name="page_nav()"> |
|
14 | <%block name="header_menu"> | |
15 | ${self.menu('repositories')} |
|
15 | ${self.menu('repositories')} | |
16 | </%def> |
|
16 | </%block> | |
17 |
|
17 | |||
18 | <%def name="main()"> |
|
18 | <%def name="main()"> | |
19 | ${self.repo_context_bar('changelog')} |
|
19 | ${self.repo_context_bar('changelog')} |
@@ -18,9 +18,9 b'' | |||||
18 | %endif |
|
18 | %endif | |
19 | </%def> |
|
19 | </%def> | |
20 |
|
20 | |||
21 | <%def name="page_nav()"> |
|
21 | <%block name="header_menu"> | |
22 | ${self.menu('repositories')} |
|
22 | ${self.menu('repositories')} | |
23 | </%def> |
|
23 | </%block> | |
24 |
|
24 | |||
25 | <%def name="main()"> |
|
25 | <%def name="main()"> | |
26 | ${self.repo_context_bar('files', c.revision)} |
|
26 | ${self.repo_context_bar('files', c.revision)} |
@@ -16,9 +16,9 b'' | |||||
16 | <link rel="stylesheet" type="text/css" href="${h.url('/codemirror/lib/codemirror.css')}"/> |
|
16 | <link rel="stylesheet" type="text/css" href="${h.url('/codemirror/lib/codemirror.css')}"/> | |
17 | </%def> |
|
17 | </%def> | |
18 |
|
18 | |||
19 | <%def name="page_nav()"> |
|
19 | <%block name="header_menu"> | |
20 | ${self.menu('repositories')} |
|
20 | ${self.menu('repositories')} | |
21 | </%def> |
|
21 | </%block> | |
22 |
|
22 | |||
23 | <%def name="breadcrumbs_links()"> |
|
23 | <%def name="breadcrumbs_links()"> | |
24 | ${_('Add New File')} @ ${h.show_id(c.cs)} |
|
24 | ${_('Add New File')} @ ${h.show_id(c.cs)} |
@@ -7,9 +7,9 b'' | |||||
7 | %endif |
|
7 | %endif | |
8 | </%def> |
|
8 | </%def> | |
9 |
|
9 | |||
10 | <%def name="page_nav()"> |
|
10 | <%block name="header_menu"> | |
11 | ${self.menu('repositories')} |
|
11 | ${self.menu('repositories')} | |
12 | </%def> |
|
12 | </%block> | |
13 |
|
13 | |||
14 | <%def name="breadcrumbs_links()"> |
|
14 | <%def name="breadcrumbs_links()"> | |
15 | ${_('Delete file')} @ ${h.show_id(c.cs)} |
|
15 | ${_('Delete file')} @ ${h.show_id(c.cs)} |
@@ -16,9 +16,9 b'' | |||||
16 | <link rel="stylesheet" type="text/css" href="${h.url('/codemirror/lib/codemirror.css')}"/> |
|
16 | <link rel="stylesheet" type="text/css" href="${h.url('/codemirror/lib/codemirror.css')}"/> | |
17 | </%def> |
|
17 | </%def> | |
18 |
|
18 | |||
19 | <%def name="page_nav()"> |
|
19 | <%block name="header_menu"> | |
20 | ${self.menu('repositories')} |
|
20 | ${self.menu('repositories')} | |
21 | </%def> |
|
21 | </%block> | |
22 |
|
22 | |||
23 | <%def name="breadcrumbs_links()"> |
|
23 | <%def name="breadcrumbs_links()"> | |
24 | ${_('Edit file')} @ ${h.show_id(c.cs)} |
|
24 | ${_('Edit file')} @ ${h.show_id(c.cs)} |
@@ -12,9 +12,9 b'' | |||||
12 | ${_('Followers')} |
|
12 | ${_('Followers')} | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 | |||
15 | <%def name="page_nav()"> |
|
15 | <%block name="header_menu"> | |
16 | ${self.menu('repositories')} |
|
16 | ${self.menu('repositories')} | |
17 | </%def> |
|
17 | </%block> | |
18 | <%def name="main()"> |
|
18 | <%def name="main()"> | |
19 | ${self.repo_context_bar('followers')} |
|
19 | ${self.repo_context_bar('followers')} | |
20 | <div class="box"> |
|
20 | <div class="box"> |
@@ -12,9 +12,9 b'' | |||||
12 | ${_('Fork')} |
|
12 | ${_('Fork')} | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 | |||
15 | <%def name="page_nav()"> |
|
15 | <%block name="header_menu"> | |
16 | ${self.menu('repositories')} |
|
16 | ${self.menu('repositories')} | |
17 | </%def> |
|
17 | </%block> | |
18 |
|
18 | |||
19 | <%def name="main()"> |
|
19 | <%def name="main()"> | |
20 | ${self.repo_context_bar('createfork')} |
|
20 | ${self.repo_context_bar('createfork')} |
@@ -12,9 +12,9 b'' | |||||
12 | ${_('Forks')} |
|
12 | ${_('Forks')} | |
13 | </%def> |
|
13 | </%def> | |
14 |
|
14 | |||
15 | <%def name="page_nav()"> |
|
15 | <%block name="header_menu"> | |
16 | ${self.menu('repositories')} |
|
16 | ${self.menu('repositories')} | |
17 | </%def> |
|
17 | </%block> | |
18 |
|
18 | |||
19 | <%def name="main()"> |
|
19 | <%def name="main()"> | |
20 | ${self.repo_context_bar('showforks')} |
|
20 | ${self.repo_context_bar('showforks')} |
@@ -11,9 +11,9 b'' | |||||
11 | <%def name="breadcrumbs()"> |
|
11 | <%def name="breadcrumbs()"> | |
12 | </%def> |
|
12 | </%def> | |
13 |
|
13 | |||
14 | <%def name="page_nav()"> |
|
14 | <%block name="header_menu"> | |
15 | ${self.menu('repositories')} |
|
15 | ${self.menu('repositories')} | |
16 | </%def> |
|
16 | </%block> | |
17 |
|
17 | |||
18 | <%def name="main()"> |
|
18 | <%def name="main()"> | |
19 | <%include file="index_base.html" args="parent=self"/> |
|
19 | <%include file="index_base.html" args="parent=self"/> |
@@ -17,9 +17,9 b'' | |||||
17 | ${h.end_form()} |
|
17 | ${h.end_form()} | |
18 | </h5> |
|
18 | </h5> | |
19 | </%def> |
|
19 | </%def> | |
20 | <%def name="page_nav()"> |
|
20 | <%block name="header_menu"> | |
21 | ${self.menu('journal')} |
|
21 | ${self.menu('journal')} | |
22 | </%def> |
|
22 | </%block> | |
23 | <%def name="head_extra()"> |
|
23 | <%def name="head_extra()"> | |
24 | <link href="${h.url('journal_atom', api_key=c.authuser.api_key)}" rel="alternate" title="${_('ATOM journal feed')}" type="application/atom+xml" /> |
|
24 | <link href="${h.url('journal_atom', api_key=c.authuser.api_key)}" rel="alternate" title="${_('ATOM journal feed')}" type="application/atom+xml" /> | |
25 | <link href="${h.url('journal_rss', api_key=c.authuser.api_key)}" rel="alternate" title="${_('RSS journal feed')}" type="application/rss+xml" /> |
|
25 | <link href="${h.url('journal_rss', api_key=c.authuser.api_key)}" rel="alternate" title="${_('RSS journal feed')}" type="application/rss+xml" /> |
@@ -9,9 +9,9 b'' | |||||
9 | <%def name="breadcrumbs()"> |
|
9 | <%def name="breadcrumbs()"> | |
10 | ${c.site_name} |
|
10 | ${c.site_name} | |
11 | </%def> |
|
11 | </%def> | |
12 | <%def name="page_nav()"> |
|
12 | <%block name="header_menu"> | |
13 | ${self.menu('journal')} |
|
13 | ${self.menu('journal')} | |
14 | </%def> |
|
14 | </%block> | |
15 | <%def name="head_extra()"> |
|
15 | <%def name="head_extra()"> | |
16 | <link href="${h.url('public_journal_atom')}" rel="alternate" title="${_('ATOM public journal feed')}" type="application/atom+xml" /> |
|
16 | <link href="${h.url('public_journal_atom')}" rel="alternate" title="${_('ATOM public journal feed')}" type="application/atom+xml" /> | |
17 | <link href="${h.url('public_journal_rss')}" rel="alternate" title="${_('RSS public journal feed')}" type="application/rss+xml" /> |
|
17 | <link href="${h.url('public_journal_rss')}" rel="alternate" title="${_('RSS public journal feed')}" type="application/rss+xml" /> |
@@ -8,22 +8,6 b'' | |||||
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 | |||
11 |
|
||||
12 | <div id="header"> |
|
|||
13 | <div id="header-inner" class="title"> |
|
|||
14 | <div id="logo"> |
|
|||
15 | <a href="${h.url('home')}" style="display: block;"> |
|
|||
16 | <div class="header"> |
|
|||
17 | <img src="${h.url('/images/kallithea-logo.svg')}" onerror="this.onerror='';this.src='${h.url('/images/kallithea-logo.png')}'" alt="Kallithea"/> |
|
|||
18 | </div> |
|
|||
19 | %if c.site_name: |
|
|||
20 | <div class="branding">${c.site_name}</div> |
|
|||
21 | %endif |
|
|||
22 | </a> |
|
|||
23 | </div> |
|
|||
24 | </div> |
|
|||
25 | </div> |
|
|||
26 |
|
||||
27 | <div id="login"> |
|
11 | <div id="login"> | |
28 | <%include file="/base/flash_msg.html"/> |
|
12 | <%include file="/base/flash_msg.html"/> | |
29 | <!-- login --> |
|
13 | <!-- login --> |
@@ -8,22 +8,6 b'' | |||||
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 | |||
11 |
|
||||
12 | <div id="header"> |
|
|||
13 | <div id="header-inner" class="title"> |
|
|||
14 | <div id="logo"> |
|
|||
15 | <a href="${h.url('home')}" style="display: block;"> |
|
|||
16 | <div class="header"> |
|
|||
17 | <img src="${h.url('/images/kallithea-logo.svg')}" onerror="this.onerror='';this.src='${h.url('/images/kallithea-logo.png')}'" alt="Kallithea"/> |
|
|||
18 | </div> |
|
|||
19 | %if c.site_name: |
|
|||
20 | <div class="branding">${c.site_name}</div> |
|
|||
21 | %endif |
|
|||
22 | </a> |
|
|||
23 | </div> |
|
|||
24 | </div> |
|
|||
25 | </div> |
|
|||
26 |
|
||||
27 | <div id="register"> |
|
11 | <div id="register"> | |
28 | <%include file="/base/flash_msg.html"/> |
|
12 | <%include file="/base/flash_msg.html"/> | |
29 | <div class="title withlogo"> |
|
13 | <div class="title withlogo"> |
@@ -8,9 +8,9 b'' | |||||
8 | ${_('New Pull Request')} |
|
8 | ${_('New Pull Request')} | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 | |||
11 | <%def name="page_nav()"> |
|
11 | <%block name="header_menu"> | |
12 | ${self.menu('repositories')} |
|
12 | ${self.menu('repositories')} | |
13 | </%def> |
|
13 | </%block> | |
14 |
|
14 | |||
15 | <%def name="main()"> |
|
15 | <%def name="main()"> | |
16 | ${self.repo_context_bar('showpullrequest')} |
|
16 | ${self.repo_context_bar('showpullrequest')} |
@@ -11,9 +11,9 b'' | |||||
11 | ${_('Pull request #%s from %s#%s') % (c.pull_request.pull_request_id, c.pull_request.org_repo.repo_name, c.cs_branch_name)} |
|
11 | ${_('Pull request #%s from %s#%s') % (c.pull_request.pull_request_id, c.pull_request.org_repo.repo_name, c.cs_branch_name)} | |
12 | </%def> |
|
12 | </%def> | |
13 |
|
13 | |||
14 | <%def name="page_nav()"> |
|
14 | <%block name="header_menu"> | |
15 | ${self.menu('repositories')} |
|
15 | ${self.menu('repositories')} | |
16 | </%def> |
|
16 | </%block> | |
17 |
|
17 | |||
18 | <%def name="main()"> |
|
18 | <%def name="main()"> | |
19 | <% editable = not c.pull_request.is_closed() and (h.HasPermissionAny('hg.admin')() or h.HasRepoPermissionAny('repository.admin')(c.repo_name) or c.pull_request.author.user_id == c.authuser.user_id) %> |
|
19 | <% editable = not c.pull_request.is_closed() and (h.HasPermissionAny('hg.admin')() or h.HasRepoPermissionAny('repository.admin')(c.repo_name) or c.pull_request.author.user_id == c.authuser.user_id) %> |
@@ -15,9 +15,9 b'' | |||||
15 | %endif |
|
15 | %endif | |
16 | </%def> |
|
16 | </%def> | |
17 |
|
17 | |||
18 | <%def name="page_nav()"> |
|
18 | <%block name="header_menu"> | |
19 | ${self.menu('repositories')} |
|
19 | ${self.menu('repositories')} | |
20 | </%def> |
|
20 | </%block> | |
21 |
|
21 | |||
22 | <%def name="main()"> |
|
22 | <%def name="main()"> | |
23 | ${self.repo_context_bar('showpullrequest')} |
|
23 | ${self.repo_context_bar('showpullrequest')} |
@@ -8,9 +8,9 b'' | |||||
8 | ${_('My Pull Requests')} |
|
8 | ${_('My Pull Requests')} | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 | |||
11 | <%def name="page_nav()"> |
|
11 | <%block name="header_menu"> | |
12 | ${self.menu('my_pullrequests')} |
|
12 | ${self.menu('my_pullrequests')} | |
13 | </%def> |
|
13 | </%block> | |
14 |
|
14 | |||
15 | <%def name="main()"> |
|
15 | <%def name="main()"> | |
16 |
|
16 |
@@ -7,21 +7,6 b'' | |||||
7 | · ${c.site_name} |
|
7 | · ${c.site_name} | |
8 | %endif |
|
8 | %endif | |
9 | </%def> |
|
9 | </%def> | |
10 | <div id="header"> |
|
|||
11 | <div id="header-inner" class="title"> |
|
|||
12 | <div id="logo"> |
|
|||
13 | <a href="${h.url('home')}" style="display: block;"> |
|
|||
14 | <div class="header"> |
|
|||
15 | <img src="${h.url('/images/kallithea-logo.svg')}" onerror="this.onerror='';this.src='${h.url('/images/kallithea-logo.png')}'" alt="Kallithea"/> |
|
|||
16 | </div> |
|
|||
17 | %if c.site_name: |
|
|||
18 | <div class="branding">${c.site_name}</div> |
|
|||
19 | %endif |
|
|||
20 | </a> |
|
|||
21 | </div> |
|
|||
22 | </div> |
|
|||
23 | </div> |
|
|||
24 |
|
||||
25 |
|
10 | |||
26 | <div id="register"> |
|
11 | <div id="register"> | |
27 | <%include file="/base/flash_msg.html"/> |
|
12 | <%include file="/base/flash_msg.html"/> |
@@ -24,13 +24,13 b'' | |||||
24 | %endif |
|
24 | %endif | |
25 | </%def> |
|
25 | </%def> | |
26 |
|
26 | |||
27 | <%def name="page_nav()"> |
|
27 | <%block name="header_menu"> | |
28 | %if c.repo_name: |
|
28 | %if c.repo_name: | |
29 | ${self.menu('repositories')} |
|
29 | ${self.menu('repositories')} | |
30 | %else: |
|
30 | %else: | |
31 | ${self.menu('search')} |
|
31 | ${self.menu('search')} | |
32 | %endif |
|
32 | %endif | |
33 | </%def> |
|
33 | </%block> | |
34 | <%def name="main()"> |
|
34 | <%def name="main()"> | |
35 | %if c.repo_name: |
|
35 | %if c.repo_name: | |
36 | ${self.repo_context_bar('options')} |
|
36 | ${self.repo_context_bar('options')} |
@@ -11,9 +11,9 b'' | |||||
11 | ${_('Statistics')} |
|
11 | ${_('Statistics')} | |
12 | </%def> |
|
12 | </%def> | |
13 |
|
13 | |||
14 | <%def name="page_nav()"> |
|
14 | <%block name="header_menu"> | |
15 | ${self.menu('repositories')} |
|
15 | ${self.menu('repositories')} | |
16 | </%def> |
|
16 | </%block> | |
17 |
|
17 | |||
18 | <%def name="head_extra()"> |
|
18 | <%def name="head_extra()"> | |
19 | <link href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name,api_key=c.authuser.api_key)}" rel="alternate" title="${_('%s ATOM feed') % c.repo_name}" type="application/atom+xml" /> |
|
19 | <link href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name,api_key=c.authuser.api_key)}" rel="alternate" title="${_('%s ATOM feed') % c.repo_name}" type="application/atom+xml" /> |
@@ -34,9 +34,9 b'' | |||||
34 | %endif |
|
34 | %endif | |
35 | </%def> |
|
35 | </%def> | |
36 |
|
36 | |||
37 | <%def name="page_nav()"> |
|
37 | <%block name="header_menu"> | |
38 | ${self.menu('repositories')} |
|
38 | ${self.menu('repositories')} | |
39 | </%def> |
|
39 | </%block> | |
40 |
|
40 | |||
41 | <%def name="head_extra()"> |
|
41 | <%def name="head_extra()"> | |
42 | <link href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name,api_key=c.authuser.api_key)}" rel="alternate" title="${_('%s ATOM feed') % c.repo_name}" type="application/atom+xml" /> |
|
42 | <link href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name,api_key=c.authuser.api_key)}" rel="alternate" title="${_('%s ATOM feed') % c.repo_name}" type="application/atom+xml" /> |
@@ -13,9 +13,9 b'' | |||||
13 | ${_('Tags')} |
|
13 | ${_('Tags')} | |
14 | </%def> |
|
14 | </%def> | |
15 |
|
15 | |||
16 | <%def name="page_nav()"> |
|
16 | <%block name="header_menu"> | |
17 | ${self.menu('repositories')} |
|
17 | ${self.menu('repositories')} | |
18 | </%def> |
|
18 | </%block> | |
19 |
|
19 | |||
20 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
21 | ${self.repo_context_bar('switch-to')} |
|
21 | ${self.repo_context_bar('switch-to')} |
General Comments 0
You need to be logged in to leave comments.
Login now