diff options
| author | ilotterytea <iltsu@alright.party> | 2022-08-18 01:54:36 +0600 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2022-08-18 01:54:36 +0600 |
| commit | f7cde0cf1eaad5a03553470a3259d64aec94d70b (patch) | |
| tree | 9f9e4695c0226b2484cfbd3e8be0d039b6cb5d4a /static/html/index.html | |
| parent | d2dd2d173adbb5bfcfd3bc3955dc462b137f1b02 (diff) | |
i forgor to commit
Diffstat (limited to 'static/html/index.html')
| -rw-r--r-- | static/html/index.html | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/static/html/index.html b/static/html/index.html deleted file mode 100644 index 212b1aa..0000000 --- a/static/html/index.html +++ /dev/null @@ -1,62 +0,0 @@ -<!-- - Copyright 2022 ilotterytea - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<!DOCTYPE html> -<html> - <head> - <title>file hoster</title> - <link rel="stylesheet" href="css/style.css"> - <meta property="og:title" content="iLotterytea's file hoster"> - <meta property="og:description" content="iLotterytea's file hoster. Powered by notdankenough/fh. "> - <meta property="og:image" content="webimg/favicon.png"> - </head> - <body> - <div class="container"> - <div class="content"> - <section id="brand"> - <a href="/"> - <img src="webimg/favicon.png" width="64" title="{{AboutFileHoster}}"> - </a> - </section> - - <section id="uploadform"> - <form action="dank_upload" method="post" enctype="multipart/form-data"> - <p>Select file to upload: </p> - <input accept="image/*" name="file" id="fileu" type="file" onchange="loadFile(event)"> - <input value="Upload" name="submit" type="submit" id="submitbtn" disabled="true"> - </form> - </section> - - </div> - - </div> - <section id="i_preview"> - <img id="preview" src="#" alt=""> - </section> - - </body> - <script> - var loadFile = function(event) { - var out = document.getElementById("preview"); - var btn = document.getElementById("submitbtn"); - out.src = URL.createObjectURL(event.target.files[0]); - btn.disabled = false; - out.onload = function() { - URL.revokeObjectURL(out.src); - } - } - </script> -</html>
\ No newline at end of file |
