annotate pylons_app/templates/repos.html @ 105:3ac4350b7848

Html updates and fixes
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 25 Apr 2010 22:45:54 +0200
parents 8fb1abd4178a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
44
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
1 <%inherit file="base/base.html"/>
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()">
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
13 <li>${h.link_to(u'Home',h.url('/'))}</li>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
14 <li class="current">${_('Admin')}</li>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
15 </%def>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
16 <%def name="main()">
47
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
17 <ul class="submenu">
105
3ac4350b7848 Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 58
diff changeset
18 <li>
3ac4350b7848 Html updates and fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 58
diff changeset
19 ${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
20 </li>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
21 <li>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
22 ${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
23 </li>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
24 </ul>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
25 <div>
f6ac79182600 Added rest controllers for repos and users,
Marcin Kuzminski <marcin@python-blog.com>
parents: 44
diff changeset
26 <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
27 <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
28 %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
29 <tr class="parity${cnt%2}">
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 <td><a href="/${repo['name']}">${repo['name']}</a></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
31 <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
32 <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
33 ${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
34 ${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
35 ${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
36 </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
37 </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
38 %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
39 </table>
44
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
40 </div>
d924b931b488 Added managment pages.
marcink
parents:
diff changeset
41 </%def>