repo_settings.html
75 lines
| 2.3 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('/'))} | |||
» | ||||
r547 | ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))} | |||
» | ||||
${_('Settings')} | ||||
</%def> | ||||
r579 | ||||
r547 | <%def name="page_nav()"> | |||
${self.menu('settings')} | ||||
</%def> | ||||
<%def name="main()"> | ||||
<div class="box"> | ||||
<!-- box / title --> | ||||
<div class="title"> | ||||
${self.breadcrumbs()} | ||||
</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> | ||||
<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="field"> | ||||
<div class="label"> | ||||
<label for="">${_('Permissions')}:</label> | ||||
</div> | ||||
<div class="input"> | ||||
r1015 | <%include file="../admin/repos/repo_edit_perms.html"/> | |||
</div> | ||||
r547 | ||||
<div class="buttons"> | ||||
r1455 | ${h.submit('save','Save',class_="ui-button")} | |||
r888 | ${h.reset('reset','Reset',class_="ui-button")} | |||
r547 | </div> | |||
</div> | ||||
</div> | ||||
${h.end_form()} | ||||
</div> | ||||
r579 | </div> | |||
r547 | </%def> | |||