From 8a680e1403b02ce3a8ee35c9774391478b62d51a Mon Sep 17 00:00:00 2001 From: timparsons Date: Tue, 1 Aug 2023 16:36:14 -0400 Subject: [PATCH] [BI-1872] implementing the ability for a user to generate an access token to use with BrAPI calls --- src/assets/scss/main.scss | 13 +++++++ src/views/BrAPI/BrAPIInfo.vue | 66 +++++++++++++++++++++++++++++++---- 2 files changed, 73 insertions(+), 6 deletions(-) diff --git a/src/assets/scss/main.scss b/src/assets/scss/main.scss index f553567e7..26c9e7b8e 100644 --- a/src/assets/scss/main.scss +++ b/src/assets/scss/main.scss @@ -901,6 +901,19 @@ tr:nth-child(odd) td.db-filled { } } +.brapi-info { + .access-token { + @extend .mb-5; + font-family: monospace; + word-wrap: break-word; + overflow-x: auto; + white-space: pre-wrap; + white-space: -moz-pre-wrap; + white-space: -pre-wrap; + white-space: -o-pre-wrap; + } +} + label.environment-option-label { white-space: nowrap; overflow: hidden; diff --git a/src/views/BrAPI/BrAPIInfo.vue b/src/views/BrAPI/BrAPIInfo.vue index ef92b06cb..de820e9b5 100644 --- a/src/views/BrAPI/BrAPIInfo.vue +++ b/src/views/BrAPI/BrAPIInfo.vue @@ -16,15 +16,46 @@ -->