Changeset 535 for trunk/grails-app/views


Ignore:
Timestamp:
Jun 4, 2010, 5:06:07 PM (12 years ago)
Author:
duh
Message:
  • removed obsolete templates
  • added redirect functionality
Location:
trunk/grails-app/views/wizard/pages
Files:
3 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/pages/_redirect.gsp

    r534 r535  
    11<%
    22/**
    3  * Protocols page
     3 * Redirect page
    44 *
    55 * @author  Jeroen Wesbeek
     
    1616%>
    1717<wizard:pageContent>
    18 todo...
     18        <script type="text/javascript">
     19                $(document).ready(function() {
     20                        window.location = "/${meta(name: 'app.name')}${uri}";
     21                });
     22        </script>
     23       
    1924</wizard:pageContent>
  • trunk/grails-app/views/wizard/pages/_start.gsp

    r526 r535  
    2323        <wizard:ajaxButton name="modify" class="bigbutton" value="Edit an existing study" alt="Edit an existing study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
    2424
     25        <wizard:ajaxButton name="import" class="bigbutton" value="Import a study" alt="Import a study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
     26
    2527        <span class="info">
    2628                <span class="title">Create a new study via the step-by-step interface</span>
     
    4042        </span>
    4143
    42         <g:if env="development">
    43         <span class="info">
    44                 <span class="known">Known issues</span>
    45                 <ul>
    46                         <li>navigating away from the wizard will result in loss of work. While you are currently warned when
    47                             clicking links outside of the wizard, this problem still exists when clicking 'refresh' or the
    48                                 back / forward buttons</li>
    49                 </ul>
    50         </span>
    51         <!--g:render template="pages/demo"//-->
    52         </g:if>
     44        <g:if env="development"><!--g:render template="pages/demo"//--></g:if>
    5345
    5446</wizard:pageContent>
Note: See TracChangeset for help on using the changeset viewer.