Changeset 969

Show
Ignore:
Timestamp:
21-10-10 16:35:13 (3 years ago)
Author:
j.a.m.wesbeek@…
Message:

- changed feedback behaviour
- added a beta image

Location:
trunk
Files:
1 added
1 removed
2 modified

Legend:

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

    r959 r969  
    1818        <img id="add_feedback" src="${resource(dir: 'images', file: 'icons/famfamfam/bug_add.png')}" style="cursor: pointer;" alt="submit feedback for this page" /> 
    1919        <div class="feedback" id="feedback"> 
    20           <form> 
    21                 <g:hiddenField name="feedbackUrl" /> 
    22                 <g:hiddenField name="feedbackWindowWidth" /> 
    23                 <g:hiddenField name="feedbackWindowHeight" /> 
    24                 <g:hiddenField name="feedbackUserAgent" /> 
    25                 <div class="element"> 
    26                         <div class="name">Type of feedback</div> 
    27                         <div class="input"><g:select name="feedbackType" from="${['bug','feature']}" /></div> 
    28                 </div> 
    29                 <div class="element"> 
    30                         <div class="name">Your name</div> 
    31                         <div class="input"><g:textField name="feedbackName" /></div> 
    32                 </div> 
    33                 <div class="element"> 
    34                         <div class="name">Remark</div> 
    35                         <div class="input"><g:textArea name="feedbackBody" rows="5" cols="40">detailed feedback description...</g:textArea></div> 
    36                 </div> 
    37                 <div class="element"> 
    38                         <div class="name"></div> 
    39                         <div class="input"><g:submitToRemote url="[controller:'feedback',action:'add']" update="[success:'feedback']" value="submit feedback" /></div> 
    40                 </div> 
    41           </form> 
     20        <iframe src ="https://trac.nbic.nl/gscf/newticket" width="100%" height="300"> 
     21          <p>Your browser does not support iframes. Click <a href="https://trac.nbic.nl/gscf/newticket" target="_new">here</a> to report a bug.</p> 
     22        </iframe> 
    4223        </div> 
  • trunk/grails-app/views/layouts/main.gsp

    r959 r969  
    2828                <g:if env="development">( style: <%=session.style%> )</g:if> 
    2929        </div> 
     30        <img src="${resource(dir: 'images', file: 'beta-stamp.png')}" alt="beta"> 
    3031        <g:if env="development"><g:render template="/common/feedback"/></g:if> 
    3132</div>