Ignore:
Timestamp:
Jan 31, 2009, 10:33:34 AM (16 years ago)
Author:
gav
Message:

Update main layout.
Create and add topBg.png
Basic auth for admin/user adjust BoosStrap? and controllers to match.

Location:
trunk/src/grails-app/views
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/grails-app/views/_adminmenubar.gsp

    r40 r44  
    11<g:if test="${session.userId}">
    2     <span class="appControlButton">
    3         <g:link controller="task" action="list">
    4                 Task
    5         </g:link>
    6     </span>
    7     <span class="appControlButton">
    8         <g:link controller="person" action="admin">
     2    <g:if test="${session.userId == 'admin'}">
     3        <span class="appControlButton">
     4            <g:link controller="person" action="admin">
    95                Admin
    10         </g:link>
    11     </span>
     6            </g:link>
     7        </span>
     8    </g:if>
    129    <span class="appControlButton">
    1310        <g:link controller="person" action="logout">
    14                Log out
     11                Log out
    1512        </g:link>
    1613    </span>
  • trunk/src/grails-app/views/layouts/main.gsp

    r41 r44  
    55        <link rel="shortcut icon" href="${createLinkTo(dir:'images',file:'gnuMimsIcon.ico')}" type="image/x-icon" />
    66        <g:layoutHead />
    7         <g:javascript library="application" />                         
     7        <g:javascript library="application" />
    88    </head>
    99    <body>
    1010    <div id="wrapper" style="height: 100%;">
     11    <div id="top">
     12    </div>
    1113    <div id="content" align="center">
    1214        <div id="spinner" class="spinner" style="display:none;">
  • trunk/src/grails-app/views/person/login.gsp

    r40 r44  
    77</head>
    88    <body>
    9         <div class="nav">
    10             <span class="menuButton">
    11 <!--                 <a class="home" href="${createLinkTo(dir:'')}">Home</a> -->
    12             </span>
    13         </div>
     9
    1410        <div class="body">
    1511            <h1>Please log in</h1>
     
    1713                <div class="message">${flash.message}</div>
    1814            </g:if>
     15            The demo users are "admin" and "user" both having password "pass"
    1916            <g:hasErrors bean="${person}">
    2017                <div class="errors">
Note: See TracChangeset for help on using the changeset viewer.