diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -917,19 +917,9 @@ input.disabled { background-color: #F5F5F5 !important; } -#content div.panel div.form div.fields div.field div.input input.small, -#content div.panel div.form div.form-horizontal div.form-group div.input input.small { - width: 30%; -} - -#content div.panel div.form div.fields div.field div.input input.medium, -#content div.panel div.form div.form-horizontal div.form-group div.input input.medium { - width: 55%; -} - -#content div.panel div.form div.fields div.field div.input input.large, -#content div.panel div.form div.form-horizontal div.form-group div.input input.large { - width: 85%; +#content div.panel div.form div.fields div.field div.input input.form-control, +#content div.panel div.form div.form-horizontal div.form-group div.input input.form-control { + width: 100%; } #content div.panel div.form div.fields div.field div.input input.date, @@ -3489,10 +3479,6 @@ div.form div.form-horizontal div.buttons padding: 0; } -#login div.form div.form-horizontal div.form-group div input.large { - width: 250px; -} - #login div.form div.form-horizontal div.form-group div.checkbox, #register div.form div.fields div.field div.checkbox, #register div.form div.form-horizontal div.form-group div.checkbox { 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 @@ -29,7 +29,7 @@
-
${h.text("auth_plugins", class_='large')} +
${h.text("auth_plugins", class_='form-control')} ${_('Comma-separated list of plugins; Kallithea will try user authentication in plugin order')}
${_('Available built-in plugins')}
    @@ -60,7 +60,7 @@
    - ${h.password(fullsetting,class_='small')} + ${h.password(fullsetting,class_='form-control')} ${setting["description"]}
    @@ -68,7 +68,7 @@
    - ${h.text(fullsetting,class_='small')} + ${h.text(fullsetting,class_='form-control')} ${setting["description"]}
    @@ -76,7 +76,7 @@
    -
    ${h.checkbox(fullsetting,True,class_='small')}
    +
    ${h.checkbox(fullsetting,True)}
    ${setting["description"]}
    @@ -84,7 +84,7 @@
    - ${h.select(fullsetting,setting['values'][0],setting['values'],class_='small')} + ${h.select(fullsetting,setting['values'][0],setting['values'],class_='form-control')} ${setting["description"]}
    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 @@ -31,7 +31,7 @@
    - ${h.select('default_repo_type','hg',c.backends,class_="medium")} + ${h.select('default_repo_type','hg',c.backends,class_='form-control')}
    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 @@ -59,7 +59,7 @@
    - ${h.text('description', class_='medium', placeholder=_('Description'))} + ${h.text('description', class_='form-control', placeholder=_('Description'))} ${h.select('lifetime', '', c.lifetime_options)}
    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 @@ -40,7 +40,7 @@
    - ${h.text('new_email', class_='medium')} + ${h.text('new_email', class_='form-control')}
    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 @@ -8,21 +8,21 @@ ${h.form(url('my_account_password'), met
    - ${h.password('current_password',class_='medium')} + ${h.password('current_password',class_='form-control')}
    - ${h.password('new_password',class_='medium')} + ${h.password('new_password',class_='form-control')}
    - ${h.password('new_password_confirmation',class_='medium')} + ${h.password('new_password_confirmation',class_='form-control')}
    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 @@ -20,28 +20,28 @@ ${h.form(url('my_account'), method='post
    - ${h.text('username',class_='medium', readonly=c.readonly('username'))} + ${h.text('username',class_='form-control', readonly=c.readonly('username'))}
    - ${h.text('firstname',class_="medium", readonly=c.readonly('firstname'))} + ${h.text('firstname',class_='form-control', readonly=c.readonly('firstname'))}
    - ${h.text('lastname',class_="medium", readonly=c.readonly('lastname'))} + ${h.text('lastname',class_='form-control', readonly=c.readonly('lastname'))}
    - ${h.text('email',class_="medium", readonly=c.readonly('email'))} + ${h.text('email',class_='form-control', readonly=c.readonly('email'))}
    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 @@ -29,7 +29,7 @@ ${h.form(url('edit_user_ips_update', id=
    ${h.hidden('default_user', 'True')} - ${h.text('new_ip', class_='medium')} + ${h.text('new_ip', class_='form-control')}
    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 @@ -31,21 +31,21 @@
    - ${h.text('group_name',class_='small')} + ${h.text('group_name',class_='form-control')}
    - ${h.textarea('group_description',cols=23,rows=5,class_="medium")} + ${h.textarea('group_description',cols=23,rows=5)}
    - ${h.select('parent_group_id',request.GET.get('parent_group'),c.repo_groups,class_="medium")} + ${h.select('parent_group_id',request.GET.get('parent_group'),c.repo_groups,class_='form-control')}
    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 @@ -6,21 +6,21 @@ ${h.form(url('update_repos_group',group_
    - ${h.text('group_name',class_='medium')} + ${h.text('group_name',class_='form-control')}
    - ${h.textarea('group_description',cols=23,rows=5,class_="medium")} + ${h.textarea('group_description',cols=23,rows=5)}
    - ${h.select('parent_group_id','',c.repo_groups,class_="medium")} + ${h.select('parent_group_id','',c.repo_groups,class_='form-control')}
    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 @@ -7,13 +7,13 @@ ${h.form(url('repos'))}
    - ${h.text('repo_name',class_="small")} + ${h.text('repo_name',class_='form-control')}
    - ${h.text('clone_uri',class_="small")} + ${h.text('clone_uri',class_='form-control')} ${_('Optional: URL of a remote repository. If set, the repository will be created as a clone from this URL.')} @@ -29,7 +29,7 @@ ${h.form(url('repos'))}
    - ${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_="medium")} + ${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_='form-control')} ${_('Optionally select a group to put this repository into.')}
    @@ -43,14 +43,14 @@ ${h.form(url('repos'))}
    - ${h.select('repo_type','hg',c.backends,class_="small")} + ${h.select('repo_type','hg',c.backends,class_='form-control')} ${_('Type of repository to create.')}
    - ${h.select('repo_landing_rev','',c.landing_revs,class_="medium")} + ${h.select('repo_landing_rev','',c.landing_revs,class_='form-control')} ${_('Default revision for files page, downloads, full text search index and readme generation')}
    diff --git a/kallithea/templates/admin/repos/repo_edit_advanced.html b/kallithea/templates/admin/repos/repo_edit_advanced.html --- a/kallithea/templates/admin/repos/repo_edit_advanced.html +++ b/kallithea/templates/admin/repos/repo_edit_advanced.html @@ -1,7 +1,7 @@

    ${_('Parent')}

    ${h.form(url('edit_repo_advanced_fork', repo_name=c.repo_info.repo_name))}
    - ${h.select('id_fork_of','',c.repos_list,class_="medium")} + ${h.select('id_fork_of','',c.repos_list)} ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-default btn-sm")}
      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 @@ -31,21 +31,21 @@
      - ${h.text('new_field_key', class_='small')} + ${h.text('new_field_key', class_='form-control')}
      - ${h.text('new_field_label', class_='small', placeholder=_('Enter short label'))} + ${h.text('new_field_label', class_='form-control', placeholder=_('Enter short label'))}
      - ${h.text('new_field_desc', class_='small', placeholder=_('Enter description of a field'))} + ${h.text('new_field_desc', class_='form-control', placeholder=_('Enter description of a field'))}
      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 @@ -5,7 +5,7 @@ ${h.form(url('update_repo', repo_name=c.
      - ${h.text('repo_name',class_="medium")} + ${h.text('repo_name',class_='form-control')} ${_('Permanent Repository ID')}: `_${c.repo_info.repo_id}` ${_('What is that?')}