support/templates/layout.html

54 lines
2.3 KiB
HTML
Raw Normal View History

2017-11-06 09:59:56 +00:00
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ this.alt }}" {% if bag('alternatives', this.alt, 'direction') == 'text-right' %}dir="rtl" {% endif %}>
2017-11-06 09:59:56 +00:00
<meta charset="utf-8">
2018-02-16 18:40:25 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2019-09-05 16:42:42 +02:00
<meta name="description" content="{{ _('Defend yourself against tracking and surveillance. Circumvent censorship.') }} | {{ this.title }}">
2019-08-20 17:15:56 +02:00
<link rel="stylesheet" href="{{ '/static/css/bootstrap.css'|asseturl }}">
2019-08-20 17:50:54 +02:00
<link rel="stylesheet" href="{{ '/static/fonts/fontawesome/css/all.min.css'|asseturl }}" rel="stylesheet">
2020-10-14 13:47:27 +11:00
<!-- Standard favicon -->
<link rel="icon" type="image/x-icon" href="{{ '/static/images/favicon.ico'|asseturl }}">
<!-- Recommended favicon format -->
<link rel="icon" type="image/png" href="{{ '/static/images/favicon.png'|asseturl }}">
2021-04-16 01:35:21 +05:30
<script>
function change(event) {
let btn = event.currentTarget;
if (btn.innerHTML == "{{ _('expand') }}") {
btn.innerHTML = "{{ _('collapse') }}";
2021-04-16 01:35:21 +05:30
} else {
btn.innerHTML = "{{ _('expand') }}";
2021-04-16 01:35:21 +05:30
}
}
</script>
2018-02-15 19:11:16 +01:00
2020-04-02 08:35:13 +02:00
<title>{% block title %}{{ this.title }} {{ this.term }} {% endblock %} | {{ _("Tor Project | Support") }}</title>
<body class="no-gutters" data-spy="scroll" data-target="#sidenav-topics" id="topics" data-children=".item">
2017-11-06 09:59:56 +00:00
<header>
2018-01-12 08:37:06 +01:00
{% include 'navbar.html' %}
2017-11-06 09:59:56 +00:00
</header>
<div class="page">
<div class="jumbotron jumbotron-fluid bg-primary text-white mb-md-5">
<div class="container-fluid text-center">
2020-01-10 16:05:29 +01:00
{% if this.title %}
<h1 class="display-4 no-border font-weight-light pt-5 pb-4">{{ this.title }}</h1>
{% elif this.term %}
<h1 class="display-4 no-border font-weight-light pt-5 pb-4">{{ this.term }}</h1>
{% endif %}
2022-04-28 13:20:25 +00:00
{% include 'search.html' %}
</div>
</div>
<div class="container-fluid">
<div class="row flex-xl-nowrap">
{% include 'sidenav.html' %}
{% set locale = bag('alternatives', this.alt) %}
2019-11-25 19:10:12 +01:00
<main role="main" class="col-sm-12 col-xs-12 ml-sm-auto col-md-9 col-lg-9 {{ locale.order }} {{ locale.direction }}">
2021-04-16 01:35:21 +05:30
<button class="btn btn-primary float-right" data-toggle="collapse" data-target=".expand" aria-expanded="false" onclick="change(event)">expand</button>
{% block body %}{% endblock %}
</main>
</div>
</div>
</div>
2019-10-25 21:06:33 +02:00
{% include 'footer.html' %}
2017-11-06 09:59:56 +00:00
</body>
2019-04-15 13:47:08 +02:00
</html>