Remove noscript-compat since it wasnt working

This commit is contained in:
Derek Schmidt 2018-06-14 04:24:11 -07:00
parent 9d571fd709
commit fda6c10df9
Signed by: skeh
GPG key ID: 0F5D491793B4035A
2 changed files with 8 additions and 9 deletions
templates

View file

@ -13,15 +13,6 @@
Protect your memes from the evil clutches of @ItMeIRL.
</p>
<div id="upload_form">
<noscript>
<form action="{{ url_for('meirl_upload')}}" method="POST" enctype="multipart/form-data">
<input id="file_upload" name="meme" type="file" accept="image/*"></input>
<p>
(5MB maximum)
</p>
<button>Upload</button>
</form>
</noscript>
<vaadin-upload id="file_upload" files="{%raw%}{{files}}{%endraw%}" target="{{ url_for('meirl_upload') }}?noredirect" method="POST" form-data-name="meme" accept="image/*" max-file-size="5000000">
<div slot="drop-label-icon"></div>
<span slot="drop-label" class="font-headline">or drag a file here (5MB maximum)</span>

View file

@ -18,6 +18,14 @@
</head>
<body>
<noscript>
<p>
This doesn't work without JS at the moment.
</p>
<p>
Ping me if you really would rather it would: <a href="https://t.me/skehmatics">telegram</a> and <a href="https://niu.moe/@skehmatics">mastodon</a>
</p>
</noscript>
<dom-bind>
<template>
{% block body %}