Changes from jorisvanzundert for stemweb help text display
[scpubgit/stemmaweb.git] / root / src / index.tt
index 924a82d..54dea5f 100644 (file)
@@ -168,10 +168,21 @@ var textOnLoad = "[% withtradition %]";
       <div id="stemweb_ui_container">
        <form id="call_stemweb">
                <input id="stemweb_tradition" type="hidden" name="tradition"/>
+               <h5>Choose an algorithm</h5>
                <label for="algorithm">Run algorithm: </label>
-               <select id="stemweb_algorithm" name="algorithm"></select><br/>
+               <select id="stemweb_algorithm" name="algorithm"></select>
+               <span id="stemweb_algorithm_help">What is this?</span><br/>
+                       <div id="stemweb_algorithm_desc_text"></div>
+                       <br/>
+                       <h5>Select the options</h5>
                <!-- Algorithm-specific options, if any, will be added within this div -->
                <div id="stemweb_runtime_options"></div>
+               <br/>
+               <!-- Options applicable to all algorithms belong within this div -->
+               <div id="stemweb_local_options">
+                       <label for="merge_reltypes">Disregard variation of type:</label>
+                       <select multiple name="merge_reltypes" id="stemweb_merge_reltypes"></select>
+               </div>
        </form>
        <div id="stemweb_run_status"></div>
       </div>