diff --git a/src/nsupdate/login/templates/login.html b/src/nsupdate/login/templates/login.html index b196a5b..233b723 100644 --- a/src/nsupdate/login/templates/login.html +++ b/src/nsupdate/login/templates/login.html @@ -1,11 +1,11 @@ {% extends "base.html" %} -{% load i18n %}{% load bootstrap %} +{% load i18n static bootstrap %} {% block title %}{% trans "Log in" %}{% endblock %} {% block content %}
-

{% trans "Login with a local Account" %}

+

nsupdate.info logo {% trans "Login with a local Account" %}


{% if form.errors %}

{% trans "Your username and password didn't match. Please try again." %}

diff --git a/src/nsupdate/main/templates/main/home.html b/src/nsupdate/main/templates/main/home.html index 8521de0..1079730 100644 --- a/src/nsupdate/main/templates/main/home.html +++ b/src/nsupdate/main/templates/main/home.html @@ -18,7 +18,7 @@ {% include "main/includes/home_middle.html" %}
-

{{ WWW_HOST }} — {% trans "the Dynamic DNS service you waited for." %}

+

nsupdate.info logo {{ WWW_HOST }} — {% trans "the Dynamic DNS service you waited for." %}

diff --git a/src/nsupdate/static/css/nsupdate.css b/src/nsupdate/static/css/nsupdate.css index 573b8cc..5654e16 100644 --- a/src/nsupdate/static/css/nsupdate.css +++ b/src/nsupdate/static/css/nsupdate.css @@ -7,6 +7,14 @@ html, body { /* The html and body elements cannot have any padding or margin. */ } +.navbar-brand { + padding: 8px; +} +.navbar-brand>img { + height: 100%; + width: auto; +} + .wrap { min-height: 100%; /* Negative indent footer by its height */ diff --git a/src/nsupdate/static/img/favicon.ico b/src/nsupdate/static/img/favicon.ico new file mode 100644 index 0000000..c67f71d Binary files /dev/null and b/src/nsupdate/static/img/favicon.ico differ diff --git a/src/nsupdate/static/img/favicon.svg b/src/nsupdate/static/img/favicon.svg new file mode 100644 index 0000000..5fd8773 --- /dev/null +++ b/src/nsupdate/static/img/favicon.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + diff --git a/src/nsupdate/static/img/favicon_32.png b/src/nsupdate/static/img/favicon_32.png new file mode 100644 index 0000000..26e2bd4 Binary files /dev/null and b/src/nsupdate/static/img/favicon_32.png differ diff --git a/src/nsupdate/static/img/favicon_96.png b/src/nsupdate/static/img/favicon_96.png new file mode 100644 index 0000000..ab3d88c Binary files /dev/null and b/src/nsupdate/static/img/favicon_96.png differ diff --git a/src/nsupdate/static/img/logo.svg b/src/nsupdate/static/img/logo.svg new file mode 100644 index 0000000..5fd8773 --- /dev/null +++ b/src/nsupdate/static/img/logo.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + diff --git a/src/nsupdate/static/img/logo_black.svg b/src/nsupdate/static/img/logo_black.svg new file mode 100644 index 0000000..60e7523 --- /dev/null +++ b/src/nsupdate/static/img/logo_black.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + diff --git a/src/nsupdate/static/img/logo_header.svg b/src/nsupdate/static/img/logo_header.svg new file mode 100644 index 0000000..ad3755c --- /dev/null +++ b/src/nsupdate/static/img/logo_header.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + diff --git a/src/nsupdate/templates/base.html b/src/nsupdate/templates/base.html index 3880790..07ba28e 100644 --- a/src/nsupdate/templates/base.html +++ b/src/nsupdate/templates/base.html @@ -1,5 +1,4 @@ -{% load static %} -{% load i18n %}{% load bootstrap %} +{% load static i18n bootstrap %} @@ -13,7 +12,9 @@ - + + + @@ -32,7 +33,7 @@ - {{ WWW_HOST }} + nsupdate.info logo
_blac +
{% block header %}{% endblock %}