This commit is contained in:
Eason010212
2022-10-30 15:47:18 +08:00
parent 93be8d3b01
commit 7386a6c6f4

View File

@@ -10,7 +10,7 @@ function get_data() {
}, function(res) {
$("#prj_num").html(res['count'] + " / " + MAX_MESSAGE_COUNT)
$("#prj_num_bar").attr("aria-valuenow", res['count'])
$("#prj_num_bar").css("width", (res['count'] * 100 / MAX_PROJECT_NUM_PER_USER) + "%")
$("#prj_num_bar").css("width", (res['count'] * 100 / MAX_MESSAGE_COUNT) + "%")
globalRows = res["rows"]
init_table(res["rows"])
sync_chart()