From 7f4b2d6e42384dd70186b41ea5687942d891109c Mon Sep 17 00:00:00 2001 From: spencerrlongg Date: Wed, 8 Nov 2023 16:10:09 -0600 Subject: [PATCH] modal and initial stuff working --- .../Components/personal-access-tokens.php | 26 ++++++ resources/views/account/api.blade.php | 2 + .../create-token-modal.blade.php | 87 +++++++++++++++++++ .../personal-access-tokens/panel.blade.php | 26 ++++++ 4 files changed, 141 insertions(+) create mode 100644 app/View/Components/personal-access-tokens.php create mode 100644 resources/views/components/personal-access-tokens/create-token-modal.blade.php create mode 100644 resources/views/components/personal-access-tokens/panel.blade.php diff --git a/app/View/Components/personal-access-tokens.php b/app/View/Components/personal-access-tokens.php new file mode 100644 index 0000000000..79b4eab1ad --- /dev/null +++ b/app/View/Components/personal-access-tokens.php @@ -0,0 +1,26 @@ + + {{-- New Component --}} + @else

{{ trans('general.feature_disabled') }}

@endif diff --git a/resources/views/components/personal-access-tokens/create-token-modal.blade.php b/resources/views/components/personal-access-tokens/create-token-modal.blade.php new file mode 100644 index 0000000000..4ac888d2fb --- /dev/null +++ b/resources/views/components/personal-access-tokens/create-token-modal.blade.php @@ -0,0 +1,87 @@ +@props([ + 'title' => 'Create Token', + '' +]) + + + \ No newline at end of file diff --git a/resources/views/components/personal-access-tokens/panel.blade.php b/resources/views/components/personal-access-tokens/panel.blade.php new file mode 100644 index 0000000000..043b3d81c3 --- /dev/null +++ b/resources/views/components/personal-access-tokens/panel.blade.php @@ -0,0 +1,26 @@ +@props([ + 'token_url' => url('oauth/personal-access-tokens'), + 'scopes_url' => url('oauth/scopes'), +]) + +
+

New Personal Access Token Component

+
+

{{ $token_url }}

+

{{ $scopes_url }}

+
+ + + +
\ No newline at end of file