summaryrefslogtreecommitdiff
path: root/root.template
diff options
context:
space:
mode:
Diffstat (limited to 'root.template')
-rw-r--r--root.template16
1 files changed, 16 insertions, 0 deletions
diff --git a/root.template b/root.template
index e396d0e..93741f9 100644
--- a/root.template
+++ b/root.template
@@ -32,10 +32,26 @@
:checked ~ * .filtered {
display: none;
}
+
+ :checked + #upload-box {
+ display: block;
+ }
+ #upload-box {
+ display: none;
+ }
</style>
</head>
<body>
<div class="box">
+ <label for="doupload">Vis upload</label>
+ <input type="checkbox" id="doupload">
+ <div id="upload-box">
+ <form method="POST" action="/upload" enctype="multipart/form-data">
+ <input type="file" name="f" accept="image/*,.pdf,.txt,.md" capture>
+ <input type="input" name="hash">
+ <input type="submit" value="go">
+ </form>
+ </div>
<label for="dohelp">Vis hjælp</label>
<input type="checkbox" id="dohelp">
<div class="help">