Changeset 90 for trunk/grails-app


Ignore:
Timestamp:
Jan 15, 2010, 3:10:15 PM (11 years ago)
Author:
duh
Message:
  • refactered wizard prototype
  • added tooltip / help support
Location:
trunk/grails-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy

    r89 r90  
    117117    // add help icon?
    118118    if (attrs.get('help')) {
    119       out << ' <div class="help"><img src="../images/icons/famfamfam/help.png"></div>'
     119      out << ' <div class="help">'
     120      out << '  <div class="icon"><img src="../images/icons/famfamfam/help.png"></div>'
     121      out << '  <div class="content">'
     122      out << '   <div class="text">'
     123      out << '    '+attrs.get('help')
     124      out << '   </div>'
     125      out << '  </div>'
     126      out << ' </div>'
    120127    }
    121128   
  • trunk/grails-app/views/wizard/index.gsp

    r88 r90  
    1919  <meta name="layout" content="main" />
    2020  <link rel="stylesheet" href="${resource(dir:'css',file:'wizard.css')}" />
    21   <g:javascript library="jquery" />
     21  <script type="text/javascript" src="${resource(dir:'js', file:'wizard.js')}"></script>
    2222 </head>
    2323 <body>
Note: See TracChangeset for help on using the changeset viewer.