comparison sat/tools/xml_tools.py @ 3531:a8259a1f89b2

component file sharing (management): add values of `quota` and `used` size on result form
author Goffi <goffi@goffi.org>
date Wed, 05 May 2021 15:37:33 +0200
parents 2bd75fc2555d
children d33da3fe34a5
comparison
equal deleted inserted replaced
3530:fad3b3ffa8fe 3531:a8259a1f89b2
243 243
244 The format of the dict is as follow: 244 The format of the dict is as follow:
245 - an optional "namespace" key with form namespace 245 - an optional "namespace" key with form namespace
246 - a mandatory "fields" key with list of fields as follow: 246 - a mandatory "fields" key with list of fields as follow:
247 - "type" is mostly the same as data_form.Field.fieldType 247 - "type" is mostly the same as data_form.Field.fieldType
248 - "var", "label", and "value" follow same attribude in data_form.Field 248 - "name" is used to set the "var" attribute of data_form.Field
249 - "label", and "value" follow same attribude in data_form.Field
249 - "xhtml" is used for "xml" fields with child in the C.NS_XHTML namespace 250 - "xhtml" is used for "xml" fields with child in the C.NS_XHTML namespace
250 - "options" are list of dict with optional "label" and mandatory "value" 251 - "options" are list of dict with optional "label" and mandatory "value"
251 following suitable attributes from data_form.Option 252 following suitable attributes from data_form.Option
252 """ 253 """
253 # TODO: describe format 254 # TODO: describe format