1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
awx/lib/templates/admin/base_site.html

126 lines
2.1 KiB
HTML
Raw Normal View History

2013-03-14 01:15:00 +04:00
{# Admin site customizations. #}
{% extends "admin/base.html" %}
{% load i18n %}
{% block title %}{{ title }} | {% trans 'Ansible Commander Admin' %}{% endblock %}
{% block extrastyle %}
{{ block.super }}
<link href="{{ STATIC_URL }}favicon.ico" rel="shortcut icon" />
<style type="text/css">
/* Heading and button background colors. */
#header
{
background: #1778C3 !important;
}
.module h2,
#content-related .module h2,
.module caption,
.inline-group h2,
.button.default,
input[type="submit"].default,
.submit-row input.default
{
background: #2773ae !important;
}
body
{
background-color: #f5f5f5;
}
/* Heading and button foreground colors. */
#branding h1
{
color: white !important;
}
.module h2,
.module h2 a,
#content-related .module h2,
.module caption,
.inline-group h2,
a.section,
a.section:link,
a.section:visited,
a.section:hover,
.button.default,
input[type="submit"].default,
.submit-row input.default
{
color: white !important;
}
/* Link color. */
a,
a:link,
a:visited,
#changelist-filter a:hover,
a:hover
{
color: #2773ae;
}
/* Button border color. */
.button.default,
input[type="submit"].default,
.submit-row input.default,
.selector h2
{
border-color: #074979 !important;
}
#header {
color: #ddd;
border-bottom: solid 2px #074979;
}
a:hover,
a.section:hover
{
text-decoration: underline;
}
tr.row1 {
background-color: #f5f5f5;
}
ul.messagelist li {
background-color: #ccddee;
}
.errornote {
border-color: #b22222 !important;
color: #b22222 !important;
background-color: #fdc !important;
}
.errorlist li {
border-color: #b22222 !important;
background-color: #d24242 !important;
}
</style>
2013-03-14 01:15:00 +04:00
{% endblock %}
{% block extrahead %}
{{ block.super }}
{% endblock %}
{% block blockbots %}
{{ block.super }}
{% endblock %}
{% block branding %}
<h1 id="site-name">{% trans 'Ansible Commander Admin' %}</h1>
{% endblock %}
{% block userlinks %}
{{ block.super }}
{% endblock %}
{% block nav-global %}
{% if user.is_active and user.is_staff and not is_popup %}
{# Placeholder for version/hostname info. #}
{% endif %}
{{ block.super }}
{% endblock %}
{% block content_title %}
{{ block.super }}
{% endblock %}