@cocreate/organizations 1.15.1 → 1.15.2

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.
@@ -1,118 +1,146 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <title>Industry Datatables | CoCreateJS</title>
5
-
6
- <!-- CoCreate Favicon -->
7
- <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
8
- <link rel="manifest" href="/manifest.webmanifest">
9
- </head>
10
- <body class="width:fit-content overflow:auto">
11
-
12
- <!-- Main Content -->
13
- <div content_id="content" class="padding:5px">
14
- <table class="width:100% border-collapse:collapse">
15
- <tr class="border-bottom:1px_solid_darkgray">
16
- <td class="position:sticky top:0 background:white padding:0px_10px_10px">
17
- <input type="text" class="floating-label"
18
- filter-name="name"
19
- template_id="datatable"
20
- placeholder="Industry Name">
21
- <span class="position:absolute bottom:20px right:20px float:right z-index:6">
22
- <!-- need a solution to update toggle value="desc|asc" and define and upadte icons... show hide works great but to much html and orderby only has 2 values -->
23
- <a filter-sort-name="name" filter-sort-toggle template_id="datatable">
24
- <i></i>
25
- </a>
26
- </span>
27
- </td>
28
- <td class="position:sticky top:0 background:white padding:0px_10px_10px">
29
- <input type="text" class="floating-label"
30
- filter-name="_id"
31
-
32
-
33
- template_id="datatable"
34
- placeholder="Industry_id"/>
35
- <span class="position:absolute bottom:20px right:20px float:right z-index:6" >
36
- <a filter-sort-name="_id" value="" filter-sort-direction="asc" click-value="desc, asc" click-attribute="filter-sort-direction" template_id="datatable">
37
- </a>
38
- </span>
39
- </td>
40
- </tr>
3
+ <head>
4
+ <title>Industry Datatables | CoCreateJS</title>
41
5
 
42
- <tbody
43
- fetch-collection="industries"
44
- fetch-name=""
45
- filter-value=""
46
- filter-sort-name="name"
47
- filter-sort-direction="asc"
48
- template_id="datatable">
49
-
50
- <tr template="datatable" class="background:gainsboro:hover border-bottom:1px_solid_darkgray">
51
- <td class="padding:10px">
52
- <div class="min-width:200px">
53
- <div class="icon-wrapper">
54
- <span pass_id="me1234" name="icon"></span>
55
- </div>
56
- <div>
57
- <a actions="pass, openModal" modal-src="render.html"
58
- pass-collection="module_activity"
59
- pass-document_id="{{document._id}}"
60
-
61
- pass_to="form-fields"
62
- modal-width="320px"
63
- modal-color="#229954">
64
- <h4 collection="{{document.collection}}" pass-document_id="{{document._id}}" name="name">Name</h4>
65
- <div pass-collection="modules"
66
- pass-document_id=""
67
-
68
- pass_to="render"
69
- pass_id="render">
70
-
71
- </div>
72
- </a>
73
- <h5 collection="{{document.collection}}" pass-document_id="{{document._id}}" name="description"></h5>
74
- </div>
75
- </div>
76
- </td>
77
- <td class="padding:10px">
78
- <a actions="pass, openModal" modal-src="render.html"
79
- pass-document_id=""
80
-
81
- pass-collection="module_activity"
82
- pass_to="form-fields"
83
- modal-width="320px"
84
- modal-color="#229954">
85
- <b collection="{{document.collection}}" pass-document_id="{{document._id}}" name="_id">Industry Id</b>
86
- <div pass-collection="module_activity"
87
- pass-document_id=""
88
-
89
- pass_to="render">
90
- </div>
91
- </a>
92
- </td>
93
- </tr>
94
-
95
- </tbody>
96
- </table>
97
-
98
- </div>
6
+ <!-- CoCreate Favicon -->
7
+ <link
8
+ rel="icon"
9
+ href="https://cdn.cocreate.app/favicon.ico"
10
+ type="image/ico"
11
+ sizes="16x16" />
12
+ <link rel="manifest" href="/manifest.webmanifest" />
13
+ </head>
14
+ <body class="width:fit-content overflow:auto">
15
+ <!-- Main Content -->
16
+ <div content_id="content" class="padding:5px">
17
+ <table class="width:100% border-collapse:collapse">
18
+ <tr class="border-bottom:1px_solid_darkgray">
19
+ <td
20
+ class="position:sticky top:0 background:white padding:0px_10px_10px">
21
+ <input
22
+ type="text"
23
+ class="floating-label"
24
+ filter-name="name"
25
+ template_id="datatable"
26
+ placeholder="Industry Name" />
27
+ <span
28
+ class="position:absolute bottom:20px right:20px float:right z-index:6">
29
+ <!-- need a solution to update toggle value="desc|asc" and define and upadte icons... show hide works great but to much html and orderby only has 2 values -->
30
+ <a
31
+ filter-sort-name="name"
32
+ filter-sort-toggle
33
+ template_id="datatable">
34
+ <i></i>
35
+ </a>
36
+ </span>
37
+ </td>
38
+ <td
39
+ class="position:sticky top:0 background:white padding:0px_10px_10px">
40
+ <input
41
+ type="text"
42
+ class="floating-label"
43
+ filter-name="_id"
44
+ template_id="datatable"
45
+ placeholder="Industry_id" />
46
+ <span
47
+ class="position:absolute bottom:20px right:20px float:right z-index:6">
48
+ <a
49
+ filter-sort-name="_id"
50
+ value=""
51
+ filter-sort-direction="asc"
52
+ click-value="desc, asc"
53
+ click-attribute="filter-sort-direction"
54
+ template_id="datatable">
55
+ </a>
56
+ </span>
57
+ </td>
58
+ </tr>
99
59
 
100
- <button actions="pass, openModal" modal-src="render.html"
101
- pass-collection="modules"
102
- pass-document_id=""
103
-
104
- pass_to="render"
105
- modal-width="320px"
106
- modal-height="100%"
107
- modal-color="#229954"
108
- class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4) z-index:8" pass_id="render">
109
- <i class="height:20px fill:#505050" src="/assets/svg/plus.svg"></i>
110
- </button>
111
-
112
-
60
+ <tbody
61
+ fetch-collection="industries"
62
+ fetch-name=""
63
+ filter-value=""
64
+ filter-sort-name="name"
65
+ filter-sort-direction="asc"
66
+ template_id="datatable">
67
+ <tr
68
+ template="datatable"
69
+ class="background:gainsboro:hover border-bottom:1px_solid_darkgray">
70
+ <td class="padding:10px">
71
+ <div class="min-width:200px">
72
+ <div class="icon-wrapper">
73
+ <span pass_id="me1234" name="icon"></span>
74
+ </div>
75
+ <div>
76
+ <a
77
+ actions="pass, openModal"
78
+ modal-src="render.html"
79
+ pass-collection="module_activity"
80
+ pass-document_id="{{document._id}}"
81
+ pass_to="form-fields"
82
+ modal-width="320px"
83
+ modal-color="#229954">
84
+ <h4
85
+ collection="{{document.collection}}"
86
+ pass-document_id="{{document._id}}"
87
+ name="name">
88
+ Name
89
+ </h4>
90
+ <div
91
+ pass-collection="modules"
92
+ pass-document_id=""
93
+ pass_to="render"
94
+ pass_id="render"></div>
95
+ </a>
96
+ <h5
97
+ collection="{{document.collection}}"
98
+ pass-document_id="{{document._id}}"
99
+ name="description"></h5>
100
+ </div>
101
+ </div>
102
+ </td>
103
+ <td class="padding:10px">
104
+ <a
105
+ actions="pass, openModal"
106
+ modal-src="render.html"
107
+ pass-document_id=""
108
+ pass-collection="module_activity"
109
+ pass_to="form-fields"
110
+ modal-width="320px"
111
+ modal-color="#229954">
112
+ <b
113
+ collection="{{document.collection}}"
114
+ pass-document_id="{{document._id}}"
115
+ name="_id"
116
+ >Industry Id</b
117
+ >
118
+ <div
119
+ pass-collection="module_activity"
120
+ pass-document_id=""
121
+ pass_to="render"></div>
122
+ </a>
123
+ </td>
124
+ </tr>
125
+ </tbody>
126
+ </table>
127
+ </div>
113
128
 
114
-
115
- <!-- CoCreate JS CDN -->
116
- <script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js" ></script>
117
- </body>
118
- </html>
129
+ <button
130
+ actions="pass, openModal"
131
+ modal-src="render.html"
132
+ pass-collection="modules"
133
+ pass-document_id=""
134
+ pass_to="render"
135
+ modal-width="320px"
136
+ modal-height="100%"
137
+ modal-color="#229954"
138
+ class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4) z-index:8"
139
+ pass_id="render">
140
+ <i class="height:20px fill:#505050" src="/assets/svg/plus.svg"></i>
141
+ </button>
142
+
143
+ <!-- CoCreate JS CDN -->
144
+ <script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js"></script>
145
+ </body>
146
+ </html>
@@ -1,123 +1,137 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <title>Industry Documents Datatable | CoCreateJS</title>
5
-
6
- <!-- CoCreate Favicon -->
7
- <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
8
- <link rel="manifest" href="/manifest.webmanifest">
9
- </head>
10
- <body class="width:fit-content overflow:auto">
11
-
12
- <!-- Main Content -->
13
- <div content_id="content" class="padding:5px">
14
- <table class="width:100% border-collapse:collapse">
15
- <tr class="border-bottom:1px_solid_darkgray">
16
- <td class="position:sticky top:0 background:white padding:0px_10px_10px">
17
- <input type="text" class="floating-label"
18
- filter-name="name"
19
-
20
-
21
- template_id="datatable"
22
- placeholder="Industry Name">
23
- <span class="position:absolute bottom:20px right:20px float:right z-index:6">
24
- <!-- need a solution to update toggle value="desc|asc" and define and upadte icons... show hide works great but to much html and orderby only has 2 values -->
25
- <a filter-sort-name="name" filter-sort-toggle template_id="datatable">
26
- <i></i>
27
- </a>
28
- </span>
29
- </td>
30
- <td class="position:sticky top:0 background:white padding:0px_10px_10px">
31
- <input type="text" class="floating-label"
32
- filter-name="_id"
33
-
34
-
35
- template_id="datatable"
36
- placeholder="Industry_id"/>
37
- <span class="position:absolute bottom:20px right:20px float:right z-index:6" >
38
- <a filter-sort-name="_id" value="" filter-sort-direction="asc" click-value="desc, asc" click-attribute="filter-sort-direction" template_id="datatable">
39
- </a>
40
- </span>
41
- </td>
42
- </tr>
3
+ <head>
4
+ <title>Industry Documents Datatable | CoCreateJS</title>
43
5
 
44
- <tbody
45
- fetch-collection="industry_documents"
46
- fetch-name=""
47
- filter-value=""
48
- filter-value-type="or"
49
- fetch-limit=""
50
- filter-sort-name="name"
51
- filter-sort-direction="asc"
52
- template_id="datatable"
53
- pass_to="me1234">
54
-
55
- <tr class="template background:gainsboro:hover border-bottom:1px_solid_darkgray">
56
- <td class="padding:10px">
57
- <div class="min-width:200px">
58
- <div class="icon-wrapper">
59
- <span pass_id="me1234" name="icon"></span>
60
- </div>
61
- <div>
62
- <a actions="pass, openModal" modal-src="render.html"
63
- pass-collection="module_activity"
64
- pass-document_id=""
65
-
66
- pass_to="form-fields"
67
- modal-width="320px"
68
- modal-color="#229954">
69
- <h4 pass_id="me1234" name="name">Name</h4>
70
- <div pass-collection="modules"
71
- pass-document_id=""
72
-
73
- pass_to="render"
74
- pass_id="render">
75
-
76
- </div>
77
- </a>
78
- <h5 name="description"></h5>
79
- </div>
80
- </div>
81
- </td>
82
- <td class="padding:10px">
83
- <a actions="pass, openModal" modal-src="render.html"
84
- pass-document_id=""
85
-
86
- pass-collection="module_activity"
87
- pass_to="form-fields"
88
- modal-width="320px"
89
- modal-color="#229954">
90
- <b pass_id="me1234" name="_id">Document Id</b>
91
- <div pass-collection="module_activity"
92
- pass-document_id=""
93
-
94
- pass_to="render">
95
- </div>
96
- </a>
97
- </td>
98
- </tr>
99
-
100
- </tbody>
101
- </table>
102
-
103
- </div>
6
+ <!-- CoCreate Favicon -->
7
+ <link
8
+ rel="icon"
9
+ href="https://cdn.cocreate.app/favicon.ico"
10
+ type="image/ico"
11
+ sizes="16x16" />
12
+ <link rel="manifest" href="/manifest.webmanifest" />
13
+ </head>
14
+ <body class="width:fit-content overflow:auto">
15
+ <!-- Main Content -->
16
+ <div content_id="content" class="padding:5px">
17
+ <table class="width:100% border-collapse:collapse">
18
+ <tr class="border-bottom:1px_solid_darkgray">
19
+ <td
20
+ class="position:sticky top:0 background:white padding:0px_10px_10px">
21
+ <input
22
+ type="text"
23
+ class="floating-label"
24
+ filter-name="name"
25
+ template_id="datatable"
26
+ placeholder="Industry Name" />
27
+ <span
28
+ class="position:absolute bottom:20px right:20px float:right z-index:6">
29
+ <!-- need a solution to update toggle value="desc|asc" and define and upadte icons... show hide works great but to much html and orderby only has 2 values -->
30
+ <a
31
+ filter-sort-name="name"
32
+ filter-sort-toggle
33
+ template_id="datatable">
34
+ <i></i>
35
+ </a>
36
+ </span>
37
+ </td>
38
+ <td
39
+ class="position:sticky top:0 background:white padding:0px_10px_10px">
40
+ <input
41
+ type="text"
42
+ class="floating-label"
43
+ filter-name="_id"
44
+ template_id="datatable"
45
+ placeholder="Industry_id" />
46
+ <span
47
+ class="position:absolute bottom:20px right:20px float:right z-index:6">
48
+ <a
49
+ filter-sort-name="_id"
50
+ value=""
51
+ filter-sort-direction="asc"
52
+ click-value="desc, asc"
53
+ click-attribute="filter-sort-direction"
54
+ template_id="datatable">
55
+ </a>
56
+ </span>
57
+ </td>
58
+ </tr>
104
59
 
105
- <button actions="pass, openModal" modal-src="render.html"
106
- pass-collection="modules"
107
- pass-document_id=""
108
-
109
- pass_to="render"
110
- modal-width="320px"
111
- modal-height="100%"
112
- modal-color="#229954"
113
- class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4) z-index:8" pass_id="render">
114
- <i class="height:20px fill:#505050" src="/assets/svg/plus.svg"></i>
115
- </button>
116
-
117
-
60
+ <tbody
61
+ fetch-collection="industry_documents"
62
+ fetch-name=""
63
+ filter-value=""
64
+ filter-value-type="or"
65
+ fetch-limit=""
66
+ filter-sort-name="name"
67
+ filter-sort-direction="asc"
68
+ template_id="datatable"
69
+ pass_to="me1234">
70
+ <tr
71
+ class="template background:gainsboro:hover border-bottom:1px_solid_darkgray">
72
+ <td class="padding:10px">
73
+ <div class="min-width:200px">
74
+ <div class="icon-wrapper">
75
+ <span pass_id="me1234" name="icon"></span>
76
+ </div>
77
+ <div>
78
+ <a
79
+ actions="pass, openModal"
80
+ modal-src="render.html"
81
+ pass-collection="module_activity"
82
+ pass-document_id=""
83
+ pass_to="form-fields"
84
+ modal-width="320px"
85
+ modal-color="#229954">
86
+ <h4 pass_id="me1234" name="name">
87
+ Name
88
+ </h4>
89
+ <div
90
+ pass-collection="modules"
91
+ pass-document_id=""
92
+ pass_to="render"
93
+ pass_id="render"></div>
94
+ </a>
95
+ <h5 name="description"></h5>
96
+ </div>
97
+ </div>
98
+ </td>
99
+ <td class="padding:10px">
100
+ <a
101
+ actions="pass, openModal"
102
+ modal-src="render.html"
103
+ pass-document_id=""
104
+ pass-collection="module_activity"
105
+ pass_to="form-fields"
106
+ modal-width="320px"
107
+ modal-color="#229954">
108
+ <b pass_id="me1234" name="_id">Document Id</b>
109
+ <div
110
+ pass-collection="module_activity"
111
+ pass-document_id=""
112
+ pass_to="render"></div>
113
+ </a>
114
+ </td>
115
+ </tr>
116
+ </tbody>
117
+ </table>
118
+ </div>
118
119
 
119
-
120
- <!-- CoCreate JS CDN -->
121
- <script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js" ></script>
122
- </body>
123
- </html>
120
+ <button
121
+ actions="pass, openModal"
122
+ modal-src="render.html"
123
+ pass-collection="modules"
124
+ pass-document_id=""
125
+ pass_to="render"
126
+ modal-width="320px"
127
+ modal-height="100%"
128
+ modal-color="#229954"
129
+ class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4) z-index:8"
130
+ pass_id="render">
131
+ <i class="height:20px fill:#505050" src="/assets/svg/plus.svg"></i>
132
+ </button>
133
+
134
+ <!-- CoCreate JS CDN -->
135
+ <script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js"></script>
136
+ </body>
137
+ </html>