Changes in / [20:30]


Ignore:
Location:
/trunk
Files:
50 added
17 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • /trunk/application.properties

    r20 r30  
    11#utf-8
    2 #Wed Oct 21 11:40:24 CEST 2009
     2#Wed Oct 21 13:25:16 CEST 2009
    33app.version=0.1
    44plugins.jquery=1.3.2.4
  • /trunk/grails-app/conf/BootStrap.groovy

    r20 r30  
    1313 */
    1414class BootStrap {
    15      def init = { servletContext ->
     15     def init = { servletContext ->     
    1616         // check if we're in development
    1717         if (GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) {
  • /trunk/grails-app/controllers/BaseController.groovy

    r20 r30  
    3535     * @void
    3636     */
    37     protected BaseController() {
     37    BaseController() {
    3838        // debug line for now
    3939        printf("instantiated %s\n",this.class.name);
     
    4545        this.scaffold = (GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT && this.class.name != 'BaseController');
    4646    }
     47
    4748
    4849    /**
  • /trunk/grails-app/domain/Species.groovy

    • Property svn:keywords set to Rev Author Date
    r20 r30  
     1
     2/**
     3 * Species Domain
     4 *
     5 * @author      email2gajula@gmail.com
     6 * @since       20091019
     7 *
     8 * Revision information:
     9 * $Rev$
     10 * $Author$
     11 * $Date$
     12 */
     13
     14
    115class Species {
    216
  • /trunk/grails-app/views/index.gsp

    r20 r30  
    11<html>
    22    <head>
    3         <title>Welcome to Grails</title>
    4                 <meta name="layout" content="main" />
     3      <title>Generic Study Capture Framework</title>
     4      <meta name="layout" content="main" />
    55    </head>
    66    <body>
    7         <h1 style="margin-left:20px;">Welcome to Grails</h1>
    8         <p style="margin-left:20px;width:80%">Congratulations, you have successfully started your first Grails application! At the moment
    9         this is the default page, feel free to modify it to either redirect to a controller or display whatever
    10         content you may choose. Below is a list of controllers that are currently deployed in this application,
    11         click on each to execute its default action:</p>
    12         <div class="dialog" style="margin-left:20px;width:60%;">
    13             <ul>
    14               <g:each var="c" in="${grailsApplication.controllerClasses}">
    15                     <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
    16               </g:each>
    17             </ul>
    18         </div>
     7      <h1>Welcome</h1>
     8
     9      <p>
     10        <img src="/gscf/images/index1.jpg" />
     11        <a href="http://www.lipsum.com/" target="_new">Lorem ipsum</a> dolor sit amet, consectetur adipiscing elit. Ut commodo imperdiet mauris nec scelerisque. Vestibulum quis congue mi. Aenean porta adipiscing magna. Aliquam varius egestas tellus nec congue. Nulla eget nulla sapien. Morbi viverra enim in diam consectetur tincidunt. Morbi tincidunt varius eros quis placerat. Suspendisse rutrum posuere ipsum. Aliquam erat volutpat. Etiam fermentum ante ut erat faucibus cursus. Nam in purus ipsum. Nam non libero feugiat enim adipiscing dapibus et a odio. Suspendisse at justo eu ipsum mattis elementum. Curabitur fermentum, ipsum at venenatis tristique, urna orci porttitor velit, a rutrum orci risus vitae erat. Integer mi est, fermentum varius tristique adipiscing, sagittis id magna. Nam arcu eros, ultricies non mattis consectetur, posuere a quam. Suspendisse aliquet ullamcorper velit eu placerat. Pellentesque tincidunt malesuada mi eu euismod. Curabitur est nulla, sagittis id iaculis at, malesuada eget augue. Quisque auctor metus luctus nunc suscipit a mattis mauris venenatis.
     12      </p>
     13
     14      <p>
     15        Curabitur eleifend, massa non venenatis semper, urna dui sollicitudin libero, et molestie massa lectus vel augue. Nullam lobortis neque gravida ligula interdum eget consectetur mauris iaculis. Cras aliquam lacinia nisl vel varius. Integer urna magna, faucibus a suscipit non, congue et diam. Etiam turpis nisi, aliquam et hendrerit sit amet, lobortis ac enim. Nulla at mi eu est mattis consequat. Vivamus ullamcorper ornare tellus ut luctus. Suspendisse potenti. Praesent orci sem, sodales in consectetur id, consectetur eu arcu. Vivamus quis tortor quis massa ornare interdum nec nec nisi. In non varius justo. Cras vitae quam vitae lacus luctus feugiat nec in elit. Vivamus at arcu elit.
     16      </p>
     17
     18      <p>
     19        <img src="/gscf/images/index2.jpg" />
     20        Mauris quis massa lacus, a mollis lorem. In massa eros, accumsan eu porttitor vitae, dictum cursus purus. Maecenas sit amet nibh et metus ullamcorper porta. Vestibulum quis mollis arcu. Cras turpis ligula, ullamcorper eu dignissim ac, vehicula sed nisl. Etiam a ipsum turpis, at tincidunt ipsum. Sed commodo, augue et accumsan molestie, arcu lorem sollicitudin erat, tempor placerat justo tellus tincidunt erat. Nunc odio metus, porttitor a venenatis vitae, vehicula vitae elit. Sed magna ipsum, tincidunt eget eleifend eget, vehicula vitae lacus. Nullam erat diam, ultricies ut ultrices et, pellentesque et lorem. Praesent facilisis nunc nec lorem dignissim convallis volutpat velit fermentum. Sed sapien arcu, tempor eu imperdiet vitae, suscipit vitae sapien. Fusce pharetra posuere lacus sed iaculis.
     21      </p>
     22
     23      <p>
     24        Ut vel fringilla velit. Vivamus id orci odio. Praesent rhoncus ante a turpis imperdiet accumsan. Morbi fermentum ante non est lobortis volutpat. Sed euismod sapien at odio dignissim eget facilisis urna aliquet. Vestibulum mollis imperdiet mollis. Proin non odio diam. Aliquam semper velit a arcu pellentesque et ullamcorper nisl vulputate. Praesent eu condimentum turpis. Quisque molestie, neque vitae tristique ornare, risus turpis auctor risus, eu interdum sapien nisi a dolor. Aenean egestas lobortis libero nec cursus. Etiam sit amet dui non neque adipiscing luctus faucibus in neque.
     25      </p>
    1926    </body>
    2027</html>
  • /trunk/grails-app/views/layouts/main.gsp

    r20 r30  
    1 <html>
    2     <head>
    3         <title><g:layoutTitle default="Grails" /></title>
    4         <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
    5         <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
    6         <g:layoutHead />
    7         <g:javascript library="application" />                         
    8     </head>
    9     <body>
    10         <div id="spinner" class="spinner" style="display:none;">
    11             <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
    12         </div> 
    13         <div class="logo"><img src="${resource(dir:'images',file:'grails_logo.jpg')}" alt="Grails" /></div>
    14         <g:layoutBody />               
    15     </body>     
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     3<html xmlns="http://www.w3.org/1999/xhtml" lang="en-EN" xml:lang="en-EN">
     4 <head>
     5  <title><g:layoutTitle default="Grails" /></title>
     6  <link rel="stylesheet" href="${resource(dir:'css',file:session.style+'.css')}" />
     7  <link rel="stylesheet" href="${resource(dir:'css',file:'login_panel.css')}" />
     8  <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
     9  <g:layoutHead />
     10  <g:javascript library="jquery" />
     11  <g:javascript library="login_panel" />
     12  <g:javascript library="topnav" />
     13 </head>
     14 <body>
     15  <g:render template="/common/login_panel" />
     16  <div class="container">
     17   <div id="header">
     18    <g:render template="/common/topnav" />
     19   </div>
     20   <div id="content"><g:layoutBody /></div>
     21   <div id="footer">
     22     Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NMC & NuGO. All rights reserved.
     23     ( style: <%=session.style%>,
     24     <a href="?showSource=true">show page source</a>)</div>
     25  </div>
     26 </body>
    1627</html>
Note: See TracChangeset for help on using the changeset viewer.