Ignore:
Timestamp:
Oct 26, 2009, 2:00:46 PM (10 years ago)
Author:
duh
Message:
  • created configurable styles (handled in conf/BaseFilters.groovy)
  • moved all styles into a default style (css/default_style images/default_style)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/layouts/main.gsp

    r26 r29  
    44 <head>
    55  <title><g:layoutTitle default="Grails" /></title>
    6   <link rel="stylesheet" href="${resource(dir:'css',file:'style.css')}" />
     6  <link rel="stylesheet" href="${resource(dir:'css',file:session.style+'.css')}" />
    77  <link rel="stylesheet" href="${resource(dir:'css',file:'login_panel.css')}" />
    88  <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
     
    2121   <div id="footer">
    2222     Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NMC & NuGO. All rights reserved.
    23      <a href="?showSource=true">show page source</a></div>
     23     ( style: <%=session.style%>,
     24     <a href="?showSource=true">show page source</a>)</div>
    2425  </div>
    2526 </body>
Note: See TracChangeset for help on using the changeset viewer.