aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-02-19 02:43:25 +0100
committerDaniel Schadt <kingdread@gmx.de>2020-02-19 02:43:25 +0100
commit9a0d1df756483fe865dbbf3b112f1e5158d8bd84 (patch)
treef904f5c5f0a8865dfac188d77acc5f7986955d04 /test
parent63b2ff187e290d8eafd39a902af56a88c6ab53e9 (diff)
downloadsimghost-9a0d1df756483fe865dbbf3b112f1e5158d8bd84.tar.gz
simghost-9a0d1df756483fe865dbbf3b112f1e5158d8bd84.tar.bz2
simghost-9a0d1df756483fe865dbbf3b112f1e5158d8bd84.zip
update HTML landing page
The original landing page was pretty bad, not just from the looks, but also from the functionality: In order to paste an image, you had to have the cursor focussed in the small div. This edition brings several improvements: * The general style of the page has been improved by adding some CSS styling to adjust the colors and center the content. * Pasting an image will not work everywhere on the page without focussing a specific element. This seems to work because document.onpaste fires every time, not just when the element is focussed and it even works without contenteditable=true, which removes the ugly blinking cursors. * There is a preview window for pasted images, clearly indicating what is going on and which image is going to be pasted. * Pasting an image will now hide the file chooser.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions