taggart

Simple golang tagging filesystem webapp
Log | Files | Refs

add.html (739B)


      1 {{template "_header" .}}
      2 <h2>Upload File(s)</h2>
      3 <form method="post" enctype="multipart/form-data">
      4   <input type="file" name="file" multiple>
      5   <button type="submit">Upload</button>
      6 </form>
      7 
      8 <h2>Upload from URL</h2>
      9 <form method="post" action="/upload-url">
     10   File URL: <input type="url" name="fileurl" required style="width:400px"><br>
     11   Custom filename: <input type="text" name="filename" placeholder="Optional: my-image.jpg" style="width:300px"><br>
     12   <button type="submit">Add File</button>
     13 </form>
     14 
     15 <h2>Upload from yt-dlp</h2>
     16 <form action="/add-yt" method="POST">
     17     <label for="url">Video URL:</label>
     18     <input type="text" name="url" id="url" required>
     19     <button type="submit">Add Video</button>
     20 </form>
     21 {{template "_footer"}}