Add default plugins to instance
Change-Id: I39ababb7e5d6b266a2ae4868811181816202cd48
diff --git a/.gitignore b/.gitignore
index 76e80a9..8076803 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,6 +32,7 @@
*.log
*.db
*.plugins.json
+!default.plugins.json
*.old
.*
/t/kalamar_user_client.t
diff --git a/default.plugins.json b/default.plugins.json
new file mode 100644
index 0000000..1cd65a9
--- /dev/null
+++ b/default.plugins.json
@@ -0,0 +1,32 @@
+[{
+ "name" : "Export",
+ "desc" : "Exports Kalamar results",
+ "embed" : [{
+ "panel" : "result",
+ "title" : "exports KWICs and snippets",
+ "icon" : "\uf019",
+ "classes" : ["button-icon", "plugin" ],
+ "onClick" : {
+ "action" : "setWidget",
+ "permissions" : ["forms", "scripts", "downloads"],
+ "template" : "https://korap.ids-mannheim.de/plugin/export/export"
+ }
+ }]
+},{
+ "name" : "External Resources",
+ "desc" : "Get extended access from an external provider",
+ "embed" : [{
+ "panel" : "match",
+ "title" : "Full Text",
+ "classes" : ["plugin","cart"],
+ "icon":"\f07a",
+ "onClick" : {
+ "action" : "addWidget",
+ "template" : "https://korap.ids-mannheim.de/plugin/external/",
+ "permissions": [
+ "scripts",
+ "popups"
+ ]
+ }
+ }]
+}]