diff options
author | z411 | 2019-04-01 04:28:52 -0300 |
---|---|---|
committer | z411 | 2019-04-01 04:29:56 -0300 |
commit | ff6bf1b045fa810989a3efc78624123d3fc97f19 (patch) | |
tree | 13f949851ef0bc1d85b1fa5370c484002d5bdfdb /cgi/templates/paint.html | |
parent | 85790a8a070a9bb4e024beef4fd49c842c7e07d8 (diff) | |
download | weabot-ff6bf1b045fa810989a3efc78624123d3fc97f19.tar.gz weabot-ff6bf1b045fa810989a3efc78624123d3fc97f19.tar.xz weabot-ff6bf1b045fa810989a3efc78624123d3fc97f19.zip |
Reimplementado oekaki en Python y otros cambios
- Portados algoritmos de guardado de imagen a Python e incorporados en weabot
- Ahora los dibujos temporales se guardan en el directorio del board (adiĆ³s oek_temp)
- (Temporal) Los dibujos no se borran si no que se guardan como .bak
- Arreglado bug donde se pierde el dibujo si hubo cualquier problema al subir
Diffstat (limited to 'cgi/templates/paint.html')
-rw-r--r-- | cgi/templates/paint.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/templates/paint.html b/cgi/templates/paint.html index 476babe..945a8d2 100644 --- a/cgi/templates/paint.html +++ b/cgi/templates/paint.html @@ -27,7 +27,7 @@ <param name="color_bk2" value="#D5D8EF"> <param name="color_icon" value="#A1B8D8"> <param name="color_iconselect" value="#000000"> -<param name="url_save" value="/oek_temp/save.php?applet=paintbbs"> +<param name="url_save" value="#{cgi_url}oekaki/save/#{board}/paintbbs?rawpost"> <param name="url_exit" value="#{cgi_url}oekaki/finish/#{board}/#{replythread}"> <param name="poo" value="false"> <param name="send_advance" value="true"> @@ -57,7 +57,7 @@ <script type="text/javascript" src="#{static_url}js/wpaint/plugins/text/wPaint.menu.text.min.js"></script> <script type="text/javascript" src="#{static_url}js/wpaint/plugins/shapes/wPaint.menu.main.shapes.min.js"></script> <script type="text/javascript" src="#{static_url}js/wpaint/plugins/file/wPaint.menu.main.file.min.js"></script> -<div id="wPaint" style="position:relative; width:#{width}px; height:#{height}px; background-color:#7a7a7a; margin:70px auto 20px auto;"></div> +<div id="wPaint" style="position:relative; width:#{width}px; height:#{height}px; background-color:#7a7a7a; margin:70px auto 20px auto;" data-save="#{cgi_url}oekaki/save/#{board}/b64"></div> <script type="text/javascript" src="#{static_url}js/wpaint/bai.js"></script> <?py elif applet == 'tegaki': ?> <form id="imgform" data-w="#{width}" data-h="#{height}" action="#{cgi_url}oekaki/finish/#{board}/#{replythread}" method="post"> |