rename to frps-panel

add i18n for some words
This commit is contained in:
杨黄林
2023-09-10 01:24:52 +08:00
parent 56be865d3e
commit 60d8cfcf70
15 changed files with 92 additions and 86 deletions

View File

@@ -239,8 +239,11 @@ var loadUserList = (function ($) {
verify: verifyRules
});
var $section = $('#content > section');
layui.table.render({
elem: '#tokenTable',
height: $section.height() - $('#searchForm').height() + 8,
text: {none: lang['EmptyData']},
url: '/tokens',
method: 'get',
where: {},
@@ -249,7 +252,6 @@ var loadUserList = (function ($) {
page: navigator.language.indexOf("zh") !== -1,
toolbar: '#userListToolbarTemplate',
defaultToolbar: false,
text: {none: lang['EmptyData']},
cols: [[
{type: 'checkbox'},
{field: 'user', title: lang['User'], width: 150, sort: true},