Commit 29fca9cc authored by shadMod's avatar shadMod 💬

reformat layout and added main and bootstrap_v5 link css in head

parent e8808f81
{# Source code of the Ubuntu-it website {# Source code of the Ubuntu-it website
# Copyright (C) 2015-2018 Pietro Albini <pietroalbini@ubuntu.com> # Copyright (C) 2015-2018 Pietro Albini <pietroalbini@ubuntu.com>
# #
# This program is free software: you can redistribute it and/or modify # 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 # 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 # by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; witout even the implied warranty of # but WITHOUT ANY WARRANTY; witout even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.
# #
# You should have received a copy of the GNU Affero General Public License # 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/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
#} #}
{% from "macros.html" import nav_item with context %} {% from "macros.html" import nav_item with context %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <title>{% block title %}Senza titolo{% endblock %} - Ubuntu-it</title>
<meta charset="utf-8"/>
<title>{% block title %}Senza titolo{% endblock %} - Ubuntu-it</title> <meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="https://static.ubuntu-it.org/fonts/ubuntu/include.min.css"> <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link rel="stylesheet" href="https://static.ubuntu-it.org/themes/italy/theme.min.css"> <link rel="stylesheet" href="https://static.ubuntu-it.org/fonts/ubuntu/include.min.css">
<link rel="stylesheet" href="{{ url_for("static", filename="website.css") }}"> <link rel="stylesheet" href="https://static.ubuntu-it.org/themes/italy/theme.min.css">
<link rel="shortcut icon" href="{{ url_for("static", filename="favicon.ico") }}"> <link rel="stylesheet" href="{{ url_for('static', filename='assets/vendor/bootstrap_v5.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/libs/main.css') }}">
{% block extra_header %}{% endblock %}
</head> {% block extra_header %}{% endblock %}
<body {% block extra_body %}{% endblock %}> </head>
<div class="cookie-policy hidden"> <body {% block extra_body %}{% endblock %}>
<div class="container">
<span> <div class="cookie-policy hidden">
Questo sito utilizza i cookie per offrirti un'esperienza <div class="container">
migliore. Continuando la navigazione ne accetti l'uso. <span>
</span> Questo sito utilizza i cookie per offrirti un'esperienza
<a href="{{ url_for("pages.cookies") }}" id="ubuntuit-cookiepolicy-hide">OK</a> migliore. Continuando la navigazione ne accetti l'uso.
<a href="#">Maggiori informazioni</a> </span>
</div> <a href="{{ url_for('pages.cookies') }}" id="ubuntuit-cookiepolicy-hide">
</div> OK
</a>
{% if g.auth_name %} <a href="#">
<nav class="sites-list"> Maggiori informazioni
<div class="container"> </a>
<ul class="left"> </div>
{% if permission("auth.sessions.manage") %} </div>
<li><a href="{{ url_for("auth.sessions_list") }}">
Sessioni attive: {{ g.auth_sessions_count }} {% if g.auth_name %}
</a></li> <nav class="sites-list">
{% endif %} <div class="container">
{% if permission("actions.show") %} <ul class="left">
<li><a href="{{ url_for("actions.show") }}"> {% if permission("auth.sessions.manage") %}
Azioni recenti <li>
</a></li> <a href="{{ url_for('auth.sessions_list') }}">
{% endif %} Sessioni attive: {{ g.auth_sessions_count }}
</ul> </a>
<ul class="right"> </li>
{% if permission("auth.sessions.own") %} {% endif %}
<li><a href="{{ url_for("auth.sessions_show", id=g.auth_id) }}"> {% if permission("actions.show") %}
{{ g.auth_name }} <li>
</a></li> <a href="{{ url_for('actions.show') }}">
{% endif %} Azioni recenti
{% if permission("auth.logout") %} </a>
<li><a href="{{ url_for("auth.logout") }}">Esci</a></li> </li>
{% endif %} {% endif %}
</ul> </ul>
</div> <ul class="right">
</nav> {% if permission("auth.sessions.own") %}
{% endif %} <li>
<a href="{{ url_for('auth.sessions_show', id=g.auth_id) }}">
<nav class="sites-list"> {{ g.auth_name }}
<div class="container"> </a>
<ul> </li>
<li><a href="{{ url_for('pages.index') }}" class="active">Sito web</a></li> {% endif %}
<li><a href="https://wiki.ubuntu-it.org">Wiki</a></li> {% if permission("auth.logout") %}
<li><a href="https://forum.ubuntu-it.org">Forum</a></li> <li>
<li><a href="https://chiedi.ubuntu-it.org">Chiedi</a></li> <a href="{{ url_for('auth.logout') }}">
<li><a href="https://chat.ubuntu-it.org">Chat</a></li> Esci
<li><a href="https://cerca.ubuntu-it.org">Cerca</a></li> </a>
<li><a href="https://planet.ubuntu-it.org">Planet</a></li> </li>
</ul> {% endif %}
<ul class="right"> </ul>
<li><a href="https://www.facebook.com/ubuntu.it">Facebook</a></li> </div>
<li><a href="https://twitter.com/ubuntuit">Twitter</a></li> </nav>
{% endif %}
<li><a href="https://www.youtube.com/ubuntuitpromozione">YouTube</a></li>
<li><a href="https://telegram.me/ubuntuit">Telegram</a></li> <nav class="sites-list">
</ul> <div class="container">
</div> <ul>
</nav> <li>
<a href="{{ url_for('pages.index') }}" class="active">
{% for navbar in _navbars %} Sito web
<nav {%- if loop.index == 1 %} class="main-navbar"{% endif %}> </a>
<div class="container"> </li>
<ul> <li>
{% if loop.index == 1 %} <a href="https://wiki.ubuntu-it.org">
<li class="site-name"><a href="{{ url_for("pages.index") }}">ubuntu-it</a></li> Wiki
{% endif -%} </a>
</li>
{%- for name, url, active in navbar %} <li>
<li> <a href="https://forum.ubuntu-it.org">
<a {%- if active %} class="active"{% endif %} href="{{ url }}">{{ name }}</a> Forum
</li> </a>
{% endfor %} </li>
</ul> <li>
</div> <a href="https://chiedi.ubuntu-it.org">
</nav> Chiedi
{% endfor %} </a>
</li>
<div class="container"> <li>
{% with messages = get_flashed_messages(with_categories=True) %} <a href="https://chat.ubuntu-it.org">
{% if messages %} Chat
{% for category, message in messages %} </a>
<div class="alert {% if category != "message" %}{{ category }}{% else %}info{% endif %}"> </li>
{{ message }} <li>
<span class="close">&times;</span> <a href="https://cerca.ubuntu-it.org">
</div> Cerca
{% endfor %} </a>
{% endif %} </li>
{% endwith %} <li>
<a href="https://planet.ubuntu-it.org">
{% block content %}{% endblock %} Planet
</a>
<footer> </li>
<p> </ul>
Ubuntu e Canonical sono marchi registrati da Canonical <ul class="right">
Ltd. <li>
</p> <a href="https://www.facebook.com/ubuntu.it">
<p> Facebook
Sito web realizzato dal Gruppo Web di Ubuntu-it, con </a>
<a href="https://www.python.org/">Python</a>, </li>
<a href="https://www.palletsproject.com/p/flask/">Flask</a> e <li>
<a href="https://www.sqlite.org/">SQLite</a>. <a href="https://twitter.com/ubuntuit">
</p> Twitter
<ul> </a>
<li><a href="{{ url_for("pages.cookies") }}"> </li>
Informativa sui cookie <li>
</a></li> <a href="https://www.youtube.com/ubuntuitpromozione">
<li><a href="https://code.ubuntu-it.org/ubuntu-it-web/www/issues"> YouTube
Segnala un problema </a>
</a></li> </li>
<li><a href="https://code.ubuntu-it.org/ubuntu-it-web/www"> <li>
Codice sorgente <a href="https://telegram.me/ubuntuit">
</a></li> Telegram
<li><a href="https://wiki.ubuntu-it.org/GruppoWeb"> </a>
Collabora con noi </li>
</a></li> </ul>
{% if not g.auth_name %} </div>
<li><a href="{{ url_for("auth.login") }}"> </nav>
Accedi
</a></li> {% for navbar in _navbars %}
{% endif %} <nav {%- if loop.index== 1 %} class="main-navbar" {% endif %}>
</ul> <div class="container">
</footer> <ul>
</div> {% if loop.index == 1 %}
<li class="site-name">
<script type="text/javascript" src="https://static.ubuntu-it.org/themes/italy/theme.min.js"></script> <a href="{{ url_for('pages.index') }}">
</body> ubuntu-it
</a>
</li>
{% endif -%}
{%- for name, url, active in navbar %}
<li>
<a {%- if active %} class="active" {% endif %} href="{{ url }}">
{{ name }}
</a>
</li>
{% endfor %}
</ul>
</div>
</nav>
{% endfor %}
<div class="container">
{% with messages = get_flashed_messages(with_categories=True) %}
{% if messages %}
{% for category, message in messages %}
<div class="alert {% if category != 'message' %}{{ category }}{% else %}info{% endif %}">
{{ message }}
<span class="close">&times;</span>
</div>
{% endfor %}
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
<footer>
<p>
Ubuntu e Canonical sono marchi registrati da Canonical Ltd.
</p>
<p>
Sito web realizzato dal Gruppo Web di Ubuntu-it, con
<a href="https://www.python.org/">
Python
</a>,
<a href="https://www.palletsproject.com/p/flask/">
Flask
</a>
e
<a href="https://www.sqlite.org/">
SQLite
</a>.
</p>
<ul>
<li>
<a href="{{ url_for('pages.cookies') }}">
Informativa sui cookie
</a>
</li>
<li>
<a href="https://code.ubuntu-it.org/ubuntu-it-web/www/issues">
Segnala un problema
</a>
</li>
<li>
<a href="https://code.ubuntu-it.org/ubuntu-it-web/www">
Codice sorgente
</a>
</li>
<li>
<a href="https://wiki.ubuntu-it.org/GruppoWeb">
Collabora con noi
</a>
</li>
{% if not g.auth_name %}
<li>
<a href="{{ url_for('auth.login') }}">
Accedi
</a>
</li>
{% endif %}
</ul>
</footer>
</div>
<script type="text/javascript" src="https://static.ubuntu-it.org/themes/italy/theme.min.js"></script>
</body>
</html> </html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment