changeset 7288:ef8d19a299c7

admin: hooks: shorten input field of custom hooks to make place for delete button The delete button is currently on another line than the custom hook name and value. Reduce the size of the value input field to fix that.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Mon, 21 May 2018 14:55:35 +0200
parents b4c77ea1221f
children 8f0589bcbb15
files kallithea/templates/admin/settings/settings_hooks.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/settings/settings_hooks.html	Mon May 21 14:52:36 2018 +0200
+++ b/kallithea/templates/admin/settings/settings_hooks.html	Mon May 21 14:55:35 2018 +0200
@@ -23,7 +23,7 @@
                     <div>
                         ${h.hidden('hook_ui_key',hook.ui_key,id='hook_ui_key_'+input_id)}
                         ${h.hidden('hook_ui_value',hook.ui_value,id='hook_ui_value_'+input_id)}
-                        ${h.text('hook_ui_value_new',hook.ui_value,id=input_id,size=60,class_='form-control')}
+                        ${h.text('hook_ui_value_new',hook.ui_value,id=input_id,size=50,class_='form-control')}
                         <button type="button" class="btn btn-default btn-xs"
                             onclick="delete_hook(${hook.ui_id},'${'id%s' % hook.ui_id }')">
                             <i class="icon-trashcan"></i>
@@ -38,7 +38,7 @@
                 ${h.text('new_hook_ui_key',size=15,class_='form-control')}
             </label>
             <div>
-                ${h.text('new_hook_ui_value',size=60,class_='form-control')}
+                ${h.text('new_hook_ui_value',size=50,class_='form-control')}
             </div>
         </div>
         <div class="form-group">