[Kimchi-devel] [PATCH 14/15] V2 Ginger Base : base plugin ui/config, make

chandra at linux.vnet.ibm.com chandra at linux.vnet.ibm.com
Sun Sep 27 16:34:40 UTC 2015


From: Chandra Shekhar Reddy Potula <chandra at linux.vnet.ibm.com>

---
 plugins/gingerbase/ui/Makefile.am        | 20 ++++++++++++++++++++
 plugins/gingerbase/ui/config/Makefile.am | 22 ++++++++++++++++++++++
 plugins/gingerbase/ui/config/tab-ext.xml | 10 ++++++++++
 3 files changed, 52 insertions(+)
 create mode 100644 plugins/gingerbase/ui/Makefile.am
 create mode 100644 plugins/gingerbase/ui/config/Makefile.am
 create mode 100644 plugins/gingerbase/ui/config/tab-ext.xml

diff --git a/plugins/gingerbase/ui/Makefile.am b/plugins/gingerbase/ui/Makefile.am
new file mode 100644
index 0000000..b2b0e8f
--- /dev/null
+++ b/plugins/gingerbase/ui/Makefile.am
@@ -0,0 +1,20 @@
+#
+# Ginger Base
+#
+# Copyright IBM, Corp. 2015
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+SUBDIRS = config css images js pages
+
+uidir = $(datadir)/wok/plugins/gingerbase/ui
diff --git a/plugins/gingerbase/ui/config/Makefile.am b/plugins/gingerbase/ui/config/Makefile.am
new file mode 100644
index 0000000..0b60cc9
--- /dev/null
+++ b/plugins/gingerbase/ui/config/Makefile.am
@@ -0,0 +1,22 @@
+#
+# Ginger Base
+#
+# Copyright IBM, Corp. 2015
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+xmldir = $(datadir)/wok/plugins/gingerbase/ui/config
+
+dist_xml_DATA = \
+	tab-ext.xml \
+	$(NULL)
diff --git a/plugins/gingerbase/ui/config/tab-ext.xml b/plugins/gingerbase/ui/config/tab-ext.xml
new file mode 100644
index 0000000..2d2d9bd
--- /dev/null
+++ b/plugins/gingerbase/ui/config/tab-ext.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tabs-ext>
+    <tab>
+        <access role="admin" mode="admin"/>
+        <access role="user" mode="none"/>
+
+        <title>Host</title>
+        <path>plugins/gingerbase/host.html</path>
+    </tab>
+</tabs-ext>
-- 
2.1.0




More information about the Kimchi-devel mailing list