Ignore:
Timestamp:
Oct 22, 2009, 3:39:00 PM (11 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.