##// END OF EJS Templates
Implemented hooks system,...
Implemented hooks system, Added repo size hook, and active flag on ui settings in the database to able to toggle them.

File last commit:

r380:ca54622e default
r392:b27d32cb default
Show More
repo_add_create_repository.html
57 lines | 1.7 KiB | text/html | HtmlLexer
/ pylons_app / templates / admin / repos / repo_add_create_repository.html
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Repositories administration')}
</%def>
<%def name="breadcrumbs_links()">
${_('add new repository')}
</%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)}
${h.hidden('user_created','True')}
</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>