##// END OF EJS Templates
ui: small tweeks for ssh default action (added button) and text on user user group
super-admin -
r5005:c7dea136 default
parent child Browse files
Show More
@@ -12,7 +12,7 b''
12 <div class="fields">
12 <div class="fields">
13 <div class="field">
13 <div class="field">
14 <div class="label label-checkbox">
14 <div class="label label-checkbox">
15 <label for="users_group_active">${_('Add `%s` to user group') % c.user.username}:</label>
15 <label for="users_group_active">${_('Add user to user group')}:</label>
16 </div>
16 </div>
17 <div class="input">
17 <div class="input">
18 ${h.text('add_user_to_group', placeholder="user group name", class_="medium")}
18 ${h.text('add_user_to_group', placeholder="user group name", class_="medium")}
@@ -38,11 +38,11 b' e.g chmod 0600 /home/{username}/.ssh/id_'
38 </pre>
38 </pre>
39
39
40 <input type="text" value="${c.public}" class="large text" size="100"/>
40 <input type="text" value="${c.public}" class="large text" size="100"/>
41 <p>
41 <p style="padding-top: 10px">
42 % if hasattr(c, 'target_form_url'):
42 % if hasattr(c, 'target_form_url'):
43 <a href="${c.target_form_url}">${_('Use this generated key')}.</a>
43 <a class="btn btn-primary" href="${c.target_form_url}">${_('Use this generated key')}.</a>
44 % else:
44 % else:
45 <a href="${h.route_path('edit_user_ssh_keys', user_id=c.user.user_id, _query=dict(default_key=c.public))}">${_('Use this generated key')}.</a>
45 <a class="btn btn-primary" href="${h.route_path('edit_user_ssh_keys', user_id=c.user.user_id, _query=dict(default_key=c.public))}">${_('Use this generated key')}.</a>
46 % endif
46 % endif
47 ${_('Confirmation required on the next screen')}.
47 ${_('Confirmation required on the next screen')}.
48 </p>
48 </p>
General Comments 0
You need to be logged in to leave comments. Login now