@@ -17,9 +17,14 @@ package org.graceframework.plugins.admin
1717
1818import grails.plugins.DynamicPlugin
1919
20+ /**
21+ * Admin Console for {@link DynamicPlugin}.
22+ *
23+ * @author Michael Yan
24+ * @since 1.0
25+ */
2026class AdminConsoleGrailsPlugin extends DynamicPlugin {
2127
22- // the version or versions of Grails the plugin is designed for
2328 def version = ' 1.0.0-SNAPSHOT'
2429 def grailsVersion = " 2023.0.0 > *"
2530 // def dependsOn = [dynamicModules: '*']
@@ -45,27 +50,13 @@ A powerful and flexible, extensible administration framework and management cons
4550
4651 // License: one of 'APACHE', 'GPL2', 'GPL3'
4752 def license = " APACHE"
48-
49- // Details of company behind the plugin (if there is one)
5053 def organization = [ name : " Grace Framework" , url : " https://github.com/graceframework/" ]
51-
52- // Any additional developers beyond the author specified above.
5354 def developers = [ [ name : " Michael Yan" , email : " rain@rainboyan.com" ]]
54-
55- // Location of the plugin's issue tracker.
5655 def issueManagement = [ system : " GitHub" , url : " https://github.com/grace-plugins/grace-admin/issues" ]
57-
58- // Online location of the plugin's browseable source code.
5956 def scm = [ url : " https://github.com/grace-plugins/grace-admin.git" ]
6057
61- Closure doWithSpring () { {->
62- // Use AdminConsolePluginConfiguration instead
63- // webInterfaceManager(DefaultWebInterfaceManager)
64- }
65- }
66-
6758 Closure doWithDynamicModules () { {->
68- // TODO Implement registering dynamic modules to application (optional)
59+ // Admin Console Navigation Bar, Tabs, Sidebar
6960 webSection(key : " admin.navigation.bar" , name : " Admin Navigation Bar" , i18nNameKey : " admin.menu.section.navigation.bar" )
7061
7162 webSection(key : " admin.tabs.dashboard" , name :" Dashboard Tab" , location :" admin.navigation.bar" , i18nNameKey : " admin.menu.section.dashboard.name" , descriptionKey : " admin.menu.section.dashboard.desc" , weight : 1 )
0 commit comments