Change footer of home page according to new design

This commit is contained in:
Soumya97 2017-03-13 21:33:44 +05:30 committed by Sunil Mohan Adapa
parent 9c65f69e89
commit b44efb939a
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
3 changed files with 49 additions and 27 deletions

View File

@ -218,7 +218,7 @@
<footer> <footer>
{% block footer_block %} {% block footer_block %}
<center> <center>
<a href="{% static 'jslicense.html' %}" data-jslicense="1"> <a href="{% static 'jslicense.html' %}" data-jslicense="1" style="opacity: 0.75;">
JavaScript license information</a> JavaScript license information</a>
</center> </center>
{% endblock %} {% endblock %}

View File

@ -41,7 +41,7 @@
<img src="{% static 'theme/icons/' %}{{ shortcut.icon }}.png" style="max-width: 100px; height: 100px" /> <img src="{% static 'theme/icons/' %}{{ shortcut.icon }}.png" style="max-width: 100px; height: 100px" />
<br> <br>
{{ shortcut.label|linebreaks }} {{ shortcut.label|linebreaks }}
</center> </center>
</a> </a>
</li> </li>
</ul> </ul>
@ -90,36 +90,49 @@
{% block center-info %} {% block center-info %}
<div style="min-height: 200px;"></div>
<h4> <a href="{% url 'index' %}"
title="{{ box_name }}">
<img class="foot-logo" src="{% static 'theme/img/FreedomBox-logo-standard.png' %}"
alt="{{ box_name }}" />
</a>
<div class="foot-columns">
{% blocktrans trimmed %} {% blocktrans trimmed %}
Welcome to {{ box_name }}! <div class ="row">
<div class="col-md-4">
<a href="https://wiki.debian.org/FreedomBox/Manual">Manual</a>
</div>
<div class="col-md-4">
<a href="https://freedombox.org">Homepage</a>
</div>
<div class="col-md-4">
<a href="https://webchat.oftc.net/?randomnick=1&channels=freedombox&prompt=1">IRC Chatroom</a>
</div>
{% endblocktrans %} {% endblocktrans %}
</h4>
<p> </div>
</div>
<div class="foot-columns">
{% blocktrans trimmed %} {% blocktrans trimmed %}
{{ box_name }}, a Debian pure blend, is a 100% free software <div class ="row">
self-hosting web server to deploy social applications on small <div class="col-md-4">
machines. It provides online communication tools respecting your <a href="https://wiki.debian.org/FreedomBox">Wiki</a>
privacy and data ownership. </div>
<div class="col-md-4">
<a href="https://github.com/freedombox/">Source Code</a>
</div>
<div class="col-md-4">
<a href="https://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss">Mailing list</a>
</div>
{% endblocktrans %} {% endblocktrans %}
</p>
<p> </div>
{% blocktrans trimmed %} </div>
More info about {{ box_name }} is available on the <div class="foot-columns">
project <a href="https://freedombox.org">homepage</a> <a href="https://freedomboxfoundation.org/donate/">Donate</a>
and <a href="https://wiki.debian.org/FreedomBox">wiki</a>. </div>
{% endblocktrans %} <div class="foot-columns">
</p> <a href="https://freedomboxfoundation.org/">FreedomBox Foundation</a>
</div>
<p>
{% blocktrans trimmed %}
This portal is a part of Plinth, the {{ box_name }} web
interface. Plinth is free software, distributed under the GNU
Affero General Public License, Version 3 or later.
{% endblocktrans %}
</p>
{% endblock %} {% endblock %}

View File

@ -73,3 +73,12 @@ body {
.diagnostics-results .diagnostics-result { .diagnostics-results .diagnostics-result {
width: 60px; width: 60px;
} }
.foot-logo{
width: 140px;
}
.foot-columns{
padding-right: 20%;
padding-left: 20%;
padding-bottom: 1%;
}