comparison views/Extractapp/TaggingText.php @ 61:c6fa7f83c5bf extractapp

New: 1.display messages(style) 2.handle saving conflict:up-to-date or reload text
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 31 Mar 2015 12:34:57 +0200
parents 3239979f6673
children 3fb9e3884401
comparison
equal deleted inserted replaced
60:3239979f6673 61:c6fa7f83c5bf
914 914
915 <div id="dialog-form" title="config tags for topic" style="position:fixed; top: 30px; "> 915 <div id="dialog-form" title="config tags for topic" style="position:fixed; top: 30px; ">
916 </div> 916 </div>
917 917
918 918
919 <div style="margin:10 30 10 30;max-width:1270;height:70px;overflow:scroll;overflow-x:hidden;"> 919 <div class="" style="margin:10 30 10 30;max-width:1270;height:70px;overflow:scroll;overflow-x:hidden;">
920 <p class="bg-info" style=""> <?php echo $messages['info']; ?> </p> 920 <p class="bg-danger" style=""> <?php echo $messages['error']; ?> </p>
921 <p class="bg-warning" style=""> <?php echo $messages['warning']; ?> 921 <p class="bg-warning" style=""> <?php echo $messages['warning']; ?>
922 <button id="reloadTextButton" onclick="reloadText(<?php echo $default_topic_id; ?>)" class="btn btn-xs btn-default" style="display:none;">Load Latest Version</button> 922 <button id="reloadTextButton" onclick="reloadText(<?php echo $default_topic_id; ?>)" class="btn btn-xs btn-default" style="display:none;">Load Latest Version</button>
923 </p> 923 </p>
924 <p class="bg-danger" style=""> <?php echo $messages['error']; ?> </p> 924 <p class="bg-info" style=""> <?php echo $messages['info']; ?> </p>
925 <p class="bg-default" style=""> <?php echo $messages['debug']; ?> </p> 925 <p class="bg-default" style=""> <?php echo $messages['debug']; ?> </p>
926 </div> 926 </div>
927 927
928 <table width="1270" border="1" style="margin:10 30 10 30;"> 928 <table width="1270" border="1" style="margin:10 30 10 30;">
929 <tr> 929 <tr>
965 <button id="smartRegexPopUpFor" onclick="replaceSmartFor()" class="btn btn-default" style="">>></button> 965 <button id="smartRegexPopUpFor" onclick="replaceSmartFor()" class="btn btn-default" style="">>></button>
966 <button onclick="replaceSmartClose()" class="btn btn-default" style="">Close</button> 966 <button onclick="replaceSmartClose()" class="btn btn-default" style="">Close</button>
967 </div> 967 </div>
968 </div> 968 </div>
969 969
970 <div id="follow-scroll" style="position:absolute; height:680px; overflow:scroll; margin:0 5 15 5; max-width:270px"> 970 <div id="follow-scroll" style="position:absolute; height:680px; overflow:scroll; margin:0 5 15 5; max-width:280px">
971 <form action="javascript:void(0);"> 971 <form action="javascript:void(0);">
972 <fieldset> 972 <fieldset>
973 <legend><h5 class="text-success"> Config Topic: </h5></legend> 973 <legend><h5 class="text-success"> Config Topic: </h5></legend>
974 <div> current topic is <?php echo $topic_name; ?> 974 <div> current topic is <?php echo $topic_name; ?>
975 <button onclick="chooseTopic(<?php echo $default_topic_id;?>)" class="btn btn-xs btn-default">Change</button> 975 <button onclick="chooseTopic(<?php echo $default_topic_id;?>)" class="btn btn-xs btn-default">Change</button>