Ignore:
Timestamp:
Jan 21, 2015, 3:42:04 PM (7 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1911: Quick-filter in edit inherited annotations dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/annotations/inherit.jsp

    r6607 r6692  
    299299    <div class="absolutefull bg-filled-100 rightborder" style="width: 28em;">
    300300   
    301       <div class="absolutefull parameterlist" style="bottom: 3em;">
     301      <div class="absolutefull bottomborder" style="height: 2em;">
     302      <%
     303      if (parentAnnotations.size() > 0)
     304      {
     305        %>
     306        <table style="width: 100%;">
     307        <tr>
     308          <td style="padding-left: 4px; padding-right: 4px;"><base:icon image="filter.png"/></td>
     309          <td style="width: 100%; padding-top: 1px;">
     310            <input type="text" name="quickFilter" id="quickFilter"
     311              class="auto-init" data-auto-init="focus"
     312              style="width: calc(100% - 10px);"
     313              title="Type to filter annotation types">
     314          </td>
     315        </table>
     316        <%
     317      }
     318      %>
     319      </div>
     320      <div class="absolutefull parameterlist" style="top: 2em; bottom: 3em;">
    302321        <div id="joust" class="joust absolutefull"
    303322          data-joust-tree="<%=HTML.encodeTags(json.toJSONString()) %>"
     
    307326          {
    308327            %>
    309             <div class="messagecontainer error">There are no parent items with annotations.</div>
     328            <div class="messagecontainer error" style="margin: 2em;">There are no parent items with annotations.</div>
    310329            <%
    311330          }
    312331          %>
     332          <div id="noMatchingFilter" class="messagecontainer error" style="margin: 2em; display: none;">No annotations matches the filter.</div>
    313333        </div>
    314334      </div>
Note: See TracChangeset for help on using the changeset viewer.