Changeset 172
- Timestamp:
- Feb 4, 2010, 5:50:31 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BaseFilters.groovy
r162 r172 1 1 /** 2 2 * Base Filters 3 * @Author 4 * @Since 5 * @see 6 * @see 3 * @Author Jeroen Wesbeek 4 * @Since 20091026 5 * @see main.gsp 6 * @see http://grails.org/Filters 7 7 * @Description 8 8 * … … 15 15 */ 16 16 class BaseFilters { 17 // define filters 18 def filters = { 19 defineStyle(controller:'*', action:'*') { 20 // before every execution 21 before = { 22 // set the default style in the session 23 if (!session.style) { 24 session.style = 'default_style' 17 // define filters 18 def filters = { 19 defineStyle(controller: '*', action: '*') { 20 // before every execution 21 before = { 22 // set the default style in the session 23 if (!session.style) { 24 session.style = 'default_style' 25 } 26 } 25 27 } 26 }27 28 } 28 }29 29 } 30 30 -
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r163 r172 128 128 error() 129 129 } 130 println params 130 131 }.to "groups" 131 132 on("previous") { -
trunk/grails-app/views/wizard/index.gsp
r145 r172 22 22 <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js')}"></script> 23 23 <script type="text/javascript" src="${resource(dir: 'js', file: 'swfobject.js')}"></script> 24 <script type="text/javascript" src="${resource(dir: 'js', file: 'grouping.js')}"></script> 25 <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js')}"></script> 24 26 <script type="text/javascript" src="${resource(dir: 'js', file: 'wizard.js')}"></script> 25 27 </head> -
trunk/grails-app/views/wizard/pages/_subjects.gsp
r163 r172 27 27 <div class="column">species</div> 28 28 <wizard:templateColumnHeaders template="${study.template}" class="column" /> 29 <wizard:templateColumnHeaders template="${study.template}" class="column" />30 29 </div> 31 30 <g:each var="subject" status="i" in="${subjects}"> … … 37 36 </div> 38 37 <wizard:templateColumns id="${i}" template="${study.template}" class="column" /> 39 <wizard:templateColumns id="${i}" template="${study.template}" class="column" />40 38 </div> 41 39 </g:each> -
trunk/web-app/css/wizard.css
r162 r172 148 148 font-weight: bold; 149 149 width: auto; 150 height: 32px; 151 line-height: 32px; 150 152 } 151 153 … … 164 166 .wizard .table .row { 165 167 display: block; 166 height: 28px;168 height: 32px; 167 169 border-top: 1px solid #8e908f; 168 170 width: auto; 171 } 172 173 .wizard .table .row input, .wizard .table .row select { 174 background-color: #fff; 175 } 176 177 .wizard .table .ui-selected { 178 background-color: #ffab7b; 179 } 180 181 .wizard .table .ui-selecting { 182 background-color: #f2e3bc; 169 183 } 170 184 -
trunk/web-app/js/wizard.js
r164 r172 32 32 // @see _wizard.gsp, _navigation.gsp, _subjects.gsp 33 33 function onWizardPage() { 34 // attach help tooltips35 //insertYoutubePlayers();36 34 attachHelpTooltips(); 37 35 attachDatePickers(); 36 37 // SUBJECTS 38 38 attachTableEvents(); 39 attachGroupingEvents();40 41 39 resizeWizardTable(); 42 40 attachSubjectSlider(); 41 new TableEditor().init('div.table','div.row','div.column'); 42 43 // GROUPING 44 //attachGroupingEvents(); 43 45 } 44 46
Note: See TracChangeset
for help on using the changeset viewer.