comparison 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
comparison
equal deleted inserted replaced
88:61593b047289 89:e681d693240e
934 </td> 934 </td>
935 <td valign="top" style="min-width:280px; padding:0 5 0 5; margin:0 5 0 5;"> 935 <td valign="top" style="min-width:280px; padding:0 5 0 5; margin:0 5 0 5;">
936 <div id="popups" style="position:absolute; width:300px; "> 936 <div id="popups" style="position:absolute; width:300px; ">
937 <div id="load_topic_div" class="popup-topic popup-frame"></div> 937 <div id="load_topic_div" class="popup-topic popup-frame"></div>
938 <div id="load_regex_div" class="popup-loadregex popup-frame"></div> 938 <div id="load_regex_div" class="popup-loadregex popup-frame"></div>
939 <div id="regex_generator" class="popup-regex popup-frame"> 939 <div id="regex_generator" class="popup-frame">
940 <h3>Gen Regex</h3> 940 <h3>Gen Regex</h3>
941 <div>Pattern 1: 941 <div>Pattern 1:
942 <div id="regex_pattern1" class="bg-info"></div> 942 <div id="regex_pattern1" class="bg-info"></div>
943 </div> 943 </div>
944 <div>Pattern 2: 944 <div>Pattern 2:
945 <div id="regex_pattern2" class="bg-info"></div> 945 <div id="regex_pattern2" class="bg-info"></div>
946 </div> 946 </div>
947 <div>Suggested Regex: 947 <div>Suggested Regex:
948 <div id="generated_regex" class="bg-success"></div> 948 <div id="generated_regex" class="bg-success"></div>
949 </div> 949 </div>
950 <button onclick="genRegexWindowClose()" class="btn btn-default btn-xs">Close</button> 950 <button onclick="genRegexAddToSmartRegex()" class="btn btn-info">Add it to SmartRegex</button>
951 <button onclick="genRegexWindowClose()" class="btn btn-default">Close</button>
951 <div id="regex_generator_error_msg" class="bg-white"></div> 952 <div id="regex_generator_error_msg" class="bg-white"></div>
952 </div> 953 </div>
953 <div id="smartRegexPopUpDiv" class="popup-regex popup-frame"> 954 <div id="smartRegexPopUpDiv" class="popup-frame">
954 Name: <input id="smartRegexPopUpName"></input><br><br> 955 Name: <input id="smartRegexPopUpName"></input><br><br>
955 Word List: 956 Word List:
956 <select id="smartRegexPopUpSelectWord"> 957 <select id="smartRegexPopUpSelectWord">
957 <option value="NULL" selected>無</option> 958 <option value="NULL" selected>無</option>
958 <?php 959 <?php
1008 --> 1009 -->
1009 <button onclick="smartRegexNew()" id="smart_regex_new_id" class="btn btn-default btn-block">Search by Patterns (Smart Regex)</button> 1010 <button onclick="smartRegexNew()" id="smart_regex_new_id" class="btn btn-default btn-block">Search by Patterns (Smart Regex)</button>
1010 1011
1011 <button onclick="smartRegexLoad(<?php echo $default_topic_id; ?>)" class="btn btn-default">Load</button> 1012 <button onclick="smartRegexLoad(<?php echo $default_topic_id; ?>)" class="btn btn-default">Load</button>
1012 <button onclick="smartRegexSave(<?php echo $default_topic_id; ?>)" class="btn btn-default">Save</button> 1013 <button onclick="smartRegexSave(<?php echo $default_topic_id; ?>)" class="btn btn-default">Save</button>
1013 <button onclick="smartRegexEmpty()" class="btn btn-default">Clear</button></br> 1014 <button onclick="smartRegexEmpty()" class="btn btn-default">Clear</button></br></br>
1014 1015
1015 1016
1016 Range: <input type="text" size="5" id="regexPageStart">to<input type="text" size="5" id="regexPageEnd"><br> 1017 Range: <input type="text" size="5" id="regexPageStart">to<input type="text" size="5" id="regexPageEnd"><br>
1017 <button onclick="replaceSmartRun()" class="btn btn-default">Run</button> 1018 <button onclick="replaceSmartRun()" class="btn btn-default btn-block">Run</button>
1018 <button onclick="replaceSmartRunWithBr()" class="btn btn-default">Run(in new line)</button></br> 1019 <button onclick="replaceSmartRunWithBr()" class="btn btn-default btn-block">Run(in new line)</button>
1019 <!-- <button onclick="replaceSmartRunSpace()" class="btn-lg">Run(Allow space between Group)</button></br> 1020 <!-- <button onclick="replaceSmartRunSpace()" class="btn-lg">Run(Allow space between Group)</button></br>
1020 --> 1021 -->
1021 <button onclick="replaceSmartRunSpace()" class="btn btn-default">Run(Allow space between block)</button></br> 1022 <button onclick="replaceSmartRunSpace()" class="btn btn-default">Run(Allow space between block)</button></br>
1022 <button onclick="Undo()" class="btn btn-default btn-block" id="buttonUndo" disabled="true">Undo</button> 1023 <button onclick="Undo()" class="btn btn-default btn-block" id="buttonUndo" disabled="true">Undo</button>
1023 1024