<!--
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>
<button onclick="paste_version()">Yank pastebin URL for version info</button>
<pre>{{ version }}</pre>

<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 %}
