aboutsummaryrefslogtreecommitdiff
path: root/templates/entry.tmpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-07-13 12:22:15 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-07-13 12:22:15 +0200
commit90d9d819b70f68e10482954cfc461737c0165f8a (patch)
treefa5dd5b15c0c5a53d084c7b4be9fc2d7d6782491 /templates/entry.tmpl
parent4e5b2d9dfd9413ce084e64e048a57ad6e23356d3 (diff)
downloadmdir-90d9d819b70f68e10482954cfc461737c0165f8a.tar.gz
mdir-90d9d819b70f68e10482954cfc461737c0165f8a.tar.bz2
mdir-90d9d819b70f68e10482954cfc461737c0165f8a.zip
feat: Add custom css
Diffstat (limited to 'templates/entry.tmpl')
-rw-r--r--templates/entry.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/entry.tmpl b/templates/entry.tmpl
index 9f1181f..9edd5cd 100644
--- a/templates/entry.tmpl
+++ b/templates/entry.tmpl
@@ -1,6 +1,5 @@
{{ define "entry" }}
{{ template "_head" }}
-<div class="container">
{{ if (eq .ID 0) }}
<form action="/entries" method="POST">
{{ else }}
@@ -16,11 +15,14 @@
<input class="input" type="text" id="Link" name="Link" value="{{ .Link }}" placeholder="Paste a valid youtube-dl link" required>
</div>
<div class="field">
+ <label for="DateAfter">Date after</label>
+ <input class="input" type="text" id="DateAfter" name="DateAfter" value="{{ .DateAfter }}" placeholder="Select the start date" required>
+ </div>
+ <div class="field">
<label for="output">Output folder</label>
<input class="input" type="text" id="OutputFolder" name="OutputFolder" value="{{ .OutputFolder }}" placeholder="Select a ralative folder" required>
</div>
<button type="submit">Submit</button>
</form>
- </div>
{{ template "_footer" }}
{{ end }}