-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.jinja2
93 lines (87 loc) · 3.35 KB
/
base.jinja2
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
<!DOCTYPE html>
{% set title_s %}{% block title %}ERROR{% endblock %}{% endset %}
<!--
Friendly Telegram (telegram userbot)
Copyright (C) 2018-2019 The Authors
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 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<html>
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
<title>Angry-Telegram</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.light_blue-deep_purple.min.css">
<style>
.padded {
padding: 16px;
}
.scroll-to-top {
display: block;
position: fixed;
bottom: 30px;
right: 30px;
z-index: 99;
}
</style>
<script src="{{ static("base.js") }}"></script>
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
{% block head %}{% endblock %}
</head>
<body>
<div class="mdl-layout mdl-js-layout">
<header class="mdl-layout__header">
<div class="mdl-layout-icon"></div>
<div class="mdl-layout__header-row">
<span class="mdl-layout__title">
{{ title_s }}
</span>
<div class="mdl-layout-spacer"></div>
<nav class="mdl-navigation mdl-layout--large-screen-only">
{% include "nav.jinja2" %}
</nav>
<nav class="mdl-navigation">
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout__title">
{{ title_s }}
</span>
<nav class="mdl-navigation">
{% include "nav.jinja2" %}
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content mdl-grid">
<div class="mdl-layout-spacer"></div>
<div class="mdl-cell mdl-cell--8-col">
<div class="mdl-card mdl-shadow--2dp padded" style="width:100%;">
{% block content %}
<p><b>An internal error occured.</b></p>
{% endblock %}
</div>
<div id="snackbar" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
{% block after %}{% endblock %}
</div>
<div class="mdl-layout-spacer"></div>
</div>
<button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored scroll-to-top" onclick="scrollToTop();">
<i class="material-icons">arrow_upward</i>
</button>
</main>
</div>
</body>
</html>