##// END OF EJS Templates
repo: re-order creation/fork forms for better UX and consistency.
dan -
r2972:01a27b09 default
parent child Browse files
Show More
@@ -40,6 +40,15 b''
40 40 </div>
41 41 <div class="field">
42 42 <div class="label">
43 <label for="repo_type">${_('Type')}:</label>
44 </div>
45 <div class="select">
46 ${h.select('repo_type','hg',c.backends)}
47 <span class="help-block">${_('Set the type of repository to create.')}</span>
48 </div>
49 </div>
50 <div class="field">
51 <div class="label">
43 52 <label for="repo_description">${_('Description')}:</label>
44 53 </div>
45 54 <div class="textarea editor">
@@ -66,6 +75,15 b''
66 75 <span class="help-block">${_('Optionally select a group to put this repository into.')}</span>
67 76 </div>
68 77 </div>
78 <div class="field">
79 <div class="label">
80 <label for="repo_landing_rev">${_('Landing commit')}:</label>
81 </div>
82 <div class="select">
83 ${h.select('repo_landing_rev','',c.landing_revs,class_="medium")}
84 <span class="help-block">${_('The default commit for file pages, downloads, full text search index, and README generation.')}</span>
85 </div>
86 </div>
69 87 <div id="copy_perms" class="field">
70 88 <div class="label label-checkbox">
71 89 <label for="repo_copy_permissions">${_('Copy Parent Group Permissions')}:</label>
@@ -76,24 +94,6 b''
76 94 </div>
77 95 </div>
78 96 <div class="field">
79 <div class="label">
80 <label for="repo_type">${_('Type')}:</label>
81 </div>
82 <div class="select">
83 ${h.select('repo_type','hg',c.backends)}
84 <span class="help-block">${_('Set the type of repository to create.')}</span>
85 </div>
86 </div>
87 <div class="field">
88 <div class="label">
89 <label for="repo_landing_rev">${_('Landing commit')}:</label>
90 </div>
91 <div class="select">
92 ${h.select('repo_landing_rev','',c.landing_revs,class_="medium")}
93 <span class="help-block">${_('The default commit for file pages, downloads, full text search index, and README generation.')}</span>
94 </div>
95 </div>
96 <div class="field">
97 97 <div class="label label-checkbox">
98 98 <label for="repo_private">${_('Private Repository')}:</label>
99 99 </div>
@@ -85,6 +85,16 b''
85 85
86 86 <div class="field">
87 87 <div class="label label-checkbox">
88 <label for="private">${_('Copy permissions')}:</label>
89 </div>
90 <div class="checkboxes">
91 ${h.checkbox('copy_permissions',value="True", checked="checked")}
92 <span class="help-block">${_('Copy permissions from forked repository')}</span>
93 </div>
94 </div>
95
96 <div class="field">
97 <div class="label label-checkbox">
88 98 <label for="private">${_('Private')}:</label>
89 99 </div>
90 100 <div class="checkboxes">
@@ -93,16 +103,6 b''
93 103 </div>
94 104 </div>
95 105
96 <div class="field">
97 <div class="label label-checkbox">
98 <label for="private">${_('Copy permissions')}:</label>
99 </div>
100 <div class="checkboxes">
101 ${h.checkbox('copy_permissions',value="True", checked="checked")}
102 <span class="help-block">${_('Copy permissions from forked repository')}</span>
103 </div>
104 </div>
105
106 106 <div class="buttons">
107 107 ${h.submit('',_('Fork this Repository'),class_="btn")}
108 108 </div>
General Comments 0
You need to be logged in to leave comments. Login now