Changeset 23


Ignore:
Timestamp:
Oct 22, 2009, 3:39:00 PM (10 years ago)
Author:
duh
Message:
  • created new templates
  • moved default grails images and prototype library into obsolete (for deletion later)
  • added dynamic top navigation
  • added (currently non functional) login panel
Location:
trunk
Files:
38 added
1 deleted
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/application.properties

    r21 r23  
    11#utf-8
    2 #Thu Oct 22 09:41:39 CEST 2009
     2#Wed Oct 21 13:25:16 CEST 2009
    33app.version=0.1
    44plugins.jquery=1.3.2.4
  • trunk/grails-app/views/index.gsp

    r4 r23  
    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      this is my very cool page content
    198    </body>
    209</html>
  • trunk/grails-app/views/layouts/main.gsp

    r4 r23  
    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:'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     <a href="?showSource=true">show page source</a></div>
     24  </div>
     25 </body>
    1626</html>
  • trunk/web-app/css/grailsDefault.css

    r13 r23  
     1/** This Is The Default Grails Stylesheet **/
    12html * {
    23    margin: 0;
Note: See TracChangeset for help on using the changeset viewer.