summaryrefslogtreecommitdiff
path: root/qutebrowser/html/version.html
blob: 6439290889de9d1380eda001c59ab1beca01f58d (plain)
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
<!--
SPDX-License-Identifier: GPL-3.0-or-later
-->

{% extends "base.html" %}

{% block script %}
function paste_version() {
  const xhr = new XMLHttpRequest();
  xhr.open("GET", "qute://pastebin-version");
  xhr.send();
}
{% endblock %}

{% block style %}
html { margin-left: 10px; }
{% endblock %}

{% block content %}
{{ super() }}
<h1>Version info</h1>
<pre>{{ version }}</pre>
<button onclick="paste_version()">Yank pastebin URL for version info</button>

<h1>Copyright info</h1>
<p>{{ copyright }}</p>
<p>
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.
</p>
<p>
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.
</p>
<p>
You should have received a copy of the GNU General Public License
along with this program.  If not, see <a href="https://www.gnu.org/licenses/">
https://www.gnu.org/licenses/</a> or open <a href="qute://gpl">qute://gpl</a>.
</p>
{% endblock %}