view rhodecode/templates/admin/repos/repo_add.html @ 663:6199b34d349b beta

fixed html templates, fixed overal rhodecode width to 1024pixels various additional to templates. History for annotation, width for my page, repo types for admin panel repositories
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 06 Nov 2010 16:16:44 +0100
parents 758f64f3fbda
children 6b40654afa1e
line wrap: on
line source

## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>

<%def name="title()">
    ${_('Add repository')} - ${c.rhodecode_name}
</%def>

<%def name="breadcrumbs_links()">
    ${h.link_to(_('Admin'),h.url('admin_home'))} 
    &raquo; 
    ${h.link_to(_('Repositories'),h.url('repos'))} 
    &raquo;
    ${_('add new')}
</%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")}
	            </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 ui-widget ui-state-default ui-corner-all")}
	        </div>                                                          
        </div>
    </div>    
    ${h.end_form()}    
</div>
</%def>