Skip to content
Snippets Groups Projects
Commit 9c4ca4e8 authored by bbaer's avatar bbaer
Browse files

Merge remote-tracking branch 'origin/punktetool' into punktetool

parents 6bb5e172 5f651b4f
No related branches found
No related tags found
No related merge requests found
Design / Notes for fabric.js
==========================================
General
=======
* grafische Annotierung von PNG, SVG,....
* Fuer die erste Vorstellung noch kein Fullscreen.
Concept
=======
* Das fabric Element
** ist als FormElement implementiert.
** Wird ganz normal asl FE Element in col-md gewrapped.
* Server sendet alle vom User hochgeladenen Bilder inline/hidden im HTML Code mit einer HTML-ID.
* Die Bilder werden als JSON Array an das Element 'fabric' via 'data-images' uebergeben:
<HTML>
...
<div id="fabric" data-images='{"images": [{"page": 1, "selector": "#qfq-fabric-image-1"}, {"page":2, "selector": "#qfq..."}]}'>
...
</HTML>
* Form Submit ist ein regualeres Save.
* Pro Aufgabe gibt es ein FormElemnt das die Fabric Drwaing JSON Daten enthaelt.
\ No newline at end of file
......@@ -389,7 +389,7 @@ On one of`"error"|"conflict"|"conflict_allow_force"` the Client must display `"<
On `"conflict"` the Client opens the alert as modal dialog (user can't change anything on the form) with a 'reload current
form' button.
On `"conflict_allow_force"` the Client opens the alert non-modal (default).
## Glossary
SIP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment