summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorKabir <kabir@gnowledge.org>2012-04-25 15:59:58 +0530
committerKabir <kabir@gnowledge.org>2012-04-25 15:59:58 +0530
commit7c987c6edc92554eafd5e0600fa92589b140d609 (patch)
tree650f62eb94f87d10f9fa03877b91cae3dca56b25 /demo
parent1f863847110e1e0b6724280cff1ad3c255dd800f (diff)
downloadgnowsys-7c987c6edc92554eafd5e0600fa92589b140d609.tar.gz
Dashboard updated, basic models ( OT,O,AT,RT) put in a separate division
Diffstat (limited to 'demo')
-rw-r--r--demo/dashboard.py34
1 files changed, 25 insertions, 9 deletions
diff --git a/demo/dashboard.py b/demo/dashboard.py
index 93b0805..1b3d155 100644
--- a/demo/dashboard.py
+++ b/demo/dashboard.py
@@ -92,17 +92,29 @@ class CustomIndexDashboard(Dashboard):
collapsible=False,
children = [
modules.AppList(
- #Gstudio models here ( other than attribute datatype)
- _('Gstudio'),
+ _('Gstudio (Basic)'),
column=1,
collapsible=False,
models=(
- 'gstudio.models.Objecttype',
+ 'gstudio.models.Objecttype',
+ 'gstudio.models.Attributetype',
+ 'gstudio.models.Relationtype',
+ 'objectapp.models.Gbobject',
+ ),
+ ),
+
+ modules.AppList(
+
+
+ #Gstudio models here ( other than attribute datatype and collapsible ones)
+ _('Gstudio (Advanced)'),
+ column=1,
+ collapsible=True,
+ models=(
+
'gstudio.models.Metatype',
'gstudio.models.Relation',
- 'gstudio.models.Relationtype',
'gstudio.models.Attribute',
- 'gstudio.models.Attributetype',
'gstudio.models.Systemtype',
'gstudio.models.Processtype',
'gstudio.models.AttributeSpecification',
@@ -116,18 +128,22 @@ class CustomIndexDashboard(Dashboard):
),
#Object App models here
-
modules.AppList(
- _('Object App'),
+ _('Object App (Advanced)'),
column=1,
- collapsible=False,
+ collapsible=True,
models=(
- 'objectapp.models.*',
+ 'objectapp.models.Process',
+ 'objectapp.models.System',
),
),
+
+
+
+
# Gstudio Attribute datatype models here
modules.AppList(