Mercurial > kallithea
view pylons_app/templates/admin/repos/repo_add.html @ 485:9836541b0509 celery
added limit for showing pygemntized source codes larger than 250kb.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 18 Sep 2010 00:50:54 +0200 |
parents | 558eb7c5028f |
children | 63212fea2471 |
line wrap: on
line source
## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Repositories administration')} </%def> <%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')} </%def> <%def name="main()"> <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>