+++ /dev/null
-class PortalConfiguration {
-
- String name
- String title
- String motto
- String theme
-
- static constraints = {
- name(unique: true)
- title(nullable: false)
- motto(nullable: true)
- theme(nullable: false)
- }
-}
+++ /dev/null
-<html>
-<head>
- <title><g:layoutTitle default="Portal"/></title>
- <link rel="stylesheet" href="${resource(dir: 'css/blueprint', file: 'screen.css')}" type="text/css" media="screen, projection"/>
- <link rel="stylesheet" href="${resource(dir: 'css/blueprint', file: 'print.css')}" type="text/css" media="print"/>
- <!--[if IE]><link rel="stylesheet" href="${resource(dir: 'css', file: 'ie.css')}" type="text/css" media="screen, projection"><![endif]-->
-
- <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/>
- <g:layoutHead/>
- <g:javascript library="application"/>
-</head>
-<body>
-<div id="spinner" class="spinner" style="display:none;">
- <img src="${resource(dir: 'images', file: 'spinner.gif')}" alt="Spinner"/>
-</div>
-
-<div class="header first span-24 last">
- <h1>The Portal Header</h1>
-</div>
-
-<div class="first span-24 last">
- <h1>
- <g:pageProperty name="page.roots"/>
- </h1>
-</div>
-
-<div class="first span-24 last">
- <h2>
- <g:pageProperty name="page.siblings"/>
- </h2>
-</div>
-
-<div class="first span-24 last">
- <h3>
- <g:pageProperty name="page.children"/>
- </h3>
-</div>
-
-<div class="first span-24 last">
- <div style="border: solid thin black">
- <g:pageProperty name="page.content"/>
- </div>
-</div>
-
-<div class="first span-24 last footer">
- <h4>The Footer</h4>
-</div>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title>Create PortalConfiguration</title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
- <span class="menuButton"><g:link class="list" action="list">PortalConfiguration List</g:link></span>
- </div>
- <div class="body">
- <h1>Create PortalConfiguration</h1>
- <g:if test="${flash.message}">
- <div class="message">${flash.message}</div>
- </g:if>
- <g:hasErrors bean="${portalConfigurationInstance}">
- <div class="errors">
- <g:renderErrors bean="${portalConfigurationInstance}" as="list" />
- </div>
- </g:hasErrors>
- <g:form action="save" method="post" >
- <div class="dialog">
- <table>
- <tbody>
-
- <tr class="prop">
- <td valign="top" class="name">
- <label for="title">Title:</label>
- </td>
- <td valign="top" class="value ${hasErrors(bean:portalConfigurationInstance,field:'title','errors')}">
- <input type="text" id="title" name="title" value="${fieldValue(bean:portalConfigurationInstance,field:'title')}"/>
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name">
- <label for="motto">Motto:</label>
- </td>
- <td valign="top" class="value ${hasErrors(bean:portalConfigurationInstance,field:'motto','errors')}">
- <input type="text" id="motto" name="motto" value="${fieldValue(bean:portalConfigurationInstance,field:'motto')}"/>
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name">
- <label for="theme">Theme:</label>
- </td>
- <td valign="top" class="value ${hasErrors(bean:portalConfigurationInstance,field:'theme','errors')}">
- <g:select id="theme" name="theme" from="${portalConfigurationInstance.constraints.theme.inList}" value="${portalConfigurationInstance.theme}" ></g:select>
- </td>
- </tr>
-
- </tbody>
- </table>
- </div>
- <div class="buttons">
- <span class="button"><input class="save" type="submit" value="Create" /></span>
- </div>
- </g:form>
- </div>
- </body>
-</html>
+++ /dev/null
-
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title>Edit PortalConfiguration</title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
- <span class="menuButton"><g:link class="list" action="list">PortalConfiguration List</g:link></span>
- <span class="menuButton"><g:link class="create" action="create">New PortalConfiguration</g:link></span>
- </div>
- <div class="body">
- <h1>Edit PortalConfiguration</h1>
- <g:if test="${flash.message}">
- <div class="message">${flash.message}</div>
- </g:if>
- <g:hasErrors bean="${portalConfigurationInstance}">
- <div class="errors">
- <g:renderErrors bean="${portalConfigurationInstance}" as="list" />
- </div>
- </g:hasErrors>
- <g:form method="post" >
- <input type="hidden" name="id" value="${portalConfigurationInstance?.id}" />
- <input type="hidden" name="version" value="${portalConfigurationInstance?.version}" />
- <div class="dialog">
- <table>
- <tbody>
-
- <tr class="prop">
- <td valign="top" class="name">
- <label for="title">Title:</label>
- </td>
- <td valign="top" class="value ${hasErrors(bean:portalConfigurationInstance,field:'title','errors')}">
- <input type="text" id="title" name="title" value="${fieldValue(bean:portalConfigurationInstance,field:'title')}"/>
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name">
- <label for="motto">Motto:</label>
- </td>
- <td valign="top" class="value ${hasErrors(bean:portalConfigurationInstance,field:'motto','errors')}">
- <input type="text" id="motto" name="motto" value="${fieldValue(bean:portalConfigurationInstance,field:'motto')}"/>
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name">
- <label for="theme">Theme:</label>
- </td>
- <td valign="top" class="value ${hasErrors(bean:portalConfigurationInstance,field:'theme','errors')}">
- <g:select id="theme" name="theme" from="${portalConfigurationInstance.constraints.theme.inList}" value="${portalConfigurationInstance.theme}" ></g:select>
- </td>
- </tr>
-
- </tbody>
- </table>
- </div>
- <div class="buttons">
- <span class="button"><g:actionSubmit class="save" value="Update" /></span>
- <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
- </div>
- </g:form>
- </div>
- </body>
-</html>
+++ /dev/null
-
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title>PortalConfiguration List</title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
- <span class="menuButton"><g:link class="create" action="create">New PortalConfiguration</g:link></span>
- </div>
- <div class="body">
- <h1>PortalConfiguration List</h1>
- <g:if test="${flash.message}">
- <div class="message">${flash.message}</div>
- </g:if>
- <div class="list">
- <table>
- <thead>
- <tr>
-
- <g:sortableColumn property="id" title="Id" />
-
- <g:sortableColumn property="title" title="Title" />
-
- <g:sortableColumn property="motto" title="Motto" />
-
- <g:sortableColumn property="theme" title="Theme" />
-
- </tr>
- </thead>
- <tbody>
- <g:each in="${portalConfigurationInstanceList}" status="i" var="portalConfigurationInstance">
- <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
-
- <td><g:link action="show" id="${portalConfigurationInstance.id}">${fieldValue(bean:portalConfigurationInstance, field:'id')}</g:link></td>
-
- <td>${fieldValue(bean:portalConfigurationInstance, field:'title')}</td>
-
- <td>${fieldValue(bean:portalConfigurationInstance, field:'motto')}</td>
-
- <td>${fieldValue(bean:portalConfigurationInstance, field:'theme')}</td>
-
- </tr>
- </g:each>
- </tbody>
- </table>
- </div>
- <div class="paginateButtons">
- <g:paginate total="${portalConfigurationInstanceTotal}" />
- </div>
- </div>
- </body>
-</html>
+++ /dev/null
-
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title>Show PortalConfiguration</title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
- <span class="menuButton"><g:link class="list" action="list">PortalConfiguration List</g:link></span>
- <span class="menuButton"><g:link class="create" action="create">New PortalConfiguration</g:link></span>
- </div>
- <div class="body">
- <h1>Show PortalConfiguration</h1>
- <g:if test="${flash.message}">
- <div class="message">${flash.message}</div>
- </g:if>
- <div class="dialog">
- <table>
- <tbody>
-
-
- <tr class="prop">
- <td valign="top" class="name">Id:</td>
-
- <td valign="top" class="value">${fieldValue(bean:portalConfigurationInstance, field:'id')}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name">Title:</td>
-
- <td valign="top" class="value">${fieldValue(bean:portalConfigurationInstance, field:'title')}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name">Motto:</td>
-
- <td valign="top" class="value">${fieldValue(bean:portalConfigurationInstance, field:'motto')}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name">Theme:</td>
-
- <td valign="top" class="value">${fieldValue(bean:portalConfigurationInstance, field:'theme')}</td>
-
- </tr>
-
- </tbody>
- </table>
- </div>
- <div class="buttons">
- <g:form>
- <input type="hidden" name="id" value="${portalConfigurationInstance?.id}" />
- <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
- <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
- </g:form>
- </div>
- </div>
- </body>
-</html>