summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-10 17:36:05 +0200
committerSimon Rettberg2017-05-10 17:36:05 +0200
commit47657731433248410e681640b2a53c0783651134 (patch)
tree3ee31a268b89ec154be6169c0139067f066495c0 /modules-available
parent[locationinfo] install: Match table column type to referenced table (diff)
downloadslx-admin-47657731433248410e681640b2a53c0783651134.tar.gz
slx-admin-47657731433248410e681640b2a53c0783651134.tar.xz
slx-admin-47657731433248410e681640b2a53c0783651134.zip
Add support to declare multiple css/js per module with loading condition:
A css/js can be declared to only load if the module in question is the page module being rendered, or to always be loaded even if the module is just a dependency. The second case is useful for plugin type modules. See one of the config.json files updated in this commit on how to specify css/js to load. true = always load, false = only if page module.
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/bootstrap_datepicker/config.json8
-rw-r--r--modules-available/bootstrap_dialog/config.json8
-rw-r--r--modules-available/bootstrap_multiselect/config.json8
-rw-r--r--modules-available/bootstrap_switch/config.json9
-rw-r--r--modules-available/bootstrap_timepicker/config.json8
-rw-r--r--modules-available/js_chart/config.json9
-rw-r--r--modules-available/js_circles/config.json9
-rw-r--r--modules-available/js_jqueryui/config.json8
-rw-r--r--modules-available/js_moment/config.json8
-rw-r--r--modules-available/js_selectize/config.json8
-rw-r--r--modules-available/js_stupidtable/config.json9
-rw-r--r--modules-available/js_vis/config.json8
12 files changed, 88 insertions, 12 deletions
diff --git a/modules-available/bootstrap_datepicker/config.json b/modules-available/bootstrap_datepicker/config.json
index d1261653..5a0c7960 100644
--- a/modules-available/bootstrap_datepicker/config.json
+++ b/modules-available/bootstrap_datepicker/config.json
@@ -1,3 +1,9 @@
{
- "dependencies" : []
+ "dependencies" : [],
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
}
diff --git a/modules-available/bootstrap_dialog/config.json b/modules-available/bootstrap_dialog/config.json
index d1261653..5a0c7960 100644
--- a/modules-available/bootstrap_dialog/config.json
+++ b/modules-available/bootstrap_dialog/config.json
@@ -1,3 +1,9 @@
{
- "dependencies" : []
+ "dependencies" : [],
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
}
diff --git a/modules-available/bootstrap_multiselect/config.json b/modules-available/bootstrap_multiselect/config.json
index d1261653..5a0c7960 100644
--- a/modules-available/bootstrap_multiselect/config.json
+++ b/modules-available/bootstrap_multiselect/config.json
@@ -1,3 +1,9 @@
{
- "dependencies" : []
+ "dependencies" : [],
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
}
diff --git a/modules-available/bootstrap_switch/config.json b/modules-available/bootstrap_switch/config.json
index 9e26dfee..de4d37b4 100644
--- a/modules-available/bootstrap_switch/config.json
+++ b/modules-available/bootstrap_switch/config.json
@@ -1 +1,8 @@
-{} \ No newline at end of file
+{
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
+} \ No newline at end of file
diff --git a/modules-available/bootstrap_timepicker/config.json b/modules-available/bootstrap_timepicker/config.json
index d1261653..5a0c7960 100644
--- a/modules-available/bootstrap_timepicker/config.json
+++ b/modules-available/bootstrap_timepicker/config.json
@@ -1,3 +1,9 @@
{
- "dependencies" : []
+ "dependencies" : [],
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
}
diff --git a/modules-available/js_chart/config.json b/modules-available/js_chart/config.json
index 9e26dfee..de4d37b4 100644
--- a/modules-available/js_chart/config.json
+++ b/modules-available/js_chart/config.json
@@ -1 +1,8 @@
-{} \ No newline at end of file
+{
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
+} \ No newline at end of file
diff --git a/modules-available/js_circles/config.json b/modules-available/js_circles/config.json
index 9e26dfee..de4d37b4 100644
--- a/modules-available/js_circles/config.json
+++ b/modules-available/js_circles/config.json
@@ -1 +1,8 @@
-{} \ No newline at end of file
+{
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
+} \ No newline at end of file
diff --git a/modules-available/js_jqueryui/config.json b/modules-available/js_jqueryui/config.json
index d1261653..5a0c7960 100644
--- a/modules-available/js_jqueryui/config.json
+++ b/modules-available/js_jqueryui/config.json
@@ -1,3 +1,9 @@
{
- "dependencies" : []
+ "dependencies" : [],
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
}
diff --git a/modules-available/js_moment/config.json b/modules-available/js_moment/config.json
index d1261653..5a0c7960 100644
--- a/modules-available/js_moment/config.json
+++ b/modules-available/js_moment/config.json
@@ -1,3 +1,9 @@
{
- "dependencies" : []
+ "dependencies" : [],
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
}
diff --git a/modules-available/js_selectize/config.json b/modules-available/js_selectize/config.json
index d1261653..5a0c7960 100644
--- a/modules-available/js_selectize/config.json
+++ b/modules-available/js_selectize/config.json
@@ -1,3 +1,9 @@
{
- "dependencies" : []
+ "dependencies" : [],
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
}
diff --git a/modules-available/js_stupidtable/config.json b/modules-available/js_stupidtable/config.json
index 9e26dfee..cf932d7e 100644
--- a/modules-available/js_stupidtable/config.json
+++ b/modules-available/js_stupidtable/config.json
@@ -1 +1,8 @@
-{} \ No newline at end of file
+{
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
+} \ No newline at end of file
diff --git a/modules-available/js_vis/config.json b/modules-available/js_vis/config.json
index ccdf64b7..3b027d31 100644
--- a/modules-available/js_vis/config.json
+++ b/modules-available/js_vis/config.json
@@ -1,3 +1,9 @@
{
- "dependencies" : ["js_moment"]
+ "dependencies" : ["js_moment"],
+ "css": {
+ "style.css": true
+ },
+ "scripts": {
+ "clientscript.js": true
+ }
}