##// END OF EJS Templates
ui: fix buttons on advanced page
marcink -
r4127:fe33631d default
parent child Browse files
Show More
@@ -142,7 +142,7 b''
142 % endif
142 % endif
143 </table>
143 </table>
144
144
145 <a href="${h.route_path('edit_repo_advanced_hooks', repo_name=c.repo_name)}"
145 <a class="btn btn-primary" href="${h.route_path('edit_repo_advanced_hooks', repo_name=c.repo_name)}"
146 onclick="return confirm('${_('Confirm to reinstall hooks for this repository.')}');">
146 onclick="return confirm('${_('Confirm to reinstall hooks for this repository.')}');">
147 ${_('Update Hooks')}
147 ${_('Update Hooks')}
148 </a>
148 </a>
@@ -159,9 +159,8 b''
159 <div style="margin: 0 0 20px 0" class="fake-space"></div>
159 <div style="margin: 0 0 20px 0" class="fake-space"></div>
160
160
161 <div class="field">
161 <div class="field">
162 <button class="btn btn-small btn-danger" type="submit"
162 <button class="btn btn-small btn-warning" type="submit"
163 onclick="return confirm('${_('Confirm to archive this repository: %s') % c.repo_name}');">
163 onclick="return confirm('${_('Confirm to archive this repository: %s') % c.repo_name}');">
164 <i class="icon-remove"></i>
165 ${_('Archive this repository')}
164 ${_('Archive this repository')}
166 </button>
165 </button>
167 </div>
166 </div>
@@ -217,7 +216,6 b''
217 <div class="field">
216 <div class="field">
218 <button class="btn btn-small btn-danger" type="submit"
217 <button class="btn btn-small btn-danger" type="submit"
219 onclick="return confirm('${_('Confirm to delete this repository: %s') % c.repo_name}');">
218 onclick="return confirm('${_('Confirm to delete this repository: %s') % c.repo_name}');">
220 <i class="icon-remove"></i>
221 ${_('Delete this repository')}
219 ${_('Delete this repository')}
222 </button>
220 </button>
223 </div>
221 </div>
General Comments 0
You need to be logged in to leave comments. Login now