Changeset 5797


Ignore:
Timestamp:
02/10/09 15:21:17 (10 years ago)
Author:
sdonegan
Message:

Updated to support single text search box

Location:
MILK/trunk/milk_server/milk_server/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/templates/layout.html

    r5261 r5797  
    1313  <py:match path="head" once="true"> 
    1414    <head py:attrs="select('@*')"> 
     15     
    1516      <title py:with="title = list(select('title/text()'))"> 
    1617        <py:if test="title">${title}</py:if> 
  • MILK/trunk/milk_server/milk_server/templates/utils.html

    r5302 r5797  
    4444                onclick="swapLayers('$div1', '$div2'); return false;"> 
    4545            <img src="$icon" alt="Toggle expand/contract" class="helpicon"/></a> 
     46             
     47             
    4648    </span> 
    4749 
     50     
    4851     
    4952    <div class="metadataSection" py:def="TextArea(name, value, editLink, helpText, title=None, noEscapeVal=False)"> 
     
    118121    </span> 
    119122     
     123    <!-- ***********************************************************************************  --> 
     124     
     125    <!-- ! Icons for vocab assisted text search --> 
     126    <span py:def="vocSrchIcon(value, elementType = 'div')"> 
     127        <span> 
     128            <a href="javascript:;" title="Click to Perform a vocabulary assisted text search" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"> 
     129            <img src="$g.vocSrchIcon" alt="Vocabulary assisted text search" class="vocsrchicon"/></a> 
     130        </span> 
     131    </span> 
     132     
     133    <!-- ! Icons for free text search --> 
     134    <span py:def="txtSrchIcon(value, elementType = 'div')"> 
     135        <span> 
     136            <a href="javascript:;" title="Click to perfom a Free text search" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"> 
     137            <img src="$g.txtSrchIcon" alt="Free text search" class="txtsrchicon"/></a> 
     138        </span> 
     139    </span> 
     140     
     141    <!-- ***********************************************************************************  --> 
    120142     
    121143        <div py:def="EditTextFieldRow(title, name, value, isEditable, type, width='auto', colspan='1')" py:strip=""> 
Note: See TracChangeset for help on using the changeset viewer.