Blob Blame Raw
{# additional classes for the top navbar #}
{% set masthead_class = "navbar-dark bg-dark" %}

{# site title that shows in the head html element at the end #}
{% set site_title = "Pagure for openSUSE" %}

{% macro head_imports() %}
    <link rel="shortcut icon" type="image/vnd.microsoft.icon"
        href="{{ url_for('theme.static', filename='favicon.ico')}}?version={{ g.version}}"/>
    <link href="{{ url_for('theme.static', filename='openSUSE-theme-chameleon-1.2.0/chameleon.css')}}?version={{ g.version}}"
        type="text/css" rel="stylesheet" />
{% endmacro %}

{% macro js_imports() %}
<script src="{{ url_for('static', filename='vendor/bootstrap/bootstrap.bundle.min.js')}}?version={{ g.version}}"></script>
{% endmacro %}

{% macro browseheader_message(select) %}
    {% if select == 'projects' %}
    <div class="row justify-content-around">
    <div class="col-md-8">
        <div class="jumbotron bg-transparent m-0 py-4 text-center">
            <h1 class="display-5">Welcome to Pagure</h1>
            <p class="lead">Pagure is an Open Source software code hosting system.</p>
        </div>
    </div>
    </div>
    {% endif %}
{% endmacro %}

{% macro footer() %}
    <div class="footer bg-light py-3">
        <div class="container">
            <div class="d-flex justify-content-center align-items-center text-muted">
                <div>Powered by <a href="https://pagure.io/pagure">Pagure</a> {{ g.version }}</div>
            </div>
            <div class="d-flex justify-content-center align-items-center text-muted">
                <div>
                    <a href="https://docs.pagure.org/pagure/usage/index.html">Documentation</a> &bull;
                    <a href="/about">About this Instance</a> &bull;
                    <a href="{{ url_for('ui_ns.ssh_hostkey') }}">SSH Hostkey/Fingerprint</a>
                </div>
            </div>
            <div class="d-flex justify-content-center align-items-center text-muted credit">
                <div>&copy; 2014-2019 Red Hat, Inc. and others.</div>
            </div>
        </div>
    </div>
{% endmacro %}

{% macro about_page() %}
  <div class="container mt-5">
    <h1>About</h1>
    <p>Welcome to this <a href="https://pagure.io/pagure">pagure</a> instance.</p>
    <p>
      For any issue, wish or security concern, feel free to
      <a href="https://pagure.io/pagure/issues">open a ticket</a> (please
      ensure the ticket is private if your concern is security-related).
    </p>
    <p>
      You may contact an administrator by emailing:
      <a href="mailto:{{ config['ADMIN_EMAIL'] }}">
        {{ config['ADMIN_EMAIL'] }}
      </a>.
    </p>
    <p>Learn more or keep in touch about pagure via our mailing lists:</p>
    <ul>
      <li>
        <a href="https://lists.pagure.io/admin/lists/pagure-announce.lists.pagure.io/">pagure-annouce</a>
      </li>
      <li>
        <a href="https://lists.pagure.io/admin/lists/pagure-devel.lists.pagure.io/">pagure-devel</a>
      </li>
    </ul>
    <p>
      <a href="https://pagure.io/pagure">pagure</a> is a free software licensed
      under the <a href="https://www.gnu.org/licenses/gpl-2.0.txt">
        GNU General Public License (GPL) v2
      </a> or any later versions.
    </p>
    <p>
      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
      General Public License for details.
    </p>
  </div>
{% endmacro %}