Ignore:
Timestamp:
Apr 14, 2010, 11:36:53 AM (9 years ago)
Author:
duh
Message:
  • refactored wizard start page so that the big green buttons actually work
  • added a new page to load and modify a study, however this page is not yet functional
  • removed obsolete images
Location:
trunk/grails-app/views/wizard
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/common/_navigation.gsp

    r299 r341  
    1616    <div class="navigation">
    1717      <g:if test="${page>1 && page<pages.size}"><wizard:ajaxButton name="previous" value="&laquo; prev" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /></g:if>
    18       <g:if test="${page>1 && page<pages.size}"> | </g:if>
    19       <g:if test="${page<pages.size}"><wizard:ajaxButton name="next" value="next &raquo;" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /></g:if>
     18          <g:if test="${cancel}">
     19                [ <wizard:ajaxButton name="cancel" value="cancel" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> ]
     20          </g:if>
     21      <g:elseif test="${page>1 && page<pages.size}">
     22                  |               
     23          </g:elseif>
     24          <g:if test="${page<pages.size}"><wizard:ajaxButton name="next" value="next &raquo;" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /></g:if>
    2025    </div>
  • trunk/grails-app/views/wizard/pages/_start.gsp

    r299 r341  
    1717<wizard:pageContent>
    1818
    19         <img src="../images/wizard/wizard-chooser.png" />
     19        <span class="bigtext">What would you like to do?</span>
    2020
    21         <span class="info">
    22                 <span class="todo">TODO</span>
    23                 <ul>
    24                         <li>the buttons above actually do not yet work, it's just a mockup. In this prototype you can only create
    25                             a study; modifying a study will be implemented later. Click 'next' to continue...</li>
    26                 </ul>
    27         </span>
     21        <wizard:ajaxButton name="next" class="bigbutton" value="Create a new study" alt="Create a new study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
     22
     23        <wizard:ajaxButton name="modify" class="bigbutton" value="Modify an existing study" alt="Modify an existing study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
    2824
    2925        <span class="info">
Note: See TracChangeset for help on using the changeset viewer.