diff options
author | Florian Bruhin <git@the-compiler.org> | 2018-02-11 11:11:41 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2018-02-11 11:11:41 +0100 |
commit | ab768d6f6a0de9e978d339be5f9162cec7b747fc (patch) | |
tree | 7fc00234d41262a086b94c150ba85f3f9eb69047 /qutebrowser/html | |
parent | b7f54a89dbaec41ee3d77731a77de845ac33151b (diff) | |
parent | ffddf9a15fa8e964abc7d9150af1909323bb929b (diff) | |
download | qutebrowser-ab768d6f6a0de9e978d339be5f9162cec7b747fc.tar.gz qutebrowser-ab768d6f6a0de9e978d339be5f9162cec7b747fc.zip |
Merge remote-tracking branch 'origin/pr/3567'
Diffstat (limited to 'qutebrowser/html')
-rw-r--r-- | qutebrowser/html/version.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qutebrowser/html/version.html b/qutebrowser/html/version.html index 736eb7547..a69e6f9de 100644 --- a/qutebrowser/html/version.html +++ b/qutebrowser/html/version.html @@ -1,4 +1,17 @@ {% extends "base.html" %} + +{% block script %} +function paste_version() { + const xhr = new XMLHttpRequest(); + xhr.open("GET", "qute://pastebin-version"); + xhr.send(); +} +{% endblock %} + +{% block style %} +#paste { margin: auto; display: block; } +{% endblock %} + {% block content %} {{ super() }} <h1>Version info</h1> @@ -23,4 +36,5 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/"> http://www.gnu.org/licenses/</a> or open <a href="qute://gpl">qute://gpl</a>. </p> +<button id="paste" onclick="paste_version()">Yank Pastebin URL for Version Info</button> {% endblock %} |