Changeset 1080

Show
Ignore:
Timestamp:
04-11-10 16:03:02 (3 years ago)
Author:
work@…
Message:

- created a generic info template showing build, deploy and uptime information
- added information to application.properties, to be modified by build scripts

Location:
trunk
Files:
1 added
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/application.properties

    r1071 r1080  
    55app.servlet.version=2.4 
    66app.version=0.5.1 
     7# build information, modified by build scripts 
     8app.build.type=dev 
     9app.build.timestamp=1288881462 
     10app.build.svn.revision=1079 
     11app.build.display.info=0 
     12# plugin information 
    713plugins.crypto=2.0 
    814plugins.db-util=0.4 
  • trunk/grails-app/views/home/index.gsp

    r1063 r1080  
    55</head> 
    66<body> 
    7 Welcome to GSCF version <b>${meta(name: 'app.version')}</b>. At this moment, there are ${studyCount} studies and ${userCount} users in the database. 
     7 
    88<g:if env="development"> 
     9        <p> 
     10                Welcome to GSCF version <b>${meta(name: 'app.version')}</b>. At this moment, there are ${studyCount} studies and ${userCount} users in the database. 
     11        </p> 
    912        <p> 
    1013                This application will facilitate systems biological research and collaboration between researchers at various locations. This application is a combined effort of the <a href="http://www.nugo.org/everyone">Nutrigenomics Organization (NuGO)</a> the <a href="http://www.metabolomicscentre.nl">Netherlands Metabolomics Centre (NMC)</a>, <a href="http://www.eurreca.org">European Micronutrient recommandations Aligned (Eurreca)</a>, the <a href="http://www.tno.nl">Netherlands Organization for Applied Scientific Research (TNO)</a> and the <a href="http://www.nbic.nl/">Netherlands Bioinformatics Centre (NBIC)</a>. The GSCF is part of the Nutritional Phenotype Database described by <a href="http://www.springerlink.com/content/1555-8932">van Ommen et al, 2010: The Nutritional Phenotype Database. Genes and Nutrition. DOI: 10.1007/s12263-010-0167-9</a>. 
    1114 
    12         This study capturing module can be easily linked to assay specific modules and therefore can be reused for new technologies. This application is built for the easy input/storage and retrieval of studies. Studies can be stored with high detail and the type for information being stored can be field (e.g. human, mouse, plant) specific. Complex designs like studies with multiple doses, sampling time points and challenge tests, can be stored in this system. 
    13         Studies will only be accessible for people that are specified by the study owner. 
     15                This study capturing module can be easily linked to assay specific modules and therefore can be reused for new technologies. This application is built for the easy input/storage and retrieval of studies. Studies can be stored with high detail and the type for information being stored can be field (e.g. human, mouse, plant) specific. Complex designs like studies with multiple doses, sampling time points and challenge tests, can be stored in this system. 
     16                Studies will only be accessible for people that are specified by the study owner. 
    1417        </p> 
    1518        <p><n:isNotLoggedIn> 
     
    1720                                NB: For this (test) version it is not required to login, but if you login as administrator ( admin / admiN123! ) or user ( user / useR123! ) you can test user functionality. 
    1821        </n:isNotLoggedIn></p> 
    19         <g:oauthLink consumer='myExperiment' 
    20                 returnTo="[controller: 'home', action: 'index']">Authorize</g:oauthLink> 
    21  
     22        <g:oauthLink consumer='myExperiment' returnTo="[controller: 'home', action: 'index']">Authorize</g:oauthLink> 
    2223        <g:hasOauthError> 
    2324                <div class="errors"> 
  • trunk/grails-app/views/layouts/main.gsp

    r1065 r1080  
    2222        <div id="header"> 
    2323                <g:render template="/common/topnav"/> 
     24                <g:render template="/common/info"/> 
    2425        </div> 
    2526        <div id="content"><g:layoutBody/></div> 
  • trunk/web-app/css/default_style.css

    r1033 r1080  
    3434} 
    3535 
     36#header .info { 
     37    color: #ff3333; 
     38    display: block; 
     39    position: relative; 
     40    width: 350px; 
     41    margin: -110px 710px; 
     42} 
     43#header .info table { 
     44    border: 0; 
     45} 
     46#header .info td { 
     47    padding: 0px; 
     48} 
    3649/** END :: header **/ 
    3750/** START :: topnav **/