equal
deleted
inserted
replaced
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
18 """html widgets |
18 """html widgets |
19 |
19 |
20 those are in cubicweb since we need to know available widgets at schema |
20 those are in cubicweb since we need to know available widgets at schema |
21 serialization time |
21 serialization time |
22 |
|
23 """ |
22 """ |
24 |
23 |
|
24 import random |
25 from math import floor |
25 from math import floor |
26 import random |
|
27 |
26 |
28 from logilab.mtconverter import xml_escape |
27 from logilab.mtconverter import xml_escape |
29 |
28 |
30 from cubicweb.utils import UStringIO |
29 from cubicweb.utils import UStringIO |
31 from cubicweb.uilib import toggle_action, htmlescape |
30 from cubicweb.uilib import toggle_action, htmlescape |