changeset 7219:71c783e8e608

admin: set column widths on permission overviews to give better alignment across different tables
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 01 Apr 2018 16:04:40 +0200
parents fd617959732d
children 23a8484ced54
files kallithea/templates/base/perms_summary.html
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/base/perms_summary.html	Sun Apr 01 15:28:41 2018 +0200
+++ b/kallithea/templates/base/perms_summary.html	Sun Apr 01 16:04:40 2018 +0200
@@ -27,9 +27,9 @@
           %if section == 'global':
               <thead>
                 <tr>
-                  <th class="left">${_('Permission')}</th>
+                  <th class="left col-xs-9">${_('Permission')}</th>
                   %if actions:
-                  <th class="left">${_('Edit Permission')}</th>
+                  <th class="left col-xs-3">${_('Edit Permission')}</th>
                   %endif
                 </tr>
               </thead>
@@ -51,10 +51,10 @@
              ## none/read/write/admin permissions on groups/repos etc
               <thead>
                 <tr>
-                  <th class="left">${_('Name')}</th>
-                  <th class="left">${_('Permission')}</th>
+                  <th class="left col-xs-7">${_('Name')}</th>
+                  <th class="left col-xs-2">${_('Permission')}</th>
                   %if actions:
-                  <th class="left">${_('Edit Permission')}</th>
+                  <th class="left col-xs-3">${_('Edit Permission')}</th>
                   %endif
                 </tr>
               </thead>