Mercurial > hg > extraction-interface
diff views/Extractapp/TaggingText.php @ 89:e681d693240e extractapp
new: generated regex to SmartRegex
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 03 Jun 2015 16:54:09 +0200 |
parents | fb5049fc5dd7 |
children | 94ad33739fa4 |
line wrap: on
line diff
--- a/views/Extractapp/TaggingText.php Wed Jun 03 10:49:00 2015 +0200 +++ b/views/Extractapp/TaggingText.php Wed Jun 03 16:54:09 2015 +0200 @@ -936,7 +936,7 @@ <div id="popups" style="position:absolute; width:300px; "> <div id="load_topic_div" class="popup-topic popup-frame"></div> <div id="load_regex_div" class="popup-loadregex popup-frame"></div> - <div id="regex_generator" class="popup-regex popup-frame"> + <div id="regex_generator" class="popup-frame"> <h3>Gen Regex</h3> <div>Pattern 1: <div id="regex_pattern1" class="bg-info"></div> @@ -947,10 +947,11 @@ <div>Suggested Regex: <div id="generated_regex" class="bg-success"></div> </div> - <button onclick="genRegexWindowClose()" class="btn btn-default btn-xs">Close</button> + <button onclick="genRegexAddToSmartRegex()" class="btn btn-info">Add it to SmartRegex</button> + <button onclick="genRegexWindowClose()" class="btn btn-default">Close</button> <div id="regex_generator_error_msg" class="bg-white"></div> </div> - <div id="smartRegexPopUpDiv" class="popup-regex popup-frame"> + <div id="smartRegexPopUpDiv" class="popup-frame"> Name: <input id="smartRegexPopUpName"></input><br><br> Word List: <select id="smartRegexPopUpSelectWord"> @@ -1010,12 +1011,12 @@ <button onclick="smartRegexLoad(<?php echo $default_topic_id; ?>)" class="btn btn-default">Load</button> <button onclick="smartRegexSave(<?php echo $default_topic_id; ?>)" class="btn btn-default">Save</button> - <button onclick="smartRegexEmpty()" class="btn btn-default">Clear</button></br> + <button onclick="smartRegexEmpty()" class="btn btn-default">Clear</button></br></br> Range: <input type="text" size="5" id="regexPageStart">to<input type="text" size="5" id="regexPageEnd"><br> - <button onclick="replaceSmartRun()" class="btn btn-default">Run</button> - <button onclick="replaceSmartRunWithBr()" class="btn btn-default">Run(in new line)</button></br> + <button onclick="replaceSmartRun()" class="btn btn-default btn-block">Run</button> + <button onclick="replaceSmartRunWithBr()" class="btn btn-default btn-block">Run(in new line)</button> <!-- <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>