[766] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>Welcome to Grails</title> |
---|
| 4 | <meta name="layout" content="main" /> |
---|
| 5 | <style type="text/css" media="screen"> |
---|
| 6 | |
---|
| 7 | #nav { |
---|
| 8 | margin-top:20px; |
---|
| 9 | margin-left:30px; |
---|
| 10 | width:228px; |
---|
| 11 | float:left; |
---|
| 12 | |
---|
| 13 | } |
---|
| 14 | .homePagePanel * { |
---|
| 15 | margin:0px; |
---|
| 16 | } |
---|
| 17 | .homePagePanel .panelBody ul { |
---|
| 18 | list-style-type:none; |
---|
| 19 | margin-bottom:10px; |
---|
| 20 | } |
---|
| 21 | .homePagePanel .panelBody h1 { |
---|
| 22 | text-transform:uppercase; |
---|
| 23 | font-size:1.1em; |
---|
| 24 | margin-bottom:10px; |
---|
| 25 | } |
---|
| 26 | .homePagePanel .panelBody { |
---|
| 27 | background: url(images/leftnav_midstretch.png) repeat-y top; |
---|
| 28 | margin:0px; |
---|
| 29 | padding:15px; |
---|
| 30 | } |
---|
| 31 | .homePagePanel .panelBtm { |
---|
| 32 | background: url(images/leftnav_btm.png) no-repeat top; |
---|
| 33 | height:20px; |
---|
| 34 | margin:0px; |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | .homePagePanel .panelTop { |
---|
| 38 | background: url(images/leftnav_top.png) no-repeat top; |
---|
| 39 | height:11px; |
---|
| 40 | margin:0px; |
---|
| 41 | } |
---|
| 42 | h2 { |
---|
| 43 | margin-top:15px; |
---|
| 44 | margin-bottom:15px; |
---|
| 45 | font-size:1.2em; |
---|
| 46 | } |
---|
| 47 | #pageBody { |
---|
| 48 | margin-left:280px; |
---|
| 49 | margin-right:20px; |
---|
| 50 | } |
---|
| 51 | </style> |
---|
| 52 | </head> |
---|
| 53 | <body> |
---|
| 54 | <div id="nav"> |
---|
| 55 | <div class="homePagePanel"> |
---|
| 56 | <div class="panelTop"> |
---|
| 57 | |
---|
| 58 | </div> |
---|
| 59 | <div class="panelBody"> |
---|
| 60 | <h1>Application Status</h1> |
---|
| 61 | <ul> |
---|
| 62 | <li>App version: <g:meta name="app.version"></g:meta></li> |
---|
| 63 | <li>Grails version: <g:meta name="app.grails.version"></g:meta></li> |
---|
| 64 | <li>JVM version: ${System.getProperty('java.version')}</li> |
---|
| 65 | <li>Controllers: ${grailsApplication.controllerClasses.size()}</li> |
---|
| 66 | <li>Domains: ${grailsApplication.domainClasses.size()}</li> |
---|
| 67 | <li>Services: ${grailsApplication.serviceClasses.size()}</li> |
---|
| 68 | <li>Tag Libraries: ${grailsApplication.tagLibClasses.size()}</li> |
---|
| 69 | </ul> |
---|
| 70 | <h1>Installed Plugins</h1> |
---|
| 71 | <ul> |
---|
| 72 | <g:set var="pluginManager" |
---|
| 73 | value="${applicationContext.getBean('pluginManager')}"></g:set> |
---|
| 74 | |
---|
| 75 | <g:each var="plugin" in="${pluginManager.allPlugins}"> |
---|
| 76 | <li>${plugin.name} - ${plugin.version}</li> |
---|
| 77 | </g:each> |
---|
| 78 | |
---|
| 79 | </ul> |
---|
| 80 | </div> |
---|
| 81 | <div class="panelBtm"> |
---|
| 82 | </div> |
---|
| 83 | </div> |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | </div> |
---|
| 87 | <div id="pageBody"> |
---|
| 88 | <h1>Welcome to Grails</h1> |
---|
| 89 | <p>Congratulations, you have successfully started your first Grails application! At the moment |
---|
| 90 | this is the default page, feel free to modify it to either redirect to a controller or display whatever |
---|
| 91 | content you may choose. Below is a list of controllers that are currently deployed in this application, |
---|
| 92 | click on each to execute its default action:</p> |
---|
| 93 | |
---|
| 94 | <div id="controllerList" class="dialog"> |
---|
| 95 | <h2>Available Controllers:</h2> |
---|
| 96 | <ul> |
---|
| 97 | <g:each var="c" in="${grailsApplication.controllerClasses}"> |
---|
| 98 | <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li> |
---|
| 99 | </g:each> |
---|
| 100 | </ul> |
---|
| 101 | </div> |
---|
| 102 | </div> |
---|
| 103 | </body> |
---|
| 104 | </html> |
---|