Mercurial > kallithea
annotate pylons_app/templates/repos.html @ 126:cfddee9d3693
Updated summary page
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 03 May 2010 18:31:00 +0200 |
parents | 3ac4350b7848 |
children |
rev | line source |
---|---|
44 | 1 <%inherit file="base/base.html"/> |
2 <%def name="title()"> | |
3 ${_('Repository managment')} | |
4 </%def> | |
5 <%def name="breadcrumbs()"> | |
6 ${h.link_to(u'Home',h.url('/'))} | |
7 / | |
8 ${h.link_to(u'Admin',h.url('admin_home'))} | |
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 | 11 </%def> |
12 <%def name="page_nav()"> | |
13 <li>${h.link_to(u'Home',h.url('/'))}</li> | |
14 <li class="current">${_('Admin')}</li> | |
15 </%def> | |
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 | 40 </div> |
41 </%def> |