index + db

This commit is contained in:
gauthiier
2020-01-25 10:57:13 +01:00
parent afc71795d1
commit 56aab9e545
19 changed files with 6027 additions and 158 deletions
+12
View File
@@ -0,0 +1,12 @@
$(document).ready(function(){
$('.delete, .regex, .collate').click(function(e) {
var li = $(this).parent("li");
var reg = li.children(".regex_input")[0].value;
var col = li.children(".collate_input")[0].value;
$.post('/index-master', {'action': $(this).attr('class'), 'kw': li.data("kw"), 'reg': reg, 'col': col}, function(d) {
if(d === 'ok') {
location.reload();
}
});
});
});