]> git.mxchange.org Git - friendica.git/commit
improve image-upload
authorJakobus Schürz <jakobus.schuerz@schuerz.at>
Tue, 14 Mar 2023 09:38:03 +0000 (10:38 +0100)
committerJakobus Schürz <jakobus.schuerz@schuerz.at>
Sun, 19 Mar 2023 17:52:45 +0000 (18:52 +0100)
commit2403932a83ee5a17d6949a8da13999884f9423ed
tree47868132e4701df11d6e98c48febc25626b283b7
parent1e030d594c3900e2bbce4a6dffe4e0ad21c9e4f8
improve image-upload

* create dropzone for editing in jot-modal
* customize css for dropzone to make it more beautiful (smaller
  margin/paddings...)
* change position of dropzone-element dircetly to textarea, so button
  for upload is small and under textarea (it's more clear)
* remove previews after upload. this shows the upload-progress, but
  preview is not needed after upload. you can't do anything with the
  preview, and dialog gets too big. You see successful upload, when
  bb-code link to image is inserted on cursor-position in textarea
view/templates/item/compose.tpl
view/theme/frio/css/dropzone.frio.css [new file with mode: 0644]
view/theme/frio/css/dropzone.min.frio.css [new file with mode: 0644]
view/theme/frio/js/modal.js
view/theme/frio/templates/comment_item.tpl
view/theme/frio/templates/head.tpl
view/theme/frio/templates/jot.tpl