##// END OF EJS Templates
fixed sorting in repo list switcher and removed lower() since repo names can be have capital letters now
fixed sorting in repo list switcher and removed lower() since repo names can be have capital letters now

File last commit:

r362:558eb7c5 rhodecode-0.0.0.8.0 default
r488:853b9425 celery
Show More
repo_add.html
60 lines | 1.8 KiB | text/html | HtmlLexer
fixed html in admin templates. Litle refactors
r174 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ${_('Repositories administration')}
fixed html in admin templates. Litle refactors
r174 </%def>
version bump to 0.8...
r362
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Repositories'),h.url('repos'))}
&raquo;
${_('add new')}
fixed html in admin templates. Litle refactors
r174 </%def>
version bump to 0.8...
r362
fixed html in admin templates. Litle refactors
r174 <%def name="page_nav()">
new way of menu generation for base, and all admin pages
r182 ${self.menu('admin')}
fixed html in admin templates. Litle refactors
r174 </%def>
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 <%def name="main()">
version bump to 0.8...
r362 <div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 </div>
version bump to 0.8...
r362 ${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>
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 </%def>