annotate pylons_app/templates/admin/repos/repos.html @ 161:9936a1d359e0

fixed pages naves html errors
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 19 May 2010 00:20:18 +0200
parents 20dc7a5eb748
children fec7d0707e72
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
127
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 105
diff changeset
1 <%inherit file="/base/base.html"/>
44
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
2 <%def name="title()">
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
3 ${_('Repository managment')}
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
4 </%def>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
5 <%def name="breadcrumbs()">
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
6 ${h.link_to(u'Home',h.url('/'))}
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
7 /
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
8 ${h.link_to(u'Admin',h.url('admin_home'))}
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
9 /
47
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
10 ${h.link_to(u'Repos managment',h.url('repos'))}
44
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
11 </%def>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
12 <%def name="page_nav()">
161
9936a1d359e0 fixed pages naves html errors
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
13 <ul class="page-nav">
44
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
14 <li>${h.link_to(u'Home',h.url('/'))}</li>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
15 <li class="current">${_('Admin')}</li>
161
9936a1d359e0 fixed pages naves html errors
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
16 </ul>
44
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
17 </%def>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
18 <%def name="main()">
47
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
19 <ul class="submenu">
105
3ac4350b7848 Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 58
diff changeset
20 <li>
3ac4350b7848 Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 58
diff changeset
21 ${h.link_to(u'Repos',h.url('repos'), class_="current_submenu")}
47
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
22 </li>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
23 <li>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
24 ${h.link_to(u'Users',h.url('users'))}
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
25 </li>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
26 </ul>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
27 <div>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
28 <h2>${_('Mercurial repos')}</h2>
58
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
29 <table>
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
30 %for cnt,repo in enumerate(c.repos_list):
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
31 <tr class="parity${cnt%2}">
127
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 105
diff changeset
32 <td>${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']))}</td>
58
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
33 <td>r${repo['rev']}:${repo['tip']}</td>
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
34 <td>
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
35 ${h.form(url('repo', id=repo['name']),method='delete')}
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
36 ${h.submit('remove','remove',class_="submit",onclick="return confirm('Confirm to delete this repository');")}
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
37 ${h.end_form()}
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
38 </td>
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
39 </tr>
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
40 %endfor
8fb1abd4178a Added hg model,implemented removal of repos, added HgModel for fetching repos(with generator)
Marcin Kuzminski <marcin@python-blog.com>
parents: 48
diff changeset
41 </table>
44
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
42 </div>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
43 </%def>