aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2022-12-14 09:07:17 +0100
committerJan-Hendrik Willms <tleilax+github@gmail.com>2022-12-21 15:25:27 +0100
commitc6a7f35341cbbca3b5e7c04ad40962b47aac8ccc (patch)
treeaeb9b072e135632fdc38f93d71268f10becec63c /app/views
parentcbe25c6bd513babe7abcd236208ec7f25b61c2b5 (diff)
work in progressbiest-1874
Diffstat (limited to 'app/views')
-rw-r--r--app/views/foo/index.php48
1 files changed, 48 insertions, 0 deletions
diff --git a/app/views/foo/index.php b/app/views/foo/index.php
new file mode 100644
index 0000000..dcb0ebc
--- /dev/null
+++ b/app/views/foo/index.php
@@ -0,0 +1,48 @@
+<form action="#" class="default">
+ <fieldset>
+ <legend>date</legend>
+
+ <label>
+ Date
+ <input type="date" name="date"
+ value="<?= htmlReady(Request::get('date')) ?>">
+ </label>
+ </fieldset>
+ <fieldset>
+ <legend>Datetime local</legend>
+
+ <label>
+ Date
+ <input type="datetime-local" name="datetime-local"
+ value="<?= htmlReady(Request::get('datetime-local')) ?>">
+ </label>
+ </fieldset>
+ <fieldset>
+ <legend>Time</legend>
+
+ <label>
+ Time
+ <input type="time" name="time"
+ value="<?= htmlReady(Request::get('time')) ?>">
+ </label>
+
+ <label class="col-3">
+ A < B
+ <input type="time" name="time-a" id="time-a"
+ value="<?= htmlReady(Request::get('time-a')) ?>"
+ data-time-picker='{"<":"#time-b"}'>
+ </label>
+
+ <label class="col-3">
+ B > A
+ <input type="time" name="time-b" id="time-b"
+ value="<?= htmlReady(Request::get('time-b')) ?>"
+ data-time-picker='{">":"#time-a"}'>
+ </label>
+
+ </fieldset>
+
+ <footer>
+ <button type="submit">submit</button>
+ </footer>
+</form>