summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post_form.html')
-rw-r--r--templates/post_form.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index fad81e85..d7f5cadb 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -84,6 +84,20 @@
{{ antibot.html() }}
</td>
</tr>
+ {% if config.oekaki %}
+ <tr id="oekaki">
+ <th>
+ {% trans %}Oekaki{% endtrans %}
+ </th>
+ <td>
+ <canvas width="500" height="250" id="cvs" style="border:1px solid black;-webkit-user-select: none;-moz-user-select: none;">lol what you looking at the source for nerd</canvas>
+ <p><button type="button" id="brushsize">Brush size</button><input class="color" id="color" value="000000" placeholder="Color"/><button type="button" id="text">Set text</button><button type="button" id="clear">Clear</button><button type="button" id="save">Save</button><button type="button" id="load">Load</button><br/>
+ <button type="button" id="eraser">Toggle eraser</button><button type="button" id="getcolor">Get color</button><button type="button" id="fill">Fill</button>
+ </p><p><textarea id="savebox"></textarea><label><input id="confirm_oekaki" type="checkbox"/> Use oekaki instead of file?</label></p>
+ <img id="saved" style="display:none">
+ </td>
+ </tr>
+ {% endif %}
{% if config.enable_embedding %}
<tr>
<th>