timApp.modules.drag package
Contents
timApp.modules.drag package#
Submodules#
timApp.modules.drag.drag_main module#
Module for serving drag item-plugin.
- class timApp.modules.drag.drag_main.DragAnswerModel(info: tim_common.pluginserver_flask.InfoModel, markup: PluginMarkup, state: Optional[PluginState], taskID: str, input: PluginInput)[source]#
Bases:
tim_common.pluginserver_flask.GenericAnswerModel
[timApp.modules.drag.drag_main.DragInputModel
,timApp.modules.drag.drag_main.DragMarkupModel
,timApp.modules.drag.drag_main.DragStateModel
]
- class timApp.modules.drag.drag_main.DragHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModel
[timApp.modules.drag.drag_main.DragInputModel
,timApp.modules.drag.drag_main.DragMarkupModel
,timApp.modules.drag.drag_main.DragStateModel
]
- class timApp.modules.drag.drag_main.DragInputModel(words: list[str], copy: str | marshmallow.utils._Missing = <marshmallow.missing>, max: int | marshmallow.utils._Missing = <marshmallow.missing>, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, savebutton: bool | marshmallow.utils._Missing = <marshmallow.missing>, shuffle: bool | marshmallow.utils._Missing = <marshmallow.missing>, trash: bool | marshmallow.utils._Missing = <marshmallow.missing>, type: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
object
- copy: str | marshmallow.utils._Missing = <marshmallow.missing>#
- max: int | marshmallow.utils._Missing = <marshmallow.missing>#
- nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- savebutton: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- shuffle: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- trash: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- type: str | marshmallow.utils._Missing = <marshmallow.missing>#
- words: list[str]#
- class timApp.modules.drag.drag_main.DragMarkupModel(accessDuration: int | None | marshmallow.utils._Missing = <marshmallow.missing>, accessEndText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, anonymous: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, answerLimit: int | None | marshmallow.utils._Missing = <marshmallow.missing>, automd: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonNewTask: str | None | marshmallow.utils._Missing = <marshmallow.missing>, cache: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, deadline: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, fields: list[str] | None | marshmallow.utils._Missing = <marshmallow.missing>, floatHeader: str | None | marshmallow.utils._Missing = <marshmallow.missing>, floatSize: tuple[int, int] | None | marshmallow.utils._Missing = <marshmallow.missing>, header: str | None | marshmallow.utils._Missing = <marshmallow.missing>, headerText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hideBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, initNewAnswer: str | None | marshmallow.utils._Missing = <marshmallow.missing>, lazy: bool | marshmallow.utils._Missing = <marshmallow.missing>, maxHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, minHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsRule: tim_common.markupmodels.PointsRule | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, postprogram: str | marshmallow.utils._Missing = <marshmallow.missing>, postoutput: str | marshmallow.utils._Missing = <marshmallow.missing>, showPoints: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, starttime: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, showInView: bool | marshmallow.utils._Missing = <marshmallow.missing>, stem: str | None | marshmallow.utils._Missing = <marshmallow.missing>, triesText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, useCurrentUser: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, texafterprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texbeforeprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hidden_keys: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, button: str | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, allowUnsavedLeave: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, disableUnchanged: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, footer: str | marshmallow.utils._Missing = <marshmallow.missing>, forceBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, globalField: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, readonly: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, lang: str | None | marshmallow.utils._Missing = <marshmallow.missing>, resetText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, connectionErrorMessage: str | marshmallow.utils._Missing = <marshmallow.missing>, undo: tim_common.markupmodels.UndoInfo | marshmallow.utils._Missing | None = <marshmallow.missing>, cols: int | marshmallow.utils._Missing = <marshmallow.missing>, copy: str | marshmallow.utils._Missing = <marshmallow.missing>, followid: str | marshmallow.utils._Missing = <marshmallow.missing>, inputstem: str | marshmallow.utils._Missing = <marshmallow.missing>, max: int | marshmallow.utils._Missing = <marshmallow.missing>, needed_len: int | marshmallow.utils._Missing = <marshmallow.missing>, savebutton: bool | marshmallow.utils._Missing = <marshmallow.missing>, shuffle: bool | marshmallow.utils._Missing = <marshmallow.missing>, trash: bool | marshmallow.utils._Missing = <marshmallow.missing>, type: str | marshmallow.utils._Missing = <marshmallow.missing>, words: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, autoSave: bool | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.markupmodels.GenericMarkupModel
- autoSave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- cols: int | marshmallow.utils._Missing = <marshmallow.missing>#
- copy: str | marshmallow.utils._Missing = <marshmallow.missing>#
- followid: str | marshmallow.utils._Missing = <marshmallow.missing>#
- inputstem: str | marshmallow.utils._Missing = <marshmallow.missing>#
- max: int | marshmallow.utils._Missing = <marshmallow.missing>#
- needed_len: int | marshmallow.utils._Missing = <marshmallow.missing>#
- savebutton: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- shuffle: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- trash: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- type: str | marshmallow.utils._Missing = <marshmallow.missing>#
- words: list[str] | marshmallow.utils._Missing = <marshmallow.missing>#
- class timApp.modules.drag.drag_main.DragStateModel(c: list[str])[source]#
Bases:
object
- c: list[str]#
- timApp.modules.drag.drag_main.answer(args: timApp.modules.drag.drag_main.DragAnswerModel) tim_common.pluginserver_flask.PluginAnswerResp [source]#
- timApp.modules.drag.drag_main.render_static_drag(m: timApp.modules.drag.drag_main.DragHtmlModel) str [source]#
- timApp.modules.drag.drag_main.reqs() tim_common.pluginserver_flask.PluginReqs [source]#