Files
@ 5af8a48417c4
Branch filter:
Location: FVDE/ennstatus/ennstatus/templates/base.html
5af8a48417c4
5.8 KiB
text/html
Fixed not worldmap
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | {# Ënnstatus
Copyright (C) 2015 Dennis Fink
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
{% extends "bootstrap/base.html" %}
{% import 'macros.html' as base_macros with context %}
{% if '.onion' in request.url_root %}
{% set wiki_url = config['ENNSTATUS_WIKI_ONION_ADDRESS'] %}
{% elif '.bit' in request.url_root %}
{% set wiki_url = config['ENNSTATUS_WIKI_BIT_ADDRESS'] %}
{% else %}
{% set wiki_url = "wiki.enn.lu" %}
{% endif %}
{% block title %}
Frënn vun der Ënn - {{ title }}
{% endblock %}
{% block metas %}
{{ super() }}
<meta charset="utf-8">
<meta name="application-name" content="Ënnstatus">
<meta name="author" content="Frënn vun der Ënn">
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@FrennVunDerEnn" />
<meta name="twitter:title" content="Frënn vun der Ënn A.S.B.L." />
<meta name="twitter:description" content="Luxembourg based non-profit organization defending civil rights on the internet." />
<meta name="twitter:image" content="{{ url_for('static', filename='images/logo/FVDE_logo_resize.png', _external=True) }}" />
{% endblock %}
{% block styles %}
{{ super() }}
<link rel="stylesheet" href="{{ url_for('static', filename='css/ennstatus.css') }}" />
<link rel="shortcut icon" href="{{ url_for('static', filename='images/favicon.png') }}">
{% endblock %}
{% block body %}
<a href="#content" class="sr-only">Skip to main content</a>
<div class="container">
{% block navbar %}
<div class="navbar navbar-default">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<img class="navbar-brand" src="{{ url_for('static', filename='images/logo/FVDE_logo_thumbnail.png') }}"></img>
<a class="navbar-brand" href="{{ url_for('root.index') }}">Enn.lu</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="//{{ wiki_url }}/doku.php?id=news" target="blank">News</a></li>
<li class="divider"></li>
<li><a href="{{ url_for('root.about') }}">Organization</a></li>
<li><a href="{{ url_for('root.partners') }}">Partners</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Services <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="{{ url_for('status.index') }}">Tor Servers</a></li>
<li class="divider"></li>
<li><a href="{{ url_for('root.mirrors') }}">Mirrors</a></li>
<li><a href="//{{ wiki_url }}">Wiki</a></li>
<li class="divider"></li>
<li><a href="{{ url_for('root.ennstatus') }}">About Ënnstatus</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Support <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="{{ url_for('donate.index') }}">Donate</a></li>
<li><a href="{{ url_for('donate.received') }}">Donation history</a></li>
<li><a href="{{ url_for('root.bridgeprogram')}}">Adopt a Bridge</a></li>
<li class="divider"></li>
<li><a href="{{ url_for('root.member') }}">Join Us</a></li>
<li class="dropdown-submenu">
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Contact <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="{{ url_for('root.contact') }}">General</a></li>
<li><a href="{{ url_for('root.abuse') }}">Abuse</a></li>
<li class="divider"></li>
<li><a href="https://twitter.com/FrennVunDerEnn" target="blank">Twitter</a></li>
<li><a href="http://lists.enn.lu/listinfo/discuss" target="blank">Mailing List</a></li>
</ul>
</li>
</ul>
</div>
</div>
{% endblock %}
<div class="row" id="content">
{% with messages = get_flashed_messages(with_categories=True) %}
{% if messages %}
<div class="col-md-12">
{% for category, message in messages %}
{{ base_macros.display_error(category, message) }}
{% endfor %}
</div>
{% endif %}
{% endwith %}
{% block content %}
{% endblock %}
</div>
<footer class="col-md-12">
<hr style="margin-bottom: 0.5%;">
<div class="text-center clearfix">
<div class="pull-left">
<a href="https://twitter.com/FrennVunDerEnn" target="blank">@FrennVunDerEnn</a>
</div>
<strong>Frënn vun der Enn a.s.b.l.</strong> <em>(R.C.S. Luxembourg F 9.478)</em>
<div class="pull-right">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_US" target="blank">CC-BY-NC-SA</a>
</div>
</div>
</footer>
</div>
{% block scripts %}
{{ super() }}
{% endblock %}
{% endblock %}
|