Mercurial > kallithea
diff pylons_app/templates/admin/repos/repo_add.html @ 362:558eb7c5028f rhodecode-0.0.0.8.0
version bump to 0.8
hg app 0.8 new template.
Add yui flot and graph into summary page.
+ various tweeks and patches into look of application
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 24 Jul 2010 02:17:48 +0200 |
parents | d303aacb3349 |
children | 63212fea2471 |
line wrap: on
line diff
--- a/pylons_app/templates/admin/repos/repo_add.html Sat Jul 24 00:53:43 2010 +0200 +++ b/pylons_app/templates/admin/repos/repo_add.html Sat Jul 24 02:17:48 2010 +0200 @@ -4,41 +4,57 @@ <%def name="title()"> ${_('Repositories administration')} </%def> -<%def name="breadcrumbs()"> - ${h.link_to(u'Admin',h.url('admin_home'))} - / - ${_('Repos')} + +<%def name="breadcrumbs_links()"> + ${h.link_to(_('Admin'),h.url('admin_home'))} + » + ${h.link_to(_('Repositories'),h.url('repos'))} + » + ${_('add new')} </%def> + <%def name="page_nav()"> ${self.menu('admin')} - ${self.submenu('repos')} </%def> <%def name="main()"> - <div> - <h2>${_('Repositories')} - ${_('add new')}</h2> - ${h.form(url('repos'))} - <table> - <tr> - <td>${_('Name')}</td> - <td>${h.text('repo_name',c.new_repo)}</td> - <td>${self.get_form_error('repo_name')}</td> - </tr> - <tr> - <td>${_('Description')}</td> - <td>${h.textarea('description',cols=23,rows=5)}</td> - <td>${self.get_form_error('description')}</td> - </tr> - <tr> - <td>${_('Private')}</td> - <td>${h.checkbox('private',value="True")}</td> - <td>${self.get_form_error('private')}</td> - </tr> - <tr> - <td></td> - <td>${h.submit('add','add')}</td> - </tr> - - </table> - ${h.end_form()} +<div class="box"> + <!-- box / title --> + <div class="title"> + ${self.breadcrumbs()} </div> + ${h.form(url('repos'))} + <div class="form"> + <!-- fields --> + <div class="fields"> + <div class="field"> + <div class="label"> + <label for="repo_name">${_('Name')}:</label> + </div> + <div class="input"> + ${h.text('repo_name',c.new_repo)} + </div> + </div> + <div class="field"> + <div class="label label-textarea"> + <label for="description">${_('Description')}:</label> + </div> + <div class="textarea text-area editor"> + ${h.textarea('description',cols=23,rows=5)} + </div> + </div> + <div class="field"> + <div class="label label-checkbox"> + <label for="private">${_('Private')}:</label> + </div> + <div class="checkboxes"> + ${h.checkbox('private',value="True")} + </div> + </div> + <div class="buttons"> + ${h.submit('add','add',class_="ui-button ui-widget ui-state-default ui-corner-all")} + </div> + </div> + </div> + ${h.end_form()} +</div> </%def>