Joseph Nuthalapati 53c5cab91c
manual: Move PDF download link to HTML manual page
- Remove "Download Manual" card
- Create link to download manual in the header of the HTML manual

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil@medhas.org Remove hard-coded URL for manual download]
[sunil@medhas.org Fix CSS indentation]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-09-06 11:00:10 -07:00

47 lines
1.3 KiB
HTML

{% extends 'help_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">
dd {
margin-left: 30px;
}
.pdf {
float: right;
margin: 4rem;
}
</style>
{% endblock %}
{% block content %}
<a href="{% url 'help:download-manual' %}"
title="{% trans 'Download as PDF' %}">
<span class="fa fa-file-pdf-o pdf"></span>
</a>
{{ content|safe }}
{% endblock %}
{% block page_js %}
<script type="text/javascript" src="{% static 'help/help.js' %}"></script>
{% endblock %}