Skip to content

Commit

Permalink
Merge 746f91c into 300e650
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed May 2, 2019
2 parents 300e650 + 746f91c commit 138cf59
Show file tree
Hide file tree
Showing 11 changed files with 105 additions and 8 deletions.
4 changes: 2 additions & 2 deletions 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 %}
<div class="row">
<div class="col-md-6">
<h2>{% trans "Login with a local Account" %}</h2>
<h2><img src="{% static "img/logo.svg" %}" alt="nsupdate.info logo" height="35" width="35"> {% trans "Login with a local Account" %}</h2>
<hr />
{% if form.errors %}
<p>{% trans "Your username and password didn't match. Please try again." %}</p>
Expand Down
2 changes: 1 addition & 1 deletion src/nsupdate/main/templates/main/home.html
Expand Up @@ -18,7 +18,7 @@ <h4>rDNS: <span id="ipv6_rdns" class="ipv6addr">{{ request.session.ipv6_rdns }}<
{% include "main/includes/home_middle.html" %}
<div class="row">
<div class="col-sm-12" style="text-align: center">
<h1>{{ WWW_HOST }} &mdash; {% trans "the Dynamic DNS service you waited for." %}</h1>
<h1><img src="{% static "img/logo_black.svg" %}" alt="nsupdate.info logo" height="35" width="35"> {{ WWW_HOST }} &mdash; {% trans "the Dynamic DNS service you waited for." %}</h1>
</div>
<div class="col-sm-4" style="text-align: center">
<h1><i class="fa fa-thumbs-up fa-3x"></i></h1>
Expand Down
8 changes: 8 additions & 0 deletions src/nsupdate/static/css/nsupdate.css
Expand Up @@ -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 */
Expand Down
Binary file added src/nsupdate/static/img/favicon.ico
Binary file not shown.
24 changes: 24 additions & 0 deletions src/nsupdate/static/img/favicon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/nsupdate/static/img/favicon_32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/nsupdate/static/img/favicon_96.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/nsupdate/static/img/logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/nsupdate/static/img/logo_black.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 138cf59

Please sign in to comment.