Mercurial > kallithea
changeset 6420:1ce4e23c2207
style: apply Bootstrap-compatible table.table class, now when the conflicting div.table styling is gone
Based on work by Dominik Ruf.
line wrap: on
line diff
--- a/kallithea/public/css/style.css Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/public/css/style.css Mon Jan 09 00:41:30 2017 +0100 @@ -989,7 +989,7 @@ padding: 0 0 0 8px; } -#content div.panel table.noborder { +#content div.panel table.table { border: 1px solid transparent; }
--- a/kallithea/templates/admin/my_account/my_account_api_keys.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,5 +1,5 @@ <div class="apikeys_wrap"> - <table class="noborder"> + <table class="table"> <tr> <td style="width: 450px"><div class="truncate autoexpand" style="width:120px;font-size:16px;font-family: monospace">${c.user.api_key}</div></td> <td>
--- a/kallithea/templates/admin/my_account/my_account_emails.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/my_account/my_account_emails.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,5 +1,5 @@ <div class="emails_wrap"> - <table class="noborder"> + <table class="table"> <tr> %if c.visual.use_gravatar: <td>${h.gravatar_div(c.user.email, size=16)}</td>
--- a/kallithea/templates/admin/my_account/my_account_repos.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/my_account/my_account_repos.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,7 +1,7 @@ <h4>${_('Repositories You Own')}</h4> <div> - <table id="datatable_list_wrap"></table> + <table class="table" id="datatable_list_wrap"></table> </div> <script>
--- a/kallithea/templates/admin/my_account/my_account_watched.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/my_account/my_account_watched.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,7 +1,7 @@ <h4>${_('Repositories You are Watching')}</h4> <div> - <table id="datatable_list_wrap"></table> + <table class="table" id="datatable_list_wrap"></table> </div> <script>
--- a/kallithea/templates/admin/permissions/permissions_ips.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/permissions/permissions_ips.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,5 +1,5 @@ <div class="ips_wrap"> - <table class="noborder"> + <table class="table"> %if c.user_ip_map: %for ip in c.user_ip_map: <tr>
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html Mon Jan 09 00:41:30 2017 +0100 @@ -2,7 +2,7 @@ <div class="form"> <div> <div> - <table id="permissions_manage" class="noborder"> + <table id="permissions_manage" class="table"> <tr> <td>${_('None')}<br />(${_('Not visible')})</td> <td>${_('Read')}<br />(${_('Visible')})</td>
--- a/kallithea/templates/admin/repo_groups/repo_groups.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/repo_groups/repo_groups.html Mon Jan 09 00:41:30 2017 +0100 @@ -27,7 +27,7 @@ </div> </div> <div class="panel-body"> - <table id="datatable_list_wrap"></table> + <table class="table" id="datatable_list_wrap"></table> </div> </div> <script>
--- a/kallithea/templates/admin/repos/repo_edit_fields.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/repos/repo_edit_fields.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,7 +1,7 @@ %if c.visual.repository_fields: %if c.repo_fields: <div class="emails_wrap"> - <table class="noborder"> + <table class="table"> <th>${_('Label')}</th> <th>${_('Key')}</th> <th>${_('Type')}</th>
--- a/kallithea/templates/admin/repos/repo_edit_permissions.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/repos/repo_edit_permissions.html Mon Jan 09 00:41:30 2017 +0100 @@ -3,7 +3,7 @@ <div class="form-horizontal"> <div class="form-group"> ${h.hidden('repo_private')} - <table id="permissions_manage" class="noborder"> + <table id="permissions_manage" class="table table-condensed"> <tr> <td>${_('None')}</td> <td>${_('Read')}</td>
--- a/kallithea/templates/admin/repos/repos.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/repos/repos.html Mon Jan 09 00:41:30 2017 +0100 @@ -25,7 +25,7 @@ </div> </div> <div class="panel-body"> - <table id="datatable_list_wrap"></table> + <table class="table" id="datatable_list_wrap"></table> </div> </div>
--- a/kallithea/templates/admin/user_groups/user_group_edit_perms.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/user_groups/user_group_edit_perms.html Mon Jan 09 00:41:30 2017 +0100 @@ -2,7 +2,7 @@ <div class="form"> <div> <div> - <table id="permissions_manage" class="noborder"> + <table id="permissions_manage" class="table"> <tr> <td>${_('None')}</td> <td>${_('Read')}</td>
--- a/kallithea/templates/admin/user_groups/user_groups.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/user_groups/user_groups.html Mon Jan 09 00:41:30 2017 +0100 @@ -26,7 +26,7 @@ </div> </div> <div class="panel-body"> - <table id="datatable_list_wrap"></table> + <table class="table" id="datatable_list_wrap"></table> </div> </div> <script>
--- a/kallithea/templates/admin/users/user_edit_api_keys.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/users/user_edit_api_keys.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,5 +1,5 @@ <div class="apikeys_wrap"> - <table class="noborder"> + <table class="table"> <tr> <td style="width: 450px"><div class="truncate autoexpand" style="width:120px;font-size:16px;font-family: monospace">${c.user.api_key}</div></td> <td>
--- a/kallithea/templates/admin/users/user_edit_emails.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/users/user_edit_emails.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,5 +1,5 @@ <div class="emails_wrap"> - <table class="noborder"> + <table class="table"> <tr> %if c.visual.use_gravatar: <td>${h.gravatar_div(c.user.email, size=16)}</td>
--- a/kallithea/templates/admin/users/user_edit_ips.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/users/user_edit_ips.html Mon Jan 09 00:41:30 2017 +0100 @@ -1,5 +1,5 @@ <div class="ips_wrap"> - <table class="noborder"> + <table class="table"> %if c.default_user_ip_map and c.inherit_default_ips: %for ip in c.default_user_ip_map: <tr>
--- a/kallithea/templates/admin/users/users.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/admin/users/users.html Mon Jan 09 00:41:30 2017 +0100 @@ -24,7 +24,7 @@ </div> </div> <div class="panel-body"> - <table id="datatable_list_wrap"></table> + <table class="table" id="datatable_list_wrap"></table> </div> </div>
--- a/kallithea/templates/base/perms_summary.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/base/perms_summary.html Mon Jan 09 00:41:30 2017 +0100 @@ -22,7 +22,7 @@ <span class="empty_data">${_('No permissions defined yet')}</span> %else: <div id='tbl_list_wrap_${section}' class="yui-skin-sam"> - <table id="tbl_list_${section}"> + <table id="tbl_list_${section}" class="table"> ## global permission box %if section == 'global': <thead>
--- a/kallithea/templates/changelog/changelog.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/changelog/changelog.html Mon Jan 09 00:41:30 2017 +0100 @@ -74,7 +74,7 @@ </div> <div id="graph_content" style="${'margin: 0px' if c.changelog_for_path else ''}"> - <table id="changesets"> + <table class="table" id="changesets"> <tbody> %for cnt,cs in enumerate(c.pagination): <tr id="chg_${cnt+1}" class="container ${'mergerow' if len(cs.parents) > 1 else ''}">
--- a/kallithea/templates/changeset/changeset_range.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/changeset/changeset_range.html Mon Jan 09 00:41:30 2017 +0100 @@ -35,7 +35,7 @@ </div> <div id="changeset_compare_view_content"> <div class="container"> - <table class="compare_view_commits noborder"> + <table class="table compare_view_commits"> %for cnt,cs in enumerate(c.cs_ranges): <tr> %if c.visual.use_gravatar:
--- a/kallithea/templates/compare/compare_cs.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/compare/compare_cs.html Mon Jan 09 00:41:30 2017 +0100 @@ -29,7 +29,7 @@ <div id="graph_content_pr" style="margin-left: 100px;"> - <table class="compare_view_commits noborder"> + <table class="table compare_view_commits"> %for cnt, cs in enumerate(reversed(c.cs_ranges)): <tr id="chg_${cnt+1}" class="${'mergerow' if len(cs.parents) > 1 else ''}"> <td style="width:50px">
--- a/kallithea/templates/files/files_browser.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/files/files_browser.html Mon Jan 09 00:41:30 2017 +0100 @@ -56,7 +56,7 @@ </div> <div class="browser-body"> - <table class="code-browser"> + <table class="table code-browser"> <thead> <tr> <th>${_('Name')}</th>
--- a/kallithea/templates/index_base.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/index_base.html Mon Jan 09 00:41:30 2017 +0100 @@ -44,7 +44,7 @@ %if c.groups: <div class="panel-body"> <div id='groups_list_wrap'> - <table id="groups_list"> + <table id="groups_list" class="table"> <thead> <tr> <th class="left">${_('Repository Group')}</th> @@ -75,7 +75,7 @@ </div> %endif <div> - <table id="repos_list_wrap"></table> + <table class="table" id="repos_list_wrap"></table> </div> </div>
--- a/kallithea/templates/pullrequests/pullrequest_show.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/pullrequests/pullrequest_show.html Mon Jan 09 00:41:30 2017 +0100 @@ -156,7 +156,7 @@ <div style="height:0;width:40px"> <canvas id="avail_graph_canvas" style="width:0"></canvas> </div> - <table id="updaterevs-table" class="noborder" style="padding-left:50px"> + <table class="table" id="updaterevs-table" style="padding-left:50px"> %for cnt, cs in enumerate(c.avail_cs): <tr id="chg_available_${cnt+1}" class="${'mergerow' if len(cs.parents) > 1 and not (editable and cs.revision in c.avail_revs) else ''}"> %if c.cs_ranges and cs.revision == c.cs_ranges[-1].revision:
--- a/kallithea/templates/summary/statistics.html Mon Jan 09 00:41:30 2017 +0100 +++ b/kallithea/templates/summary/statistics.html Mon Jan 09 00:41:30 2017 +0100 @@ -43,7 +43,7 @@ <div id="legend_data" style="float: left;"> <div id="legend_container"></div> <div id="legend_choices"> - <table id="legend_choices_tables" class="noborder" style="font-size:smaller;color:#545454"></table> + <table class="table" id="legend_choices_tables" style="font-size:smaller;color:#545454"></table> </div> </div>