Ignore:
Timestamp:
Apr 28, 2011, 2:31:56 PM (13 years ago)
Author:
gav
Message:

Upgrade branches/util-apps/DomainUtil to Grails-1.3.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/util-apps/DomainUtil/grails-app/views/index.gsp

    r766 r907  
    22    <head>
    33        <title>Welcome to Grails</title>
    4                 <meta name="layout" content="main" />
    5                 <style type="text/css" media="screen">
     4        <meta name="layout" content="main" />
     5        <style type="text/css" media="screen">
    66
    7                         #nav {
    8                                 margin-top:20px;
    9                                 margin-left:30px;
    10                                 width:228px;
    11                                 float:left;
     7        #nav {
     8            margin-top:20px;
     9            margin-left:30px;
     10            width:228px;
     11            float:left;
    1212
    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                         }
     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        }
    3636
    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>
     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>
    5252    </head>
    5353    <body>
    54                 <div id="nav">
    55                         <div class="homePagePanel">
    56                                 <div class="panelTop">
     54        <div id="nav">
     55            <div class="homePagePanel">
     56                <div class="panelTop"></div>
     57                <div class="panelBody">
     58                    <h1>Application Status</h1>
     59                    <ul>
     60                        <li>App version: <g:meta name="app.version"></g:meta></li>
     61                        <li>Grails version: <g:meta name="app.grails.version"></g:meta></li>
     62                        <li>Groovy version: ${org.codehaus.groovy.runtime.InvokerHelper.getVersion()}</li>
     63                        <li>JVM version: ${System.getProperty('java.version')}</li>
     64                        <li>Controllers: ${grailsApplication.controllerClasses.size()}</li>
     65                        <li>Domains: ${grailsApplication.domainClasses.size()}</li>
     66                        <li>Services: ${grailsApplication.serviceClasses.size()}</li>
     67                        <li>Tag Libraries: ${grailsApplication.tagLibClasses.size()}</li>
     68                    </ul>
     69                    <h1>Installed Plugins</h1>
     70                    <ul>
     71                        <g:set var="pluginManager"
     72                               value="${applicationContext.getBean('pluginManager')}"></g:set>
    5773
    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                        <g:each var="plugin" in="${pluginManager.allPlugins}">
     75                            <li>${plugin.name} - ${plugin.version}</li>
     76                        </g:each>
    7477
    75                                                 <g:each var="plugin" in="${pluginManager.allPlugins}">
    76                                                         <li>${plugin.name} - ${plugin.version}</li>
    77                                                 </g:each>
     78                    </ul>
     79                </div>
     80                <div class="panelBtm"></div>
     81            </div>
     82        </div>
     83        <div id="pageBody">
     84            <h1>Welcome to Grails</h1>
     85            <p>Congratulations, you have successfully started your first Grails application! At the moment
     86            this is the default page, feel free to modify it to either redirect to a controller or display whatever
     87            content you may choose. Below is a list of controllers that are currently deployed in this application,
     88            click on each to execute its default action:</p>
    7889
    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>
     90            <div id="controllerList" class="dialog">
     91                <h2>Available Controllers:</h2>
     92                <ul>
     93                    <g:each var="c" in="${grailsApplication.controllerClasses.sort { it.fullName } }">
     94                        <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
     95                    </g:each>
     96                </ul>
     97            </div>
     98        </div>
    10399    </body>
    104100</html>
Note: See TracChangeset for help on using the changeset viewer.