This commit is contained in:
flaskfarm
2022-10-26 03:25:39 +09:00
parent d9580bba11
commit abfe8d1c3d
10 changed files with 64 additions and 22 deletions

View File

@@ -13,6 +13,7 @@ if (tmp.length == 2) {
var PAGE_NAME = tmp[3];
}
var current_data = null;
var current_page = null;
console.log("NAME: [" + PACKAGE_NAME + '] [' + MODULE_NAME + '] [' + PAGE_NAME + ']');
$(window).on("load resize", function (event) {

View File

@@ -391,6 +391,7 @@ function make_page_html(data) {
for (var i = data.start_page ; i <= data.last_page ; i++) {
str += '<button id="gloablSearchPageBtn" data-page="' + i +'" type="button" class="btn btn-secondary" ';
if (i == data.current_page) {
current_page = i
str += 'disabled';
}
str += '>'+i+'</button>';

View File

@@ -88,7 +88,7 @@ function j_progress(id, width, label) {
var str = '';
str += '<div class="progress" style="height: 25px;">'
str += '<div id="'+id+'" class="progress-bar" style="background-color:yellow;width:'+width+'%"></div>';
str += '<div id="'+id+'_label" class="justify-content-center d-flex w-100 position-absolute" style="margin-top:2px">'+label+'</div>';
str += '<div id="'+id+'_label" class="justify-content-center d-flex w-100 " style="margin-top:2px">'+label+'</div>';
str += '</div>'
return str;
}