web/views/startup.py
changeset 2017 4090a9546ea3
parent 1998 12040c090aa4
child 2058 7ef12c03447c
child 2158 a2f2430dcd50
equal deleted inserted replaced
2016:a6638de6d4da 2017:4090a9546ea3
   166 
   166 
   167 class SchemaView(tabs.TabsMixin, StartupView):
   167 class SchemaView(tabs.TabsMixin, StartupView):
   168     id = 'schema'
   168     id = 'schema'
   169     title = _('application schema')
   169     title = _('application schema')
   170     tabs = [_('schema-text'), _('schema-image')]
   170     tabs = [_('schema-text'), _('schema-image')]
   171     default_tab = 'schema-image'
   171     default_tab = 'schema-text'
   172 
   172 
   173     def call(self):
   173     def call(self):
   174         """display schema information"""
   174         """display schema information"""
   175         self.req.add_js('cubicweb.ajax.js')
   175         self.req.add_js('cubicweb.ajax.js')
   176         self.req.add_css(('cubicweb.schema.css','cubicweb.acl.css'))
   176         self.req.add_css(('cubicweb.schema.css','cubicweb.acl.css'))