##// END OF EJS Templates
another major code rafactor, reimplemented (almost from scratch)...
another major code rafactor, reimplemented (almost from scratch) the way caching works, Should be solid rock for now. Some code optymizations on scmModel.get() to make it don't load unneded things. Changed db cache to file that should also reduce memory size

File last commit:

r888:6b40654a beta
r1038:5554aa9c beta
Show More
repo_add_create_repository.html
65 lines | 2.0 KiB | text/html | HtmlLexer
/ rhodecode / templates / admin / repos / repo_add_create_repository.html
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Add repository')} - ${c.rhodecode_name}
</%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,class_="small")}
${h.hidden('user_created','True')}
</div>
</div>
<div class="field">
<div class="label">
<label for="repo_type">${_('Type')}:</label>
</div>
<div class="input">
${h.select('repo_type','hg',c.backends,class_="small")}
</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")}
</div>
</div>
</div>
${h.end_form()}
</div>
</%def>