Ignore:
Timestamp:
Apr 14, 2010, 3:38:39 PM (9 years ago)
Author:
duh
Message:
  • restyled wizard tabs
  • made info and todo boxes only appear in development, not in production and test
Location:
trunk/grails-app/views/wizard
Files:
6 edited

Legend:

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

    r299 r342  
    1616%>
    1717<div class="tabs">
    18   <g:each status="i" var="item" in="${pages}"><div class="element<g:if test="${(i == (page-1))}"> active</g:if>">${i+1}. ${item.title}</div></g:each>
     18 <ul>
     19  <g:each status="i" var="item" in="${pages}">
     20          <li<g:if test="${(i == (page-1))}"> class="active"</g:if>>
     21                <g:if test="${(i > 0)}"><img src="../images/wizard/arrowR.gif" align="absmiddle" class="arrow"></g:if><g:else>&nbsp;</g:else>
     22                <span class="content">${i+1}. ${item.title}</span>
     23                <g:if test="${(i < (pages.size() - 1))}"><img src="../images/wizard/arrowL.gif" align="absmiddle" class="arrow"></g:if><g:else>&nbsp;</g:else>
     24          </li>
     25  </g:each>
     26 </ul>
    1927</div>
  • trunk/grails-app/views/wizard/common/_wizard.gsp

    r299 r342  
    1616%>
    1717<div id="wizard" class="wizard">
    18         <h1>Create a new study</h1>
     18        <h1>Study capture wizard</h1>
    1919        <g:form action="pages" name="wizardForm" id="wizardForm">
    2020        <g:hiddenField name="do" value="" />
  • trunk/grails-app/views/wizard/pages/_confirmation.gsp

    r299 r342  
    7070</div>
    7171
    72 
     72<g:if env="development">
    7373<span class="info">
    7474        <span class="todo">TODO</span>
     
    7777        </ul>
    7878</span>
     79</g:if>
    7980
    8081</wizard:pageContent>
  • trunk/grails-app/views/wizard/pages/_eventDescriptions.gsp

    r299 r342  
    6161</g:if>
    6262
    63 
     63<g:if env="development">
    6464<span class="info">
    6565        <span class="todo">TODO</span>
     
    7575        </ul>
    7676</span>
     77</g:if>
    7778
    7879</wizard:pageContent>
  • trunk/grails-app/views/wizard/pages/_start.gsp

    r341 r342  
    2323        <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()" />
    2424
     25        <g:if env="development">
    2526        <span class="info">
    2627                <span class="known">Known issues</span>
     
    3132                </ul>
    3233        </span>
    33 
    34         <!-- g:render template="pages/demo" //-->
     34        <!--g:render template="pages/demo"//-->
     35        </g:if>
    3536
    3637</wizard:pageContent>
  • trunk/grails-app/views/wizard/pages/_subjects.gsp

    r340 r342  
    6262</g:if>
    6363
     64        <g:if env="development">
    6465        <span class="info">
    6566                <span class="known">Known issues</span>
     
    7273                </ul>
    7374        </span>
     75        </g:if>
    7476
    7577</wizard:pageContent>
Note: See TracChangeset for help on using the changeset viewer.