CSS Fixes and cleanup

Improves bootstrap compatibility, allowing for dropping in theme CSS.
Also improves responsive design but still has a ways to go.
This commit is contained in:
Basraah
2017-09-23 18:03:43 +10:00
parent 45f7b7d962
commit e68c840dad
18 changed files with 178 additions and 146 deletions

View File

@@ -8,7 +8,7 @@ class PermissionsTool(MenuItemHook):
def __init__(self):
MenuItemHook.__init__(self,
'Permissions Audit',
'fa fa-key fa-id-card grayiconecolor',
'fa fa-key fa-id-card',
'permissions_tool:overview',
order=400,
navactive=['permissions_tool:'])

View File

@@ -6,7 +6,7 @@
{% block page_title %}{% trans "Permissions Overview" %}{% endblock page_title %}
{% block content %}
<div>
<div class="col-sm-12">
<h1 class="page-header">{% trans "Permissions Overview" %}</h1>
{% if request.GET.all != 'yes' %}
<span class="pull-right">

View File

@@ -44,7 +44,7 @@ class PermissionsToolViewsTestCase(TestCase):
response_content = str(response.content, encoding='utf8')
self.assertInHTML(
'<li><a class="active" href="/permissions/overview/"><i class="fa fa-key fa-id-card grayiconecolor"></i> Permissions Audit</a></li>',
'<li><a class="active" href="/permissions/overview/"><i class="fa fa-key fa-id-card"></i> Permissions Audit</a></li>',
response_content)
def test_permissions_overview(self):