diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-08 22:15:59 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-08 22:15:59 +0000 |
| commit | 78ea9af97cbda5a94f8a4be6aec2a7a84fb34bed (patch) | |
| tree | 74873e09069df4f1e28c7e7d3aee2c420e1f3953 /templates | |
| parent | d4a1ae35950f00f678b3eff6b35a0b835de90134 (diff) | |
Oekaki
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/post_form.html | 14 |
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> |
