Ignore:
Timestamp:
Feb 8, 2009, 11:28:04 PM (16 years ago)
Author:
gav
Message:

Lots of changes to setup Acegi, should be complete with all current pages secured.
Added CSS and PersonGroup? and PersonGroupType?.
Adjust BootStrap? to suite.
Add Home and Admin pages.

Location:
branches/TaskRewrite/src/web-app
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/TaskRewrite/src/web-app/css/main.css

    r55 r59  
    22    margin: 0;
    33    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
     4
    45}
    56
     
    1314
    1415body {
     16    text-align: center;
     17    width: 980px
    1518    background: #fff;
    1619    color: #333;
    1720    font: 11px verdana, arial, helvetica, sans-serif;
     21    background: transparent url("../images/brushed_metal.png") repeat fixed center;
     22}
     23
     24#wrapper {
     25  margin: 0 auto;
     26  padding: 0;
     27  width: 1024px;
     28}
     29
     30#top {
     31  background: url("../images/topBg.png") no-repeat scroll center;
     32  width: 1020px;
     33  height: 44px;
     34}
     35
     36#content {
     37  padding: 0px 20px 20px;
     38  background: url("../images/Contentbg.png") repeat-y scroll center;
     39  width: 980px;
     40}
     41
     42#Header {
     43  background: transparent url("../images/logo.png") no-repeat scroll center;
     44  width: 980px;
     45  height: 160px;
    1846}
    1947
     
    2250    font-weight: bold;
    2351    text-decoration: none;
    24 } 
     52}
    2553
    2654h1 {
     
    2856    font-weight: normal;
    2957    font-size: 16px;
    30     margin: .8em 0 .3em 0;
     58    margin: 0 0 .3em 0;
    3159}
    3260
    3361ul {
    34     padding-left: 15px; 
     62    padding-left: 15px;
    3563}
    3664
     
    5684
    5785.body {
    58     float: left;
    59     margin: 0 15px 10px 15px;
     86    padding: 0px 20px 20px;
     87    background: url("../images/Contentbg.png") repeat-y scroll center;
     88    height: 100%;
     89}
     90
     91/* Login/out and Admin*/
     92
     93.appcontrol {
     94    text-align: right;
     95    padding: 5px 160px 5px 5px
     96}
     97
     98.appcontrolButton {
     99    font-size: 10px;
     100    padding: 5px 5px;
    60101}
    61102
     
    63104
    64105.nav {
    65     background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    66     border: 1px solid #ccc;
    67     border-style: solid none solid none;       
    68     margin-top: 5px;
    69     padding: 7px 12px;
    70 }
     106    text-align: centre;
     107    background: url("../images/linkPanel_long.png") top no-repeat;
     108    /*border: 1px solid #ccc;
     109    border-style: solid none solid none;*/
     110    padding: 15px 0px 0px 0px;
     111    width: 980px;
     112    height: 40px;
     113}
     114
     115/*.nav a{
     116    background: url("../images/linkPanel.png") no-repeat top;
     117    display: inline-block;
     118    width: 140px;
     119    height: 40px;
     120    text-decoration: none;
     121}*/
    71122
    72123.menuButton {
     
    76127.menuButton a {
    77128    color: #333;
    78     padding: 4px 6px;
     129    padding: 14px 25px;
    79130}
    80131.menuButton a.home {
    81     background: url(../images/skin/house.png) center left no-repeat;
    82     color: #333;
    83     padding-left: 25px;
     132    /*background: url(../images/skin/house.png) center left no-repeat;*/
     133    color: #333;
     134    /*padding: 25px;*/
    84135}
    85136.menuButton a.list {
    86     background: url(../images/skin/database_table.png) center left no-repeat;
    87     color: #333;
    88     padding-left: 25px;
     137    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
     138    color: #333;
     139    /*padding-left: 25px;*/
    89140}
    90141.menuButton a.create {
    91     background: url(../images/skin/database_add.png) center left no-repeat;
    92     color: #333;
    93     padding-left: 25px;
     142    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
     143    color: #333;
     144    /*padding-left: 25px;*/
    94145}
    95146
     
    101152    color: #006dba;
    102153    margin: 10px 0 5px 0;
    103     padding: 5px 5px 5px 30px
     154    padding: 5px 5px 5px 0px
    104155}
    105156
     
    113164div.errors ul {
    114165    list-style: none;
    115     padding: 0; 
     166    padding: 0;
    116167}
    117168div.errors li {
     
    137188    border: 0;
    138189}
    139 td, th { 
     190td, th {
    140191    font: 11px verdana, arial, helvetica, sans-serif;
    141192    line-height: 12px;
     
    266317    padding-left: 28px;
    267318}
     319
     320#bottom {
     321  background: url("../images/bottomBg.png") no-repeat scroll center;
     322  width: 1020px;
     323  height: 100px;
     324}
  • branches/TaskRewrite/src/web-app/index.gsp

    r54 r59  
    1 <html>
    2     <head>
    3         <title>Welcome to Grails</title>
    4                 <meta name="layout" content="main" />
    5     </head>
    6     <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>
    19     </body>
    20 </html>
     1<%response.sendRedirect(request.getContextPath()+'/appCore/home')%>
Note: See TracChangeset for help on using the changeset viewer.