From bbe41b9ae1fb477b230add66e453fd9c3674018b Mon Sep 17 00:00:00 2001 From: otsuka Date: Thu, 23 Jul 2026 18:12:23 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=83=9C=E3=82=BF=E3=83=B3=E3=81=AE=E4=BA=8C=E9=87=8D=E3=82=AF?= =?UTF-8?q?=E3=83=AA=E3=83=83=E3=82=AF=E9=98=B2=E6=AD=A2=E3=82=92=E5=AE=9F?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/Admin/element/Users/index_list.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plugins/bc-admin-third/templates/Admin/element/Users/index_list.php b/plugins/bc-admin-third/templates/Admin/element/Users/index_list.php index 06fc6c0611..91fbeb341a 100755 --- a/plugins/bc-admin-third/templates/Admin/element/Users/index_list.php +++ b/plugins/bc-admin-third/templates/Admin/element/Users/index_list.php @@ -23,6 +23,19 @@ $this->BcListTable->setColumnNumber(9); ?> + +
BcBaser->element('pagination') ?> From 34d13077b4fffe5c5d4959674f4b234f2d8a65b4 Mon Sep 17 00:00:00 2001 From: otsuka Date: Mon, 27 Jul 2026 12:50:27 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=83=9C=E3=82=BF=E3=83=B3=E4=BA=8C=E9=87=8D=E3=82=AF=E3=83=AA?= =?UTF-8?q?=E3=83=83=E3=82=AF=E9=98=B2=E6=AD=A2=E3=81=AEJS=E3=82=92?= =?UTF-8?q?=E5=88=86=E9=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/js/admin/users/index.js | 25 +++++++++++++++++++ .../templates/Admin/Users/index.php | 1 + .../Admin/element/Users/index_list.php | 13 ---------- .../webroot/js/admin/users/index.bundle.js | 11 ++++++++ .../js/admin/users/index.bundle.js.map | 1 + 5 files changed, 38 insertions(+), 13 deletions(-) create mode 100644 plugins/bc-admin-third/src/js/admin/users/index.js create mode 100644 plugins/bc-admin-third/webroot/js/admin/users/index.bundle.js create mode 100644 plugins/bc-admin-third/webroot/js/admin/users/index.bundle.js.map diff --git a/plugins/bc-admin-third/src/js/admin/users/index.js b/plugins/bc-admin-third/src/js/admin/users/index.js new file mode 100644 index 0000000000..69d51276c2 --- /dev/null +++ b/plugins/bc-admin-third/src/js/admin/users/index.js @@ -0,0 +1,25 @@ +/** + * baserCMS : Based Website Development Project + * Copyright (c) NPO baser foundation + * + * @copyright Copyright (c) NPO baser foundation + * @link https://basercms.net baserCMS Project + * @since 5.0.0 + * @license https://basercms.net/license/index.html MIT License + */ + +/** + * ユーザー一覧 + */ +$(function () { + /** + * 代理ログインボタンの二重クリック防止 + */ + $('.btn-login').on('click', function (e) { + if ($(this).attr('disabled')) { + e.preventDefault(); + return false; + } + $(this).attr('disabled', 'disabled'); + }); +}); diff --git a/plugins/bc-admin-third/templates/Admin/Users/index.php b/plugins/bc-admin-third/templates/Admin/Users/index.php index 025697c07f..b9e69ac9ba 100755 --- a/plugins/bc-admin-third/templates/Admin/Users/index.php +++ b/plugins/bc-admin-third/templates/Admin/Users/index.php @@ -24,6 +24,7 @@ $this->BcAdmin->setTitle(__d('baser_core', 'ユーザー一覧')); $this->BcAdmin->setSearch('users_index'); $this->BcAdmin->setHelp('users_index'); +$this->BcBaser->js(['admin/users/index.bundle'], false); ?> diff --git a/plugins/bc-admin-third/templates/Admin/element/Users/index_list.php b/plugins/bc-admin-third/templates/Admin/element/Users/index_list.php index 91fbeb341a..06fc6c0611 100755 --- a/plugins/bc-admin-third/templates/Admin/element/Users/index_list.php +++ b/plugins/bc-admin-third/templates/Admin/element/Users/index_list.php @@ -23,19 +23,6 @@ $this->BcListTable->setColumnNumber(9); ?> - -
BcBaser->element('pagination') ?> diff --git a/plugins/bc-admin-third/webroot/js/admin/users/index.bundle.js b/plugins/bc-admin-third/webroot/js/admin/users/index.bundle.js new file mode 100644 index 0000000000..350ecf3e50 --- /dev/null +++ b/plugins/bc-admin-third/webroot/js/admin/users/index.bundle.js @@ -0,0 +1,11 @@ +/** + * baserCMS : Based Website Development Project + * Copyright (c) NPO baser foundation + * + * @copyright Copyright (c) NPO baser foundation + * @link https://basercms.net baserCMS Project + * @since 5.0.0 + * @license https://basercms.net/license/index.html MIT License + */ +$(function(){$(".btn-login").on("click",function(t){if($(this).attr("disabled"))return t.preventDefault(),!1;$(this).attr("disabled","disabled")})}); +//# sourceMappingURL=index.bundle.js.map \ No newline at end of file diff --git a/plugins/bc-admin-third/webroot/js/admin/users/index.bundle.js.map b/plugins/bc-admin-third/webroot/js/admin/users/index.bundle.js.map new file mode 100644 index 0000000000..8ee314e0b9 --- /dev/null +++ b/plugins/bc-admin-third/webroot/js/admin/users/index.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/admin/users/index.bundle.js","mappings":";;;;;;;;;AAaAA,EAAE,WAIEA,EAAE,cAAcC,GAAG,QAAS,SAAUC,GAClC,GAAIF,EAAEG,MAAMC,KAAK,YAEb,OADAF,EAAEG,kBACK,EAEXL,EAAEG,MAAMC,KAAK,WAAY,WAC7B,EACJ","sources":["webpack://bc-admin-third/./src/js/admin/users/index.js"],"sourcesContent":["/**\n * baserCMS : Based Website Development Project \n * Copyright (c) NPO baser foundation \n *\n * @copyright Copyright (c) NPO baser foundation\n * @link https://basercms.net baserCMS Project\n * @since 5.0.0\n * @license https://basercms.net/license/index.html MIT License\n */\n\n/**\n * ユーザー一覧\n */\n$(function () {\n /**\n * 代理ログインボタンの二重クリック防止\n */\n $('.btn-login').on('click', function (e) {\n if ($(this).attr('disabled')) {\n e.preventDefault();\n return false;\n }\n $(this).attr('disabled', 'disabled');\n });\n});\n"],"names":["$","on","e","this","attr","preventDefault"],"sourceRoot":""} \ No newline at end of file