diff --git a/helpdesk/settings.py b/helpdesk/settings.py index 1645d5c8..9b05a5b0 100644 --- a/helpdesk/settings.py +++ b/helpdesk/settings.py @@ -37,6 +37,8 @@ HELPDESK_REDIRECT_TO_LOGIN_BY_DEFAULT = getattr(settings, 'HELPDESK_REDIRECT_TO_ # customize helpdesk name on a few pages, i.e., your organization. HELPDESK_PREPEND_ORG_NAME = getattr(settings, 'HELPDESK_PREPEND_ORG_NAME', False) +HELPDESK_ORG_LOGO = getattr(settings, 'HELPDESK_ORG_LOGO', False) + # show knowledgebase links? HELPDESK_KB_ENABLED = getattr(settings, 'HELPDESK_KB_ENABLED', True) @@ -46,6 +48,9 @@ HELPDESK_KB_ENABLED_STAFF = getattr(settings, 'HELPDESK_KB_ENABLED_STAFF', False # show extended navigation by default, to all users, irrespective of staff status? HELPDESK_NAVIGATION_ENABLED = getattr(settings, 'HELPDESK_NAVIGATION_ENABLED', False) +# allow local customisation, add the contents of a template file to the nav bar. +HELPDESK_NAVIGATION_CUSTOM_EXTEND = getattr(settings, 'HELPDESK_NAVIGATION_CUSTOM_EXTEND', False) + # show 'stats' link in navigation bar? HELPDESK_NAVIGATION_STATS_ENABLED = getattr(settings, 'HELPDESK_NAVIGATION_STATS_ENABLED', True) diff --git a/helpdesk/static/helpdesk/helpdesk-extend.css b/helpdesk/static/helpdesk/helpdesk-extend.css new file mode 100644 index 00000000..b1085b8d --- /dev/null +++ b/helpdesk/static/helpdesk/helpdesk-extend.css @@ -0,0 +1,52 @@ +/* +Bootstrap overrides +*/ + +.thumbnail.filterBox { + display: none; + float: left; + border: solid #ccc 1px; + padding: 10px; + margin: 4px; + max-width: 24%; + min-height: 200px; +} + +.thumbnail.filterBoxShow { + display: block; +} + +.filterBox label { + clear: both; + display: block; +} + +.filterBox .filterHelp { + color: #aaa; + font-size: 0.8em; + clear: both; +} + +#searchtabs {margin-bottom: 20px;} + +.row_tablehead {background-color: #dbd5d9;} + +.errorlist {list-style: none; } +.errorlist {padding: 0;} +.has-error .input-group input, .has-error .input-group select, .has-error .input-group textarea {border-color: #b94a48} + +#helpdesk-nav-collapse #searchform { + padding-top: 0; +} +#ticket-description {background-color: #FCF8E3;} +.followup.well {background-color: #f4f5ff;} +/* +Add your custom styles here +*/ +#footer { + border-top: 2px solid #AAAAAA; + margin-top: 20px; + padding: 10px 0; +} +#helpdesk-body {padding-top: 100px;} +img.brand {padding-right: 30px;} \ No newline at end of file diff --git a/helpdesk/templates/helpdesk/attribution.html b/helpdesk/templates/helpdesk/attribution.html index 461621e3..1e4a1c64 100644 --- a/helpdesk/templates/helpdesk/attribution.html +++ b/helpdesk/templates/helpdesk/attribution.html @@ -1,5 +1,5 @@ {% load i18n %} -{% trans "Powered by django-helpdesk." %} +{% trans "django-helpdesk." %} {% if helpdesk_settings.HELPDESK_SUPPORT_PERSON %}

{% trans "For technical support please contact:" %} {{ helpdesk_settings.HELPDESK_SUPPORT_PERSON }}

{% endif %} diff --git a/helpdesk/templates/helpdesk/base.html b/helpdesk/templates/helpdesk/base.html index c4732afd..2dea51f5 100644 --- a/helpdesk/templates/helpdesk/base.html +++ b/helpdesk/templates/helpdesk/base.html @@ -8,14 +8,18 @@ {% block helpdesk_title %}Helpdesk{% endblock %} :: {% trans "Powered by django-helpdesk" %} - + + {% comment %} {% endcomment %} - - - + + + + + + @@ -94,26 +98,27 @@ {% block helpdesk_head %}{% endblock %} - -
-