From 9929f5b65e818a7dc032afdb74d6f2a63cbe4777 Mon Sep 17 00:00:00 2001 From: Yuriy Bakhtin Date: Tue, 17 Mar 2026 14:11:15 +0300 Subject: [PATCH 1/2] Use bootstrap class to build button and link --- docs/CHANGELOG.md | 4 ++++ module.json | 2 +- views/admin/index.php | 16 +++++++++------- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index ad82d47..fa73e99 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.1.1 (Unreleased) +----------------------- +- Fix #7: Use bootstrap class to build button and link + 1.1.0 (August 28, 2025) ----------------------- - Fix: Update module resources path diff --git a/module.json b/module.json index 10e1afd..a9d520b 100644 --- a/module.json +++ b/module.json @@ -4,7 +4,7 @@ "description": "Integrating GitHub Sign-In (OAuth 2.0).", "keywords": [ ], - "version": "1.1.0", + "version": "1.1.1", "homepage": "https://github.com/humhub-contrib/auth-github", "humhub": { "minVersion": "1.18" diff --git a/views/admin/index.php b/views/admin/index.php index 7e31d7f..92ec910 100644 --- a/views/admin/index.php +++ b/views/admin/index.php @@ -1,10 +1,11 @@
@@ -13,7 +14,10 @@

- 'btn btn-primary float-end btn-sm', 'target' => '_blank']); ?> + link('https://docs.github.com/en/developers/apps/creating-an-oauth-app') + ->blank() + ->right()->sm() ?> OAuth client credentials.'); ?>

@@ -31,9 +35,7 @@ field($model, 'redirectUri')->textInput(['readonly' => true]); ?>
-
- 'btn btn-primary', 'data-ui-loader' => '']) ?> -
+ submit() ?> From 7388ecbb39d5747255f74d762a8a0e5691c2c8ff Mon Sep 17 00:00:00 2001 From: Yuriy Bakhtin Date: Tue, 17 Mar 2026 14:38:20 +0300 Subject: [PATCH 2/2] Use bootstrap class to build button and link --- views/admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/admin/index.php b/views/admin/index.php index 92ec910..1457d24 100644 --- a/views/admin/index.php +++ b/views/admin/index.php @@ -16,7 +16,7 @@

link('https://docs.github.com/en/developers/apps/creating-an-oauth-app') - ->blank() + ->blank()->loader(false) ->right()->sm() ?> OAuth client credentials.'); ?>