Hemanth Kumar Veeranki 881302ac02
Use logos instead of icons in the apps page
- Adjust the template so that it uses glyphicons for sys page and logos for the app page
- Add logos for missing apps (tor and sharing) and their licences

Signed-off-by: Hemanth Kumar Veeranki <hems.india1997@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-06-30 09:40:09 -04:00

186 lines
5.4 KiB
HTML

{% extends 'base.html' %}
{% comment %}
#
# This file is part of FreedomBox.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
{% endcomment %}
{% load i18n %}
{% load static %}
{% block page_head %}
<style type="text/css">
body {
background-image: url({% static 'theme/img/freedombox-logo-background.svg' %});
}
</style>
{% endblock %}
{% block container %}
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
{% include 'messages.html' %}
{% if not shortcuts %}
<h4>
{% url 'apps' as apps_url %}
{% blocktrans trimmed %}
Enable some <a href="{{ apps_url }}">applications</a> to add
shortcuts to this page.
{% endblocktrans %}
</h4>
{% endif %}
{% if details %}
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">{{ details_label }}</h3>
</div>
{% for paragraph in details %}
<div class="panel-body">
{{ paragraph|safe }}
</div>
{% endfor %}
<br>
{% if user.is_authenticated and user_is_admin and configure_url %}
<a class="btn btn-primary btn-sm"
style="margin-left : 10px; margin-bottom : 5px"
href="{{ configure_url }}">
{% trans "Configure &raquo;" %}</a>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
{% if shortcuts %}
<div id="container-wrapper" class="container-fluid">
<div class="row">
<div class="card-list">
{% for shortcut in shortcuts %}
{% if not shortcut.hidden %}
{% if user.is_authenticated or not shortcut.login_required %}
<div class="card thumbnail">
{% if selected_id == shortcut.id %}
<a href="{{ shortcut.url }}" class="nav-link active">
{% else %}
<a href="{{ shortcut.url }}" class="nav-link">
{% endif %}
<div class="card-icon">
<img src="{% static 'theme/icons/' %}{{ shortcut.icon }}.png"/>
</div>
<div class="card-title">
{{ shortcut.name }}
</div>
<div class="card-description">
{{ shortcut.short_description }}
</div>
</a>
</div>
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% endblock %}
{% block footer_block %}
<p>
<a href="{% url 'index' %}" title="{{ box_name }}">
<img class="footer-logo" src="{% static 'theme/img/FreedomBox-logo-standard.svg' %}"
alt="{{ box_name }}" />
</a>
</p>
<p>
{% blocktrans trimmed %}
{{ box_name }}, a Debian pure blend, is a 100% free software
self-hosting web server to deploy social applications on small
machines. It provides online communication tools respecting your
privacy and data ownership.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
This portal is a part of the {{ box_name }} web interface. {{ box_name }}
is free software, distributed under the GNU Affero General Public License,
Version 3 or later.
{% endblocktrans %}
</p>
<div class="row">
<div class="col-md-2 col-md-offset-3">
<p>
<a href="https://wiki.debian.org/FreedomBox/Manual">
{% trans "Manual" %}
</a>
</p>
<p>
<a href="https://wiki.debian.org/FreedomBox">{% trans "Wiki" %}</a>
</p>
</div>
<div class="col-md-2">
<p>
<a href="https://freedombox.org">{% trans "Homepage" %}</a>
</p>
<p>
<a href="https://salsa.debian.org/freedombox-team/">{% trans "Source Code" %}</a>
</p>
<p>
<a href="https://freedomboxfoundation.org/donate/">{% trans "Donate" %}</a>
</p>
<p>
<a href="https://freedomboxfoundation.org/">
{% trans "FreedomBox Foundation" %}
</a>
</p>
</div>
<div class="col-md-2">
<p>
<a href="https://webchat.oftc.net/?randomnick=1&channels=freedombox&prompt=1">
{%trans "IRC Chatroom" %}
</a>
</p>
<p>
<a href="https://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss">
{% trans "Mailing list" %}
</a>
</p>
</div>
</div>
<div class="license-info">
<p>
<a href="{% static 'jslicense.html' %}" data-jslicense="1">
{% trans "JavaScript license information" %}</a>
</p>
</div>
{% endblock %}