# HG changeset patch # User Mads Kiilerich # Date 1497186129 -7200 # Node ID 9d34bea3059d9abd0d912f37a2475ee67c8e2918 # Parent f70a268bac416665cb05beda4c25281b7f4a2c4c style: various minor-ish markup changes, preparing for Bootstrap diff -r f70a268bac41 -r 9d34bea3059d kallithea/public/css/style.css --- a/kallithea/public/css/style.css Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/public/css/style.css Sun Jun 11 15:02:09 2017 +0200 @@ -1980,7 +1980,7 @@ text-align: left; } -#graph_content .container .checkbox { +#graph_content .container .checkbox-column { width: 14px; font-size: 0.85em; } @@ -2951,6 +2951,10 @@ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } +.text-danger { + color: #a94442; +} + label.disabled { color: #aaa !important; } @@ -3740,6 +3744,7 @@ color: #666; } +input.status_change_checkbox, input.status_change_radio { margin: 2px 0 5px 15px; vertical-align: middle; @@ -3851,6 +3856,15 @@ margin: 5px 0; } +#pr-summary > .pr-not-edit { + min-height: 50px !important; +} + +#pr-edit-btn { + margin: 20px 0 0 !important; + position: absolute; +} + /**** PERMS *****/ @@ -4245,6 +4259,17 @@ clear: both; } +select.pull-right-auto-width { + float: right; + width: auto; +} + +span.expand-available { + display: block; + overflow: hidden; + padding-right: 15px; +} + .tooltip { position: absolute; z-index: 1070; diff -r f70a268bac41 -r 9d34bea3059d kallithea/templates/admin/admin.html --- a/kallithea/templates/admin/admin.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/admin/admin.html Sun Jun 11 15:02:09 2017 +0200 @@ -22,10 +22,8 @@
${self.breadcrumbs()}
-
-
+
<%include file='admin_log.html'/> -
diff -r f70a268bac41 -r 9d34bea3059d kallithea/templates/admin/auth/auth_settings.html --- a/kallithea/templates/admin/auth/auth_settings.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/admin/auth/auth_settings.html Sun Jun 11 15:02:09 2017 +0200 @@ -34,7 +34,7 @@
- +
    %for plugin_path in c.available_plugins: diff -r f70a268bac41 -r 9d34bea3059d kallithea/templates/admin/gists/new.html --- a/kallithea/templates/admin/gists/new.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/admin/gists/new.html Sun Jun 11 15:02:09 2017 +0200 @@ -42,8 +42,10 @@
- ${h.text('filename', size=30, placeholder=_('Name this gist ...'), class_='form-control')} - + + + ${h.text('filename', size=30, placeholder=_('Name this gist ...'), class_='form-control auto-width')} +
diff -r f70a268bac41 -r 9d34bea3059d kallithea/templates/admin/settings/settings_hooks.html --- a/kallithea/templates/admin/settings/settings_hooks.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/admin/settings/settings_hooks.html Sun Jun 11 15:02:09 2017 +0200 @@ -1,28 +1,27 @@ -

${_('Built-in Mercurial Hooks (Read-Only)')}

+
+

${_('Built-in Mercurial Hooks (Read-Only)')}

% for hook in c.hooks: <% input_id = hook.ui_key.replace('.', '_') %> -
${h.text(hook.ui_key,hook.ui_value,id=input_id,size=60,readonly="readonly",class_='form-control')}
-
% endfor + ${_('Hooks can be used to trigger actions on certain events such as push / pull. They can trigger Python functions or external applications.')} +
- ${_('Hooks can be used to trigger actions on certain events such as push / pull. They can trigger Python functions or external applications.')}
% if c.visual.allow_custom_hooks_settings: -

${_('Custom Hooks')}

${h.form(url('admin_settings_hooks'), method='post')}
- +
+

${_('Custom Hooks')}

%for hook in c.custom_hooks: <% input_id = hook.ui_key.replace('.', '_') %> -
${h.hidden('hook_ui_key',hook.ui_key,id='hook_ui_key_'+input_id)} @@ -34,12 +33,12 @@ ${_('Delete')}
-
%endfor +
${h.text('new_hook_ui_value',size=60,class_='form-control')} diff -r f70a268bac41 -r 9d34bea3059d kallithea/templates/admin/settings/settings_system.html --- a/kallithea/templates/admin/settings/settings_system.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/admin/settings/settings_system.html Sun Jun 11 15:02:09 2017 +0200 @@ -4,7 +4,7 @@ <% elems = [ - (_('Kallithea version'), h.literal('%s %s' % (c.kallithea_version, _('Check for updates'))), ''), + (_('Kallithea version'), h.literal('%s ' % (c.kallithea_version, _('Check for updates'))), ''), (_('Kallithea configuration file'), c.ini['__file__'], ''), (_('Python version'), c.py_version, ''), (_('Platform'), c.platform, ''), diff -r f70a268bac41 -r 9d34bea3059d kallithea/templates/admin/settings/settings_visual.html --- a/kallithea/templates/admin/settings/settings_visual.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/admin/settings/settings_visual.html Sun Jun 11 15:02:09 2017 +0200 @@ -92,10 +92,12 @@
- ${h.checkbox('stylify_metatags','True')} +
- ${_('Parses meta tags from the repository description field and turns them into colored tags.')} -
+
${_('Stylify recognised meta tags:')}
  • [featured] featured
  • diff -r f70a268bac41 -r 9d34bea3059d kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/base/base.html Sun Jun 11 15:02:09 2017 +0200 @@ -121,7 +121,7 @@
-