Remove noscript-compat since it wasnt working
This commit is contained in:
parent
9d571fd709
commit
fda6c10df9
2 changed files with 8 additions and 9 deletions
templates
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue