From b3bd30eee2b8563691c303fd2b4c56a6998ebcbe Mon Sep 17 00:00:00 2001
From: Frederik Ring
Date: Sun, 27 Sep 2020 21:21:00 +0200
Subject: [PATCH 1/2] remove click to copy
---
homepage/theme/static/scripts/click-to-copy.js | 3 ---
homepage/theme/static/scripts/clipboard.min.js | 7 -------
homepage/theme/templates/base.html | 2 +-
3 files changed, 1 insertion(+), 11 deletions(-)
delete mode 100644 homepage/theme/static/scripts/click-to-copy.js
delete mode 100644 homepage/theme/static/scripts/clipboard.min.js
diff --git a/homepage/theme/static/scripts/click-to-copy.js b/homepage/theme/static/scripts/click-to-copy.js
deleted file mode 100644
index d1fec21..0000000
--- a/homepage/theme/static/scripts/click-to-copy.js
+++ /dev/null
@@ -1,3 +0,0 @@
-$(document).ready(function () {
- var clipboard = new ClipboardJS('.js-click-to-copy')
-})
diff --git a/homepage/theme/static/scripts/clipboard.min.js b/homepage/theme/static/scripts/clipboard.min.js
deleted file mode 100644
index 1e6a96f..0000000
--- a/homepage/theme/static/scripts/clipboard.min.js
+++ /dev/null
@@ -1,7 +0,0 @@
-/*!
- * clipboard.js v2.0.6
- * https://clipboardjs.com/
- *
- * Licensed MIT © Zeno Rocha
- */
-!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return o={},r.m=n=[function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o
{% block scripts %}
- {% assets filters="rjsmin", output="scripts/packed.js", "scripts/jquery-3.4.1.min.js", "scripts/menu.js", "scripts/fade.js", "scripts/clipboard.min.js", "scripts/click-to-copy.js" %}
+ {% assets filters="rjsmin", output="scripts/packed.js", "scripts/jquery-3.4.1.min.js", "scripts/menu.js", "scripts/fade.js" %}
{% endassets %}
{% endblock %}
From 5d93685e1a147d67f6c11b38544ed9c60afc976b Mon Sep 17 00:00:00 2001
From: Frederik Ring
Date: Sun, 27 Sep 2020 21:24:14 +0200
Subject: [PATCH 2/2] remove pointer class
---
homepage/theme/templates/trydemo.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/homepage/theme/templates/trydemo.html b/homepage/theme/templates/trydemo.html
index 1f6a88c..0b6d8f3 100644
--- a/homepage/theme/templates/trydemo.html
+++ b/homepage/theme/templates/trydemo.html
@@ -19,7 +19,7 @@
-
+
curl https://demo.offen.dev | bash
@@ -30,7 +30,7 @@
-
+
docker run --rm -it -p 9876:9876 offen/offen:latest demo -port 9876