diff --git a/kallithea/templates/admin/auth/auth_settings.html b/kallithea/templates/admin/auth/auth_settings.html --- a/kallithea/templates/admin/auth/auth_settings.html +++ b/kallithea/templates/admin/auth/auth_settings.html @@ -36,8 +36,10 @@ %for plugin_path in c.available_plugins:
  • - - ${_('Enabled') if plugin_path in c.enabled_plugins else _('Disabled')}${plugin_path} + + ${_('Enabled') if plugin_path in c.enabled_plugins else _('Disabled')} + + ${plugin_path}
  • %endfor @@ -97,8 +99,10 @@ %endfor
    -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/defaults/defaults.html b/kallithea/templates/admin/defaults/defaults.html --- a/kallithea/templates/admin/defaults/defaults.html +++ b/kallithea/templates/admin/defaults/defaults.html @@ -78,8 +78,10 @@ -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/gists/show.html b/kallithea/templates/admin/gists/show.html --- a/kallithea/templates/admin/gists/show.html +++ b/kallithea/templates/admin/gists/show.html @@ -48,7 +48,7 @@ %else: ${_('Expires')}: ${h.age(h.time_to_datetime(c.gist.gist_expires))} %endif - + %if h.HasPermissionAny('hg.admin')() or c.gist.gist_owner == c.authuser.user_id:
    diff --git a/kallithea/templates/admin/my_account/my_account_api_keys.html b/kallithea/templates/admin/my_account/my_account_api_keys.html --- a/kallithea/templates/admin/my_account/my_account_api_keys.html +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html @@ -56,7 +56,7 @@
    -
    +
    @@ -64,10 +64,12 @@ ${h.text('description', class_='medium', placeholder=_('Description'))} ${h.select('lifetime', '', c.lifetime_options)}
    -
    -
    - ${h.submit('save',_('Add'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    +
    + ${h.submit('save',_('Add'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/my_account/my_account_emails.html b/kallithea/templates/admin/my_account/my_account_emails.html --- a/kallithea/templates/admin/my_account/my_account_emails.html +++ b/kallithea/templates/admin/my_account/my_account_emails.html @@ -45,9 +45,11 @@ ${h.text('new_email', class_='medium')}
    -
    - ${h.submit('save',_('Add'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Add'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/my_account/my_account_password.html b/kallithea/templates/admin/my_account/my_account_password.html --- a/kallithea/templates/admin/my_account/my_account_password.html +++ b/kallithea/templates/admin/my_account/my_account_password.html @@ -4,39 +4,41 @@ ${h.form(url('my_account_password'), method='post')}
    -
    -
    +
    +
    ${h.password('current_password',class_='medium')}
    -
    +
    -
    +
    ${h.password('new_password',class_='medium')}
    -
    +
    -
    +
    ${h.password('new_password_confirmation',class_='medium')}
    -
    +
    +
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")}
    +
    ${h.end_form()} diff --git a/kallithea/templates/admin/my_account/my_account_profile.html b/kallithea/templates/admin/my_account/my_account_profile.html --- a/kallithea/templates/admin/my_account/my_account_profile.html +++ b/kallithea/templates/admin/my_account/my_account_profile.html @@ -54,9 +54,11 @@ ${h.form(url('my_account'), method='post
    -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/permissions/permissions_globals.html b/kallithea/templates/admin/permissions/permissions_globals.html --- a/kallithea/templates/admin/permissions/permissions_globals.html +++ b/kallithea/templates/admin/permissions/permissions_globals.html @@ -108,9 +108,11 @@ ${h.form(url('admin_permissions'), metho ${h.select('default_extern_activate','',c.extern_activate_choices)} -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/permissions/permissions_ips.html b/kallithea/templates/admin/permissions/permissions_ips.html --- a/kallithea/templates/admin/permissions/permissions_ips.html +++ b/kallithea/templates/admin/permissions/permissions_ips.html @@ -34,9 +34,11 @@ ${h.form(url('edit_user_ips_update', id= ${h.text('new_ip', class_='medium')} -
    - ${h.submit('save',_('Add'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Add'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/repo_groups/repo_group_add.html b/kallithea/templates/admin/repo_groups/repo_group_add.html --- a/kallithea/templates/admin/repo_groups/repo_group_add.html +++ b/kallithea/templates/admin/repo_groups/repo_group_add.html @@ -65,8 +65,10 @@ -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html @@ -1,6 +1,6 @@ ${h.form(url('edit_repo_group_perms', group_name=c.repo_group.group_name))}
    -
    +
    @@ -111,10 +111,10 @@ ${h.form(url('edit_repo_group_perms', gr
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")}
    -
    +
    ${h.end_form()} diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html @@ -29,6 +29,7 @@ ${h.form(url('update_repos_group',group_ ${h.select('group_parent_id','',c.repo_groups,class_="medium")} +
    @@ -38,9 +39,12 @@ ${h.form(url('update_repos_group',group_ ${_('Enable lock-by-pulling on group. This option will be applied to all other groups and repositories inside')}
    -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} + +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    @@ -49,8 +53,10 @@ ${h.end_form()} ${h.form(url('delete_repo_group', group_name=c.repo_group.group_name))}
    -
    - ${h.submit('remove_%s' % c.repo_group.group_name,_('Remove this group'),class_="btn btn-danger",onclick="return confirm('"+_('Confirm to delete this group')+"');")} +
    +
    + ${h.submit('remove_%s' % c.repo_group.group_name,_('Remove this group'),class_="btn btn-danger",onclick="return confirm('"+_('Confirm to delete this group')+"');")} +
    diff --git a/kallithea/templates/admin/repos/repo_add_base.html b/kallithea/templates/admin/repos/repo_add_base.html --- a/kallithea/templates/admin/repos/repo_add_base.html +++ b/kallithea/templates/admin/repos/repo_add_base.html @@ -77,8 +77,10 @@ ${h.form(url('repos'))} ${_('Private repositories are only visible to people explicitly added as collaborators.')}
    -
    - ${h.submit('add',_('Add'),class_="btn btn-default")} +
    +
    + ${h.submit('add',_('Add'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/repos/repo_edit_fields.html b/kallithea/templates/admin/repos/repo_edit_fields.html --- a/kallithea/templates/admin/repos/repo_edit_fields.html +++ b/kallithea/templates/admin/repos/repo_edit_fields.html @@ -54,9 +54,11 @@ -
    - ${h.submit('save',_('Add'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Add'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/repos/repo_edit_permissions.html b/kallithea/templates/admin/repos/repo_edit_permissions.html --- a/kallithea/templates/admin/repos/repo_edit_permissions.html +++ b/kallithea/templates/admin/repos/repo_edit_permissions.html @@ -97,9 +97,9 @@ ${h.form(url('edit_repo_perms_update', r -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")}
    diff --git a/kallithea/templates/admin/repos/repo_edit_settings.html b/kallithea/templates/admin/repos/repo_edit_settings.html --- a/kallithea/templates/admin/repos/repo_edit_settings.html +++ b/kallithea/templates/admin/repos/repo_edit_settings.html @@ -123,9 +123,11 @@ ${h.form(url('update_repo', repo_name=c. %endfor %endif -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/settings/settings_email.html b/kallithea/templates/admin/settings/settings_email.html --- a/kallithea/templates/admin/settings/settings_email.html +++ b/kallithea/templates/admin/settings/settings_email.html @@ -11,8 +11,10 @@ ${h.form(url('admin_settings_email'), me -
    - ${h.submit('send',_('Send'),class_="btn btn-default")} +
    +
    + ${h.submit('send',_('Send'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/settings/settings_global.html b/kallithea/templates/admin/settings/settings_global.html --- a/kallithea/templates/admin/settings/settings_global.html +++ b/kallithea/templates/admin/settings/settings_global.html @@ -57,9 +57,11 @@ ${h.form(url('admin_settings_global'), m -
    - ${h.submit('save',_('Save Settings'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save Settings'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/settings/settings_hooks.html b/kallithea/templates/admin/settings/settings_hooks.html --- a/kallithea/templates/admin/settings/settings_hooks.html +++ b/kallithea/templates/admin/settings/settings_hooks.html @@ -49,8 +49,10 @@ ${h.form(url('admin_settings_hooks'), me ${h.text('new_hook_ui_value',size=60)} -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/settings/settings_mapping.html b/kallithea/templates/admin/settings/settings_mapping.html --- a/kallithea/templates/admin/settings/settings_mapping.html +++ b/kallithea/templates/admin/settings/settings_mapping.html @@ -31,8 +31,10 @@ ${h.form(url('admin_settings_mapping'), -
    - ${h.submit('rescan',_('Rescan Repositories'),class_="btn btn-default")} +
    +
    + ${h.submit('rescan',_('Rescan Repositories'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/settings/settings_search.html b/kallithea/templates/admin/settings/settings_search.html --- a/kallithea/templates/admin/settings/settings_search.html +++ b/kallithea/templates/admin/settings/settings_search.html @@ -16,8 +16,10 @@ ${h.form(url('admin_settings_search'), m -
    - ${h.submit('reindex',_('Reindex'),class_="btn btn-default")} +
    +
    + ${h.submit('reindex',_('Reindex'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/settings/settings_vcs.html b/kallithea/templates/admin/settings/settings_vcs.html --- a/kallithea/templates/admin/settings/settings_vcs.html +++ b/kallithea/templates/admin/settings/settings_vcs.html @@ -63,9 +63,11 @@ ${h.form(url('admin_settings'), method=' ## form still requires this but we cannot internally change it anyway ${h.hidden('paths_root_path',size=30,readonly="readonly")} %endif -
    - ${h.submit('save',_('Save Settings'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save Settings'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/settings/settings_visual.html b/kallithea/templates/admin/settings/settings_visual.html --- a/kallithea/templates/admin/settings/settings_visual.html +++ b/kallithea/templates/admin/settings/settings_visual.html @@ -73,7 +73,7 @@ ${h.form(url('admin_settings_visual'), m -
    +
    @@ -88,9 +88,9 @@ ${h.form(url('admin_settings_visual'), m
    ${_('Show public/private icons next to repository names.')}
    - + -
    +
    @@ -113,12 +113,14 @@ ${h.form(url('admin_settings_visual'), m
    ${_('Parses meta tags from the repository description field and turns them into colored tags.')}
    - + -
    - ${h.submit('save',_('Save Settings'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} -
    +
    +
    + ${h.submit('save',_('Save Settings'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    diff --git a/kallithea/templates/admin/user_groups/user_group_add.html b/kallithea/templates/admin/user_groups/user_group_add.html --- a/kallithea/templates/admin/user_groups/user_group_add.html +++ b/kallithea/templates/admin/user_groups/user_group_add.html @@ -53,8 +53,10 @@ -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/user_groups/user_group_edit_perms.html b/kallithea/templates/admin/user_groups/user_group_edit_perms.html --- a/kallithea/templates/admin/user_groups/user_group_edit_perms.html +++ b/kallithea/templates/admin/user_groups/user_group_edit_perms.html @@ -93,7 +93,7 @@ ${h.form(url('edit_user_group_perms_upda - + ${_('Add new')} @@ -101,8 +101,8 @@ ${h.form(url('edit_user_group_perms_upda
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")}
    diff --git a/kallithea/templates/admin/user_groups/user_group_edit_settings.html b/kallithea/templates/admin/user_groups/user_group_edit_settings.html --- a/kallithea/templates/admin/user_groups/user_group_edit_settings.html +++ b/kallithea/templates/admin/user_groups/user_group_edit_settings.html @@ -56,8 +56,10 @@ ${h.form(url('update_users_group', id=c. -
    - ${h.submit('Save',_('Save'),class_="btn btn-default")} +
    +
    + ${h.submit('Save',_('Save'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/users/user_add.html b/kallithea/templates/admin/users/user_add.html --- a/kallithea/templates/admin/users/user_add.html +++ b/kallithea/templates/admin/users/user_add.html @@ -92,8 +92,11 @@ ${h.hidden('extern_type', c.default_extern_type)} ${h.hidden('extern_name', c.default_extern_name)} -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} + +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/users/user_edit_api_keys.html b/kallithea/templates/admin/users/user_edit_api_keys.html --- a/kallithea/templates/admin/users/user_edit_api_keys.html +++ b/kallithea/templates/admin/users/user_edit_api_keys.html @@ -56,7 +56,7 @@
    -
    +
    @@ -64,10 +64,13 @@ ${h.text('description', class_='medium', placeholder=_('Description'))} ${h.select('lifetime', '', c.lifetime_options)}
    -
    -
    - ${h.submit('save',_('Add'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    + +
    +
    + ${h.submit('save',_('Add'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/users/user_edit_emails.html b/kallithea/templates/admin/users/user_edit_emails.html --- a/kallithea/templates/admin/users/user_edit_emails.html +++ b/kallithea/templates/admin/users/user_edit_emails.html @@ -45,9 +45,11 @@ ${h.text('new_email', class_='medium')} -
    - ${h.submit('save',_('Add'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Add'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/users/user_edit_ips.html b/kallithea/templates/admin/users/user_edit_ips.html --- a/kallithea/templates/admin/users/user_edit_ips.html +++ b/kallithea/templates/admin/users/user_edit_ips.html @@ -45,9 +45,11 @@ ${h.text('new_ip', class_='medium')} -
    - ${h.submit('save',_('Add'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Add'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/admin/users/user_edit_profile.html b/kallithea/templates/admin/users/user_edit_profile.html --- a/kallithea/templates/admin/users/user_edit_profile.html +++ b/kallithea/templates/admin/users/user_edit_profile.html @@ -109,9 +109,11 @@ ${h.form(url('update_user', id=c.user.us -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/base/default_perms_box.html b/kallithea/templates/base/default_perms_box.html --- a/kallithea/templates/base/default_perms_box.html +++ b/kallithea/templates/base/default_perms_box.html @@ -9,7 +9,7 @@ ${h.form(form_url)}
    -
    +
    @@ -20,10 +20,10 @@ ${h.form(form_url)} % h.link_to('default permissions', url('admin_permissions')))}
    -
    +
    -
    -
    +
    +
    @@ -33,9 +33,9 @@ ${h.form(form_url)} ${h.literal(_('Select this option to allow repository creation for this user'))}
    -
    +
    -
    +
    @@ -45,9 +45,9 @@ ${h.form(form_url)} ${h.literal(_('Select this option to allow user group creation for this user'))}
    -
    +
    -
    +
    @@ -57,12 +57,15 @@ ${h.form(form_url)} ${h.literal(_('Select this option to allow repository forking for this user'))}
    -
    +
    -
    - ${h.submit('save',_('Save'),class_="btn btn-default")} - ${h.reset('reset',_('Reset'),class_="btn btn-default")} + +
    +
    + ${h.submit('save',_('Save'),class_="btn btn-default")} + ${h.reset('reset',_('Reset'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/forks/fork.html b/kallithea/templates/forks/fork.html --- a/kallithea/templates/forks/fork.html +++ b/kallithea/templates/forks/fork.html @@ -72,6 +72,7 @@ ${self.repo_context_bar('createfork')} ${_('Private repositories are only visible to people explicitly added as collaborators.')} +
    @@ -81,6 +82,7 @@ ${self.repo_context_bar('createfork')} ${_('Copy permissions from forked repository')}
    + %if c.can_update:
    @@ -92,8 +94,11 @@ ${self.repo_context_bar('createfork')}
    %endif -
    - ${h.submit('',_('Fork this Repository'),class_="btn btn-default")} + +
    +
    + ${h.submit('',_('Fork this Repository'),class_="btn btn-default")} +
    diff --git a/kallithea/templates/password_reset_confirmation.html b/kallithea/templates/password_reset_confirmation.html --- a/kallithea/templates/password_reset_confirmation.html +++ b/kallithea/templates/password_reset_confirmation.html @@ -25,35 +25,38 @@
    -
    +
    ${h.text('token', class_='focus')}
    -
    +
    -
    +
    ${h.password('password',class_='focus')}
    -
    +
    -
    +
    ${h.password('password_confirm',class_='focus')}
    -
    -
    -
    - ${h.submit('send',_('Confirm'),class_="btn btn-default")} +
    + +
    +
    +
    + ${h.submit('send',_('Confirm'),class_="btn btn-default")} +