-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml.json
112 lines (112 loc) · 3.38 KB
/
html.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
// Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "nwk-log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Radio buttons": {
"prefix": "nwk-radio",
"body": [
"<div class=\"cell\"><?php echo \\$$control_name?></div>",
"<div class=\"cell\"><?php echo \\$label_$control_name?></div>"
],
"description": "Create html for radio buttons"
},
"Local loading spinner": {
"prefix": "nwk-loading-local",
"body": [
"<div class=\"col-sm-$sm col-md-$md col-lg-$lg $loading_class\">",
"\t<div align=\"center\">",
"\t\t<span class=\"fa fa-circle-o-notch fa-spin fa-lg\"></span> <i><?php echo \\$translation->getValue('lblVerwerking');?></i>",
"\t</div>",
"</div>",
],
"description": "A local loading spinner"
},
"Checkbox": {
"prefix": "nwk-checkbox",
"body": [
"<div class=\"cell\"><?php echo ${1:control_name}_${2:value};?></div>"
],
"description": "Create html for checkbox"
},
"Datagrid iframe": {
"prefix": "nwk-datagrid-iframe",
"body": [
"<iframe id=\"$id\" style=\"width: 100%; display: none\"></iframe>"
],
"description": "Create and hide datagrid in iframe"
},
"Datagrid": {
"prefix": "nwk-datagrid",
"body": [
"<div class=\"container-fluid\">",
"\t<div class=\"row\">",
"\t\t<div class=\"col-sm-12 col-md-12 col-lg-12\">",
"\t\t\t<i style=\"float: right; color: #AFAFAF; padding-right: 10px\" class=\"fa fa-info-circle\" title=\"",
"PHP:",
"$php_programs",
"",
"NATURAL:",
"$natural_progams",
"",
"WSDL:",
"$wsdl\">",
"\t\t\t</i>",
"\t\t\t<br>",
"\t\t\t<div align=\"center\">",
"\t\t\t\t<table id=\"$datagrid_id\"></table>",
"\t\t\t</div>",
"\t\t\t<div id=\"$toolbar_id\">",
"\t\t\t</div>",
"\t\t</div>",
"\t</div>",
"</div>"
],
"description": "Create html for datagrid"
},
"Template": {
"prefix": "nwk-template",
"body": [
"<?php",
"require_once(\\$_SERVER['DOCUMENT_ROOT'] .'/nwk/Language/Language.class.php');",
"\\$translation = Language::start();",
"echo (isset(\\$zf_error) ? \\$zf_error : (isset(\\$error) ? \\$error : ''));",
"?>",
"<div class=\"container-fluid\">",
"\t<div class=\"row\">",
"\t\t<i style=\"float: right; color: #AFAFAF\" class=\"fa fa-info-circle\" title=\"",
"PHP:",
"$php_programs" ,
"",
"NATURAL:",
"$natural_programs",
"",
"WSDL:",
"$wsdl\"",
"\t\t></i>",
"\t\t<fieldset>",
"\t\t\t<legend><?php echo \\$translation->getValue('$translation');?></legend>",
"\t\t\t<div class=\"row\">",
"\t\t\t\t<div class=\"col-sm-2 col-md-2 col-lg-2\">",
"\t\t\t\t\t<?php echo $label_name;?>",
"\t\t\t\t</div>",
"\t\t\t\t<div class=\"col-sm-3 col-md-3 col-lg-3\">",
"\t\t\t\t\t<?php echo $control_name;?>",
"\t\t\t\t</div>",
"\t\t\t</div>",
"\t\t</fieldset>",
"\t</div>",
"</div>"
],
"description": "Create template for ZebraForm"
},
}