Show
Ignore:
Timestamp:
01.11.2010 10:03:17 (9 years ago)
Author:
sjb48
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/layouts/main.xsl

    r23135 r23255  
    187187    <td width="25%" valign="top"> 
    188188        <h2> Elements to add </h2> 
    189         <div class="header element_type_gsf_template css_gsf_template" title="gsf:template">TEMPLATE</div> 
    190         <!-- <script type="text/javascript"> 
    191         <xsl:text disable-output-escaping="yes"> 
    192         var index = gsf_template_element.indexOf("<div class=\""); 
    193         var a = gsf_template_element.slice(0, index + "<div class=\"".length); 
    194         var b = gsf_template_element.slice(index + "<div class=\"".length + 1); 
    195         var c = a.concat(".element_type_gsf_template", b); 
    196         document.write(c); 
    197         </xsl:text> 
    198         </script> --> 
    199         <div class="header element_type_gsf_choose_metadata css_gsf_choose_metadata" title="gsf:choose-metadata">CHOOSE-METADATA</div> 
    200         <div class="draggable_gsf_metadata gsf_metadata css_gsf_metadata block leaf" title="gsf:metadata"><table class="header"><tbody><tr><td class="header"><xsl:call-template name="meta-to-combo"> 
     189        <!-- <div class="header element_type_gsf_template css_gsf_template" title="gsf:template">TEMPLATE</div> --> 
     190        <div class="draggable_gsf_template css_gsf_template block" title="gsf:template"><table class="header"><tbody><tr><td class="header">MATCH=<input type="text" name="rawtextinput" size="10"/></td><td><a href="#" class="minmax ui-icon ui-icon-minusthick">[-]</a></td><td><a href="#" class="remove ui-icon ui-icon-closethick">[x]</a></td></tr></tbody></table><table border="1"><tr class="tr"><td class="droppable" width="10px"></td></tr></table></div><br/> 
     191 
     192        <div class="draggable_gsf_choose css_gsf_choose_metadata block" title="gsf:choose-metadata"><table class="header"><tbody><tr><td class="header">CHOOSE</td><td class="header"><a href="#" class="minmax ui-icon ui-icon-minusthick" title="Click me to expand">[-]</a></td><td class="header"><a href="#" class="remove ui-icon ui-icon-closethick" title="Click me to remove"/></td></tr></tbody></table></div> 
     193 
     194        <div class="draggable_gsf_metadata css_gsf_metadata block" title="gsf:metadata"><table class="header"><tbody><tr><td class="header"><xsl:call-template name="meta-to-combo"> 
    201195                        <xsl:with-param name="metadataSets" select="//metadataSetList"/> 
    202196                        <xsl:with-param name="current" select="ex.Title"/> 
    203197                     </xsl:call-template></td><td class="header"><a href="#" class="remove ui-icon ui-icon-closethick" title="Click me to remove"/></td></tr></tbody></table></div> 
    204         <!-- <div class="header element_type_gsf_metadata css_gsf_metadata" title="gsf:metadata">METADATA</div> --> 
    205         <!-- <div class="header element_type_gsf_link css_gsf_link" title="gsf:link">LINK</div> --> 
     198 
    206199        <div class="draggable_gsf_link css_gsf_link block" title="gsf:link"><table class="header"><tbody><tr><td class="header">LINK<select> 
    207200                            <option value = "document" selected = "document">Document</option> 
     
    210203                            <option value = "horizontal">Horizontal</option> 
    211204                </select></td><td><a href="#" class="minmax ui-icon ui-icon-minusthick">[-]</a></td><td><a href="#" class="remove ui-icon ui-icon-closethick">[x]</a></td></tr></tbody></table></div> 
    212         <div class="header element_type_gsf_switch css_gsf_switch" title="gsf:switch">SWITCH</div> 
    213         <div class="header element_type_gsf_when css_gsf_when" title="gsf:when">WHEN</div> 
    214         <div class="header element_type_gsf_otherwise css_gsf_otherwise" title="gsf:otherwise">OTHERWISE</div> 
    215         <div class="header element_type_gsf_icon css_gsf_icon" title="gsf:icon">ICON</div> 
     205 
     206        <div class="draggable_gsf_switch css_gsf_switch block" title="gsf:switch"><table class="header"><tbody><tr><td class="header">SWITCH</td><td><a href="#" class="minmax ui-icon ui-icon-minusthick">[-]</a></td><td><a href="#" class="remove ui-icon ui-icon-closethick">[x]</a></td></tr></tbody></table></div> 
     207 
     208        <div class="draggable_gsf_when css_gsf_when block" title="gsf:when"><table class="header"><tbody><tr><td class="header">WHEN<xsl:value-of select="@test"/></td><td class="header"><a href="#" class="minmax ui-icon ui-icon-minusthick">[-]</a></td><td class="header"><a href="[myhref]" class="ui-icon ui-icon-closethick"/></td></tr></tbody></table></div> 
     209 
     210        <div class="draggable_gsf_otherwise css_gsf_otherwise block" title="gsf:otherwise"><table class="header"><tbody><tr><td class="header">OTHERWISE</td><td class="header"><a href="#" class="minmax ui-icon ui-icon-minusthick">[-]</a></td><td><a href="#" class="ui-icon ui-icon-closethick"/></td></tr></tbody></table></div> 
     211 
     212        <div class="draggable_gsf_icon css_gsf_icon block" title="gsf:icon"><table class="header"><tbody><tr><td class="header">ICON<select><option value = "document" selected = "document">Document</option><option value = "classifier">Classifier</option><option value = "source">Source</option></select></td><td><a href="#" class="remove ui-icon ui-icon-closethick">[x]</a></td></tr></tbody></table></div> 
    216213        <br/> 
    217214        <div class="element_type_text css_text" title="text">TEXT</div> 
     
    222219    </td> 
    223220    </table> 
    224  
    225     <!-- <xsl:variable name="tok" select="fn:tokenize($fmt,'/s+')"/> --> 
    226221 
    227222    <div id="format">