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 17:40:25 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2019-09-05 14:42:42 +00:00
<meta name="description" content="{{ _('Defend yourself against tracking and surveillance. Circumvent censorship.') }} | {{ this.title }}">
2019-08-20 15:15:56 +00:00
<link rel="stylesheet" href="{{ '/static/css/bootstrap.css'|asseturl }}">
2019-08-20 15:50:54 +00:00
<link rel="stylesheet" href="{{ '/static/fonts/fontawesome/css/all.min.css'|asseturl }}" rel="stylesheet">
2020-10-14 02:47:27 +00: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-15 20:05:21 +00:00
<script>
function change(event) {
let btn = event.currentTarget;
if (btn.innerHTML == {{ _('expand') }}) {
btn.innerHTML = {{ _('collapse') }};
} else {
btn.innerHTML = {{ _('expand') }};
}
}
</script>
2018-02-15 18:11:16 +00:00
2020-04-02 06:35:13 +00: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 07:37:06 +00: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 15:05:29 +00: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 18:10:12 +00: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-15 20:05:21 +00:00
<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 19:06:33 +00:00
{% include 'footer.html' %}
2017-11-06 09:59:56 +00:00
</body>
2019-04-15 11:47:08 +00:00
</html>