diff views/Extractapp/TaggingText.php @ 90:94ad33739fa4 extractapp

modify the position of buttons in sidebar
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Fri, 12 Jun 2015 14:41:30 +0200
parents e681d693240e
children 3e11a9c5a672
line wrap: on
line diff
--- a/views/Extractapp/TaggingText.php	Wed Jun 03 16:54:09 2015 +0200
+++ b/views/Extractapp/TaggingText.php	Fri Jun 12 14:41:30 2015 +0200
@@ -1020,7 +1020,8 @@
                             <!-- <button onclick="replaceSmartRunSpace()" class="btn-lg">Run(Allow space between Group)</button></br>
                             -->
                             <button onclick="replaceSmartRunSpace()" class="btn btn-default">Run(Allow space between block)</button></br>
-                            <button onclick="Undo()" class="btn btn-default btn-block" id="buttonUndo" disabled="true">Undo</button>
+
+                            <button onclick="window.open('./EditWordlist')" class="btn btn-default btn-block">Edit WordList</button>
 
                             <!-- developing...-->
                             <button onclick="genRegexWindowOpen()" id="gen_regex_window_open_id" class="btn btn-default">Open GenRegex(test)</button></br>
@@ -1050,15 +1051,15 @@
                         <!-- 
                         <button onclick="saveText(<?php echo $section_id; ?>)" style="height: 30px; width: 220px">Save the text</button></br>
                         -->
-                        <div class="collapse out" id="tool_edit">
+                        <div class="collapse in" id="tool_edit">
                             <button onclick="editText()" id="editTextId" class="btn btn-default btn-block">Edit the text</button>
-                            <button onclick="window.open('./EditWordlist')" class="btn btn-default btn-block">Edit WordList</button>
+                            <button onclick="Undo()" class="btn btn-default btn-block" id="buttonUndo" disabled="true">Undo</button>
                         </div>
                     </fieldset>
                     
                     <fieldset class="tool-frame">
                         <legend><h5 class="tool-topic" data-toggle="collapse" data-target="#tool_save"> Save and Export: <span class="caret"></span></h5></legend>
-                        <div class="collapse in" id="tool_save">
+                        <div class="collapse out" id="tool_save">
                             <button onclick="saveTextToLGService()" id="save_text_to_LGService_id" class="btn btn-default btn-block">Save to LGService</button>
                             <button onclick="exportAll(<?php echo $default_topic_id;?>)" class="btn btn-default btn-block">Export All</button>
                             Page: <input type="text" size="5" id="exportPageStart">to<input type="text" size="5" id="exportPageEnd">