Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
5f651b4f
Commit
5f651b4f
authored
Sep 12, 2017
by
Carsten Rose
Browse files
Fabric: Entwurf Prokoll
parent
e59a80e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/FABRIC.md
0 → 100644
View file @
5f651b4f
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
doc/PROTOCOL.md
View file @
5f651b4f
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment