[iui.site] 2 new revisions pushed by msgilli...@gmail.com on 2013-05-01 06:36 GMT

2 views
Skip to first unread message

i...@googlecode.com

unread,
May 1, 2013, 2:36:13 AM5/1/13
to iui...@googlegroups.com
2 new revisions:

Revision: 686372e7d86c
Author: Sean Gilligan <se...@msgilligan.com>
Date: Tue Apr 30 22:07:01 2013
Log: Rename view so /appstatus works
http://code.google.com/p/iui/source/detail?r=686372e7d86c&repo=site

Revision: a0dafe0ef1a6
Author: Sean Gilligan <se...@msgilligan.com>
Date: Tue Apr 30 22:07:28 2013
Log: Use jetty plugin when not production
http://code.google.com/p/iui/source/detail?r=a0dafe0ef1a6&repo=site

==============================================================================
Revision: 686372e7d86c
Author: Sean Gilligan <se...@msgilligan.com>
Date: Tue Apr 30 22:07:01 2013
Log: Rename view so /appstatus works
http://code.google.com/p/iui/source/detail?r=686372e7d86c&repo=site

Added:
/grails-app/views/appstatus.gsp
Deleted:
/grails-app/views/grails.gsp

=======================================
--- /dev/null
+++ /grails-app/views/appstatus.gsp Tue Apr 30 22:07:01 2013
@@ -0,0 +1,100 @@
+<html>
+ <head>
+ <title>Welcome to Grails</title>
+ <meta name="layout" content="main" />
+ <style type="text/css" media="screen">
+
+ #nav {
+ margin-top:20px;
+ margin-left:30px;
+ width:228px;
+ float:left;
+
+ }
+ .homePagePanel * {
+ margin:0px;
+ }
+ .homePagePanel .panelBody ul {
+ list-style-type:none;
+ margin-bottom:10px;
+ }
+ .homePagePanel .panelBody h1 {
+ text-transform:uppercase;
+ font-size:1.1em;
+ margin-bottom:10px;
+ }
+ .homePagePanel .panelBody {
+ background: url(images/leftnav_midstretch.png) repeat-y top;
+ margin:0px;
+ padding:15px;
+ }
+ .homePagePanel .panelBtm {
+ background: url(images/leftnav_btm.png) no-repeat top;
+ height:20px;
+ margin:0px;
+ }
+
+ .homePagePanel .panelTop {
+ background: url(images/leftnav_top.png) no-repeat top;
+ height:11px;
+ margin:0px;
+ }
+ h2 {
+ margin-top:15px;
+ margin-bottom:15px;
+ font-size:1.2em;
+ }
+ #pageBody {
+ margin-left:280px;
+ margin-right:20px;
+ }
+ </style>
+ </head>
+ <body>
+ <div id="nav">
+ <div class="homePagePanel">
+ <div class="panelTop"></div>
+ <div class="panelBody">
+ <h1>Application Status</h1>
+ <ul>
+ <li>App version: <g:meta
name="app.version"></g:meta></li>
+ <li>Grails version: <g:meta
name="app.grails.version"></g:meta></li>
+ <li>Groovy version:
${GroovySystem.getVersion()}</li>
+ <li>JVM version:
${System.getProperty('java.version')}</li>
+ <li>Controllers:
${grailsApplication.controllerClasses.size()}</li>
+ <li>Domains:
${grailsApplication.domainClasses.size()}</li>
+ <li>Services:
${grailsApplication.serviceClasses.size()}</li>
+ <li>Tag Libraries:
${grailsApplication.tagLibClasses.size()}</li>
+ </ul>
+ <h1>Installed Plugins</h1>
+ <ul>
+ <g:set var="pluginManager"
+
value="${applicationContext.getBean('pluginManager')}"></g:set>
+
+ <g:each var="plugin"
in="${pluginManager.allPlugins}">
+ <li>${plugin.name} - ${plugin.version}</li>
+ </g:each>
+
+ </ul>
+ </div>
+ <div class="panelBtm"></div>
+ </div>
+ </div>
+ <div id="pageBody">
+ <h1>Welcome to Grails</h1>
+ <p>Congratulations, you have successfully started your first
Grails application! At the moment
+ this is the default page, feel free to modify it to either
redirect to a controller or display whatever
+ content you may choose. Below is a list of controllers that
are currently deployed in this application,
+ click on each to execute its default action:</p>
+
+ <div id="controllerList" class="dialog">
+ <h2>Available Controllers:</h2>
+ <ul>
+ <g:each var="c"
in="${grailsApplication.controllerClasses.sort { it.fullName } }">
+ <li class="controller"><g:link
controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
+ </g:each>
+ </ul>
+ </div>
+ </div>
+ </body>
+</html>
=======================================
--- /grails-app/views/grails.gsp Fri May 13 15:03:36 2011
+++ /dev/null
@@ -1,100 +0,0 @@
-<html>
- <head>
- <title>Welcome to Grails</title>
- <meta name="layout" content="main" />
- <style type="text/css" media="screen">
-
- #nav {
- margin-top:20px;
- margin-left:30px;
- width:228px;
- float:left;
-
- }
- .homePagePanel * {
- margin:0px;
- }
- .homePagePanel .panelBody ul {
- list-style-type:none;
- margin-bottom:10px;
- }
- .homePagePanel .panelBody h1 {
- text-transform:uppercase;
- font-size:1.1em;
- margin-bottom:10px;
- }
- .homePagePanel .panelBody {
- background: url(images/leftnav_midstretch.png) repeat-y top;
- margin:0px;
- padding:15px;
- }
- .homePagePanel .panelBtm {
- background: url(images/leftnav_btm.png) no-repeat top;
- height:20px;
- margin:0px;
- }
-
- .homePagePanel .panelTop {
- background: url(images/leftnav_top.png) no-repeat top;
- height:11px;
- margin:0px;
- }
- h2 {
- margin-top:15px;
- margin-bottom:15px;
- font-size:1.2em;
- }
- #pageBody {
- margin-left:280px;
- margin-right:20px;
- }
- </style>
- </head>
- <body>
- <div id="nav">
- <div class="homePagePanel">
- <div class="panelTop"></div>
- <div class="panelBody">
- <h1>Application Status</h1>
- <ul>
- <li>App version: <g:meta
name="app.version"></g:meta></li>
- <li>Grails version: <g:meta
name="app.grails.version"></g:meta></li>
- <li>Groovy version:
${org.codehaus.groovy.runtime.InvokerHelper.getVersion()}</li>
- <li>JVM version:
${System.getProperty('java.version')}</li>
- <li>Controllers:
${grailsApplication.controllerClasses.size()}</li>
- <li>Domains:
${grailsApplication.domainClasses.size()}</li>
- <li>Services:
${grailsApplication.serviceClasses.size()}</li>
- <li>Tag Libraries:
${grailsApplication.tagLibClasses.size()}</li>
- </ul>
- <h1>Installed Plugins</h1>
- <ul>
- <g:set var="pluginManager"
-
value="${applicationContext.getBean('pluginManager')}"></g:set>
-
- <g:each var="plugin"
in="${pluginManager.allPlugins}">
- <li>${plugin.name} - ${plugin.version}</li>
- </g:each>
-
- </ul>
- </div>
- <div class="panelBtm"></div>
- </div>
- </div>
- <div id="pageBody">
- <h1>Welcome to Grails</h1>
- <p>Congratulations, you have successfully started your first
Grails application! At the moment
- this is the default page, feel free to modify it to either
redirect to a controller or display whatever
- content you may choose. Below is a list of controllers that
are currently deployed in this application,
- click on each to execute its default action:</p>
-
- <div id="controllerList" class="dialog">
- <h2>Available Controllers:</h2>
- <ul>
- <g:each var="c"
in="${grailsApplication.controllerClasses.sort { it.fullName } }">
- <li class="controller"><g:link
controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
- </g:each>
- </ul>
- </div>
- </div>
- </body>
-</html>

==============================================================================
Revision: a0dafe0ef1a6
Author: Sean Gilligan <se...@msgilligan.com>
Date: Tue Apr 30 22:07:28 2013
Log: Use jetty plugin when not production
http://code.google.com/p/iui/source/detail?r=a0dafe0ef1a6&repo=site

Modified:
/grails-app/conf/BuildConfig.groovy

=======================================
--- /grails-app/conf/BuildConfig.groovy Tue Apr 30 19:57:13 2013
+++ /grails-app/conf/BuildConfig.groovy Tue Apr 30 22:07:28 2013
@@ -1,3 +1,5 @@
+import grails.util.Environment
+
grails.servlet.version = "2.5" // Change depending on target container
compliance (2.5 or 3.0)

grails.project.target.level = 1.6
@@ -37,7 +39,9 @@
}

plugins {
-// build ":jetty:2.0.3"
+ if (Environment.current != Environment.PRODUCTION) {
+ build ":jetty:2.0.3"
+ }
compile ":cloud-bees:0.5.4"
compile ":google-analytics:2.0"
}
Reply all
Reply to author
Forward
0 new messages