taggart

Simple golang tagging filesystem webapp
Log | Files | Refs

add.html (754B)


      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   <br><button type="submit" class="text-button">Upload</button>
      6 </form>
      7 
      8 <h2>Upload from URL</h2>
      9 <form method="post" action="/upload-url">
     10   <input type="url" name="fileurl" required placeholder="File URL"><input type="text" name="filename" placeholder="Optional custom filename">
     11   <br><button type="submit" class="text-button">Download File</button>
     12 </form>
     13 
     14 <h2>Upload using yt-dlp</h2>
     15 <form action="/add-yt" method="POST">
     16     <input type="text" name="url" id="url" required placeholder="Video URL">
     17     <br><button type="submit" class="text-button">Download Video</button>
     18 </form>
     19 
     20 {{template "_footer"}}