summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/settingsView.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/views/settingsView.js')
-rw-r--r--module/web/static/js/views/settingsView.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/module/web/static/js/views/settingsView.js b/module/web/static/js/views/settingsView.js
new file mode 100644
index 000000000..f4e118233
--- /dev/null
+++ b/module/web/static/js/views/settingsView.js
@@ -0,0 +1,25 @@
+define(['jquery', 'underscore', 'backbone'],
+ function($, _, Backbone) {
+
+ // Renders a single package item
+ return Backbone.View.extend({
+
+ el: "#content",
+// template: _.compile($("#template-package").html()),
+
+ events: {
+
+ },
+
+ initialize: function() {
+ $.ajax("/api/getCoreConfig");
+ $.ajax("/api/getPluginConfig");
+ $.ajax("/api/getAvailablePlugins");
+ console.log("Settings initialized");
+ },
+
+ render: function() {
+ }
+
+ });
+ }); \ No newline at end of file