repo_settings.html
80 lines
| 2.5 KiB
| text/html
|
HtmlLexer
r547 | ## -*- coding: utf-8 -*- | |||
<%inherit file="/base/base.html"/> | ||||
<%def name="title()"> | ||||
r619 | ${c.repo_name} ${_('Settings')} - ${c.rhodecode_name} | |||
r547 | </%def> | |||
<%def name="breadcrumbs_links()"> | ||||
r1084 | ${h.link_to(u'Home',h.url('/'))} | |||
» | ||||
r1888 | ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))} | |||
» | ||||
${_('Settings')} | ||||
r547 | </%def> | |||
r579 | ||||
r547 | <%def name="page_nav()"> | |||
${self.menu('settings')} | ||||
</%def> | ||||
<%def name="main()"> | ||||
<div class="box"> | ||||
<!-- box / title --> | ||||
<div class="title"> | ||||
r1888 | ${self.breadcrumbs()} | |||
r547 | </div> | |||
${h.form(url('repo_settings_update', repo_name=c.repo_info.repo_name),method='put')} | ||||
<div class="form"> | ||||
<!-- fields --> | ||||
<div class="fields"> | ||||
<div class="field"> | ||||
<div class="label"> | ||||
<label for="repo_name">${_('Name')}:</label> | ||||
</div> | ||||
<div class="input input-medium"> | ||||
r562 | ${h.text('repo_name',class_="small")} | |||
r547 | </div> | |||
</div> | ||||
r1594 | <div class="field"> | |||
<div class="label"> | ||||
<label for="repo_group">${_('Repository group')}:</label> | ||||
</div> | ||||
<div class="input"> | ||||
${h.select('repo_group','',c.repo_groups,class_="medium")} | ||||
</div> | ||||
r1888 | </div> | |||
r547 | <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> | ||||
r1888 | ||||
r547 | <div class="field"> | |||
<div class="label label-checkbox"> | ||||
<label for="private">${_('Private')}:</label> | ||||
</div> | ||||
<div class="checkboxes"> | ||||
${h.checkbox('private',value="True")} | ||||
</div> | ||||
</div> | ||||
r1888 | ||||
r547 | <div class="field"> | |||
<div class="label"> | ||||
<label for="">${_('Permissions')}:</label> | ||||
</div> | ||||
<div class="input"> | ||||
r1015 | <%include file="../admin/repos/repo_edit_perms.html"/> | |||
</div> | ||||
r1888 | ||||
r547 | <div class="buttons"> | |||
r1455 | ${h.submit('save','Save',class_="ui-button")} | |||
r888 | ${h.reset('reset','Reset',class_="ui-button")} | |||
r1888 | </div> | |||
r547 | </div> | |||
r1888 | </div> | |||
r547 | ${h.end_form()} | |||
</div> | ||||
r579 | </div> | |||
r1888 | </%def> | |||