diff --git a/filed/static/js-only.css b/filed/static/js-only.css new file mode 100644 index 0000000..fdd5029 --- /dev/null +++ b/filed/static/js-only.css @@ -0,0 +1 @@ +.js-only{display:none} \ No newline at end of file diff --git a/filed/static/js-only.js b/filed/static/js-only.js new file mode 100644 index 0000000..c80a5ef --- /dev/null +++ b/filed/static/js-only.js @@ -0,0 +1,2 @@ +// This script displays all elements with `js-only` class. +(()=>{let a=document.getElementsByClassName('js-only');for(let i=0;i!=a.length;i++)a[i].style.display='initial'}) \ No newline at end of file diff --git a/filed/templates/base.html b/filed/templates/base.html index 5c049d7..8b36b42 100644 --- a/filed/templates/base.html +++ b/filed/templates/base.html @@ -11,7 +11,9 @@ + + blek! File {% block head %}{% endblock %}