Project Docs Github
Log in
ittf site webapi t d-control.html.ittf Edit
  • /ittf/site/webapi/t/d-control.html.ittf

/ittf/site/webapi/t/d-control.html.ittf (primary)

edit
                                            
1 $group
2 $params type, id, label, value
3 $
4 var valuex = _.replace(value, '$', ',')
5 . d-param
6 $if type === 'string'
7 . d-param-label
8 label ${label}
9 for ${id}
10 . d-param-input
11 input
12 id ${id}
13 value ${valuex}
14 class form-control
15 $elif type === 'object'
16 . d-param-label
17 label ${label}
18 for ${id}
19 . d-param-input
20 textarea
21 style width:100%;
22 id ${id}
23 rows 6
24 class form-
25 + ${valuex}
26 $elif type === 'static'
27 . d-param-label
28 label ${label}
29 for ${id}
30 . d-param-input
31 input
32 id ${id}
33 valuex ${valuex}
34 disabled
35 class form-control
Save
Save & Refresh
Cancel