pywebexec 2.1.4__py3-none-any.whl → 2.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pywebexec/static/css/form.css +5 -3
- pywebexec/static/js/schemaform.js +2 -0
- pywebexec/version.py +2 -2
- {pywebexec-2.1.4.dist-info → pywebexec-2.1.6.dist-info}/METADATA +1 -1
- {pywebexec-2.1.4.dist-info → pywebexec-2.1.6.dist-info}/RECORD +9 -9
- {pywebexec-2.1.4.dist-info → pywebexec-2.1.6.dist-info}/LICENSE +0 -0
- {pywebexec-2.1.4.dist-info → pywebexec-2.1.6.dist-info}/WHEEL +0 -0
- {pywebexec-2.1.4.dist-info → pywebexec-2.1.6.dist-info}/entry_points.txt +0 -0
- {pywebexec-2.1.4.dist-info → pywebexec-2.1.6.dist-info}/top_level.txt +0 -0
pywebexec/static/css/form.css
CHANGED
@@ -7,7 +7,8 @@
|
|
7
7
|
|
8
8
|
#schemaForm, .schema-form {
|
9
9
|
font-size: 14px;
|
10
|
-
|
10
|
+
font-family: Arial, Helvetica, sans-serif;
|
11
|
+
|
11
12
|
.glyphicon-plus-sign:before {
|
12
13
|
content: "\e081";
|
13
14
|
}
|
@@ -69,10 +70,11 @@
|
|
69
70
|
margin-bottom: 10px;
|
70
71
|
}
|
71
72
|
.form-control {
|
73
|
+
font-family: Arial, Helvetica, sans-serif;
|
72
74
|
font-size: 14px;
|
73
75
|
font-weight: normal;
|
74
76
|
line-height: 1.42857143;
|
75
|
-
color:
|
77
|
+
color: black;
|
76
78
|
background-color: #fff;
|
77
79
|
background-image: none;
|
78
80
|
border: 1px solid #ccc;
|
@@ -162,7 +164,7 @@
|
|
162
164
|
border-radius: 15px;
|
163
165
|
border-bottom-right-radius: 5px;
|
164
166
|
border: 1px solid #ccc;
|
165
|
-
padding:
|
167
|
+
padding: 1px 10px;
|
166
168
|
margin: 0px;
|
167
169
|
width: unset;
|
168
170
|
line-height: 1.42857143;
|
@@ -49,6 +49,7 @@ function createSchemaForm(form, schema, onSubmit) {
|
|
49
49
|
if (onSubmit != null) {
|
50
50
|
console.log(schema.schema_options.batch_param)
|
51
51
|
if (schema && schema.schema_options && schema.schema_options.batch_param) {
|
52
|
+
schema.properties[schema.schema_options.batch_param].required = true;
|
52
53
|
if (!schema.properties.parallel) {
|
53
54
|
schema.properties['parallel'] = {
|
54
55
|
type: 'integer',
|
@@ -94,6 +95,7 @@ function createSchemaForm(form, schema, onSubmit) {
|
|
94
95
|
});
|
95
96
|
} else {
|
96
97
|
if (schema && schema.properties && schema.properties.params.schema_options && schema.properties.params.schema_options.batch_param) {
|
98
|
+
schema.properties.params.properties[schema.properties.params.schema_options.batch_param].required = true;
|
97
99
|
for (i = 0; i < formDesc.length; i++) {
|
98
100
|
if (formDesc[i].key == 'params.' + schema.properties.params.schema_options.batch_param) {
|
99
101
|
formDesc[i].type = 'textarea';
|
pywebexec/version.py
CHANGED
@@ -2,8 +2,8 @@ pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
|
|
2
2
|
pywebexec/host_ip.py,sha256=Ud_HTflWVQ8789aoQ2RZdT1wGI-ccvrwSWGz_c7T3TI,1241
|
3
3
|
pywebexec/pywebexec.py,sha256=wC-E6xtMokjFz9p0FeiK0_COEw2RWbR9zMHojba9XHM,44624
|
4
4
|
pywebexec/swagger.yaml,sha256=zP_Nz69vZx0iwbKTwiQgSs8rJRUTiGKRyIkWzMPANOE,6688
|
5
|
-
pywebexec/version.py,sha256=
|
6
|
-
pywebexec/static/css/form.css,sha256=
|
5
|
+
pywebexec/version.py,sha256=CPOcsx1R_s9lB3K-XQvmbXItD2EvuBASo_a4U-9_vJ0,511
|
6
|
+
pywebexec/static/css/form.css,sha256=endqpptRtfPwL6X5dsNUTwOZDfSL_LcpjTtfUbITTBs,4581
|
7
7
|
pywebexec/static/css/markdown.css,sha256=3RzUnpVBdF6cQuB_NXV7hMTc0quYU8sfyuZcpsREj6A,1939
|
8
8
|
pywebexec/static/css/style.css,sha256=ynccbEDzK07rurLm-UirUs5j_hVfXlIgaHeUIq9WvA0,9969
|
9
9
|
pywebexec/static/css/swagger-ui.css,sha256=xhXN8fnUaIACGHuPIEIr9-qmyYr6Zx0k2wv4Qy7Bg1Y,154985
|
@@ -35,7 +35,7 @@ pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_q
|
|
35
35
|
pywebexec/static/images/swagger-ui.svg,sha256=FR0yeOVwe4zCYKZAjCGcT_m0Mf25NexIVaSXifIkoU0,2117
|
36
36
|
pywebexec/static/js/executables.js,sha256=Hbcpv1IZfxC406qhwkwoTvJh8TZD7kEc651IXkQDYws,12077
|
37
37
|
pywebexec/static/js/popup.js,sha256=0fr3pp4j9D2fXEVnHyQrx2bPWFHfgbb336dbewgH1d8,9023
|
38
|
-
pywebexec/static/js/schemaform.js,sha256=
|
38
|
+
pywebexec/static/js/schemaform.js,sha256=vB8d3MiANVFNGrmCQX5o-Yxalf1gKDCkLHQnrjjGpGA,5264
|
39
39
|
pywebexec/static/js/script.js,sha256=-CfZRzjusxRCY7Kol_KNOq8BdRdHYTc5X3vXNChlsdQ,17631
|
40
40
|
pywebexec/static/js/swagger-form.js,sha256=BU64XxyfrWx4DnpAuaWtG-9YpcHF3OzzAYzjiSH0NGo,3826
|
41
41
|
pywebexec/static/js/js-yaml/LICENSE,sha256=oHvCRGi5ZUznalR9R6LbKC0HcztxXbTHOpi9Y5YflVA,1084
|
@@ -66,9 +66,9 @@ pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
66
66
|
pywebexec/templates/index.html,sha256=KeNLBH9PN_ZuGhzwrjvRTj2oBtbINv_SbwGQpOahNWo,3820
|
67
67
|
pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
|
68
68
|
pywebexec/templates/swagger_ui.html,sha256=9ngyldkyEdLonBjl97mbIZUlVk-jxwcHrvFzMSrveyU,1067
|
69
|
-
pywebexec-2.1.
|
70
|
-
pywebexec-2.1.
|
71
|
-
pywebexec-2.1.
|
72
|
-
pywebexec-2.1.
|
73
|
-
pywebexec-2.1.
|
74
|
-
pywebexec-2.1.
|
69
|
+
pywebexec-2.1.6.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
70
|
+
pywebexec-2.1.6.dist-info/METADATA,sha256=vJtWhM3foirSIPtouOLfVu9fbayl_PVeoFsFyH4JNtg,12776
|
71
|
+
pywebexec-2.1.6.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
72
|
+
pywebexec-2.1.6.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
73
|
+
pywebexec-2.1.6.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
74
|
+
pywebexec-2.1.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|