changeset 6685:84b339875fbf

templates: remove some obsolete classes and html elements
author domruf <dominikruf@gmail.com>
date Thu, 18 May 2017 20:10:24 +0200
parents 911652ac162e
children d5ec8035ff6e
files kallithea/templates/admin/settings/settings_system.html kallithea/templates/base/perms_summary.html kallithea/templates/index_base.html kallithea/templates/pullrequests/pullrequest_data.html kallithea/templates/summary/summary.html
diffstat 5 files changed, 11 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/settings/settings_system.html	Thu Sep 22 21:23:06 2016 +0200
+++ b/kallithea/templates/admin/settings/settings_system.html	Thu May 18 20:10:24 2017 +0200
@@ -22,10 +22,6 @@
 
 <h4>${_('Python Packages')}</h4>
 <table class="table">
-  <colgroup>
-      <col>
-      <col>
-  </colgroup>
   <tbody>
       %for key, value in c.modules:
           <tr>
--- a/kallithea/templates/base/perms_summary.html	Thu Sep 22 21:23:06 2016 +0200
+++ b/kallithea/templates/base/perms_summary.html	Thu May 18 20:10:24 2017 +0200
@@ -21,7 +21,7 @@
         %if not permissions[section]:
             <span class="empty_data">${_('No permissions defined yet')}</span>
         %else:
-        <div id='tbl_list_wrap_${section}' class="yui-skin-sam">
+        <div id='tbl_list_wrap_${section}'>
          <table id="tbl_list_${section}" class="table">
           ## global permission box
           %if section == 'global':
--- a/kallithea/templates/index_base.html	Thu Sep 22 21:23:06 2016 +0200
+++ b/kallithea/templates/index_base.html	Thu May 18 20:10:24 2017 +0200
@@ -12,8 +12,7 @@
             </div>
 
             %if request.authuser.username != 'default':
-              <ul class="pull-right links">
-                <li>
+              <div class="pull-right">
                 <%
                     gr_name = c.group.group_name if c.group else None
                     # create repositories with write permission on group is set to true
@@ -37,8 +36,7 @@
                 %if c.group and h.HasRepoGroupPermissionLevel('admin')(c.group.group_name):
                     <a href="${h.url('edit_repo_group',group_name=c.group.group_name)}" title="${_('You have admin right to this group, and can edit it')}" class="btn btn-default btn-xs"><i class="icon-pencil"></i> ${_('Edit Repository Group')}</a>
                 %endif
-                </li>
-              </ul>
+              </div>
             %endif
         </div>
         %if c.groups:
--- a/kallithea/templates/pullrequests/pullrequest_data.html	Thu Sep 22 21:23:06 2016 +0200
+++ b/kallithea/templates/pullrequests/pullrequest_data.html	Thu May 18 20:10:24 2017 +0200
@@ -11,18 +11,18 @@
   <table class="table">
     <thead>
       <tr>
-        <th class="left">${_('Vote')}</th>
-        <th class="left">${_('Title')}</th>
-        <th class="left">${_('Owner')}</th>
-        <th class="left">${_('Age')}</th>
-        <th class="left">${_('From')}</th>
-        <th class="left">${_('To')}</th>
-        <th class="left">${_('Delete')}</th>
+        <th>${_('Vote')}</th>
+        <th>${_('Title')}</th>
+        <th>${_('Owner')}</th>
+        <th>${_('Age')}</th>
+        <th>${_('From')}</th>
+        <th>${_('To')}</th>
+        <th>${_('Delete')}</th>
       </tr>
     </thead>
 % for pr in pullrequests:
     <tr class="${'pr-closed' if pr.is_closed() else ''}">
-      <td width="80px">
+      <td>
         <% status = pr.user_review_status(request.authuser.user_id) %>
         %if status:
           <i class="icon-circle changeset-status-${status}" title="${_('You voted: %s') % h.changeset_status_lbl(status)}"></i>
--- a/kallithea/templates/summary/summary.html	Thu Sep 22 21:23:06 2016 +0200
+++ b/kallithea/templates/summary/summary.html	Thu May 18 20:10:24 2017 +0200
@@ -18,16 +18,12 @@
 
     ##FORK
     %if c.db_repo.fork:
-    <span>
         - <i class="icon-fork"></i> ${_('Fork of')} "<a href="${h.url('summary_home',repo_name=c.db_repo.fork.repo_name)}">${c.db_repo.fork.repo_name}</a>"
-    </span>
     %endif
 
     ##REMOTE
     %if c.db_repo.clone_uri:
-    <span>
        - <i class="icon-fork"></i> ${_('Clone from')} "<a href="${h.url(str(h.hide_credentials(c.db_repo.clone_uri)))}">${h.hide_credentials(c.db_repo.clone_uri)}</a>"
-    <span>
     %endif
 </%def>