From bd54899d3f28591a4cff72c883a0f1372dcd03c7 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 25 Mar 2020 16:38:13 -0600 Subject: [PATCH] more ui path updates, resolves #815 --- assets/styles/layouts/_inline-icons.scss | 4 +++- content/v2.0/organizations/buckets/view-buckets.md | 2 +- content/v2.0/security/tokens/create-token.md | 5 +++-- content/v2.0/security/tokens/update-tokens.md | 9 +++++++++ layouts/shortcodes/icon.html | 6 ++++-- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/assets/styles/layouts/_inline-icons.scss b/assets/styles/layouts/_inline-icons.scss index 5816173df..c1ec8efb5 100644 --- a/assets/styles/layouts/_inline-icons.scss +++ b/assets/styles/layouts/_inline-icons.scss @@ -28,11 +28,13 @@ position: relative; width: 28px; height: 16px; - background: $b-pool; border-radius: .7rem; vertical-align: text-top; margin-top: 2px; + &.blue { background: $b-pool; } + &.green { background: $gr-viridian; } + .circle { display: inline-block; position: absolute; diff --git a/content/v2.0/organizations/buckets/view-buckets.md b/content/v2.0/organizations/buckets/view-buckets.md index abc9b50b4..216111201 100644 --- a/content/v2.0/organizations/buckets/view-buckets.md +++ b/content/v2.0/organizations/buckets/view-buckets.md @@ -16,7 +16,7 @@ weight: 202 {{< nav-icon "load data" >}} 2. Select **Buckets**. -3. Click on a bucket to view details. +3. Click on a bucket to open the **Data Explorer** with the bucket selected. ## View buckets using the influx CLI diff --git a/content/v2.0/security/tokens/create-token.md b/content/v2.0/security/tokens/create-token.md index eb37bdc1c..748cbbe01 100644 --- a/content/v2.0/security/tokens/create-token.md +++ b/content/v2.0/security/tokens/create-token.md @@ -21,9 +21,10 @@ command line interface (CLI). {{< nav-icon "disks" >}} 2. Click **Tokens**. -3. Click the **+ Generate** dropdown in the upper right and select a token type (**Read/Write Token** or **All Access Token**). +3. Click **{{< icon "plus" >}} Generate** and select a token type + (**Read/Write Token** or **All Access Token**). 4. In the window that appears, enter a description for your token in the **Description** field. -5. If you're generating a read/write token: +5. If generating a **read/write token**: - Search for and select buckets to read from in the **Read** pane. - Search for and select buckets to write to in the **Write** pane. 5. Click **Save**. diff --git a/content/v2.0/security/tokens/update-tokens.md b/content/v2.0/security/tokens/update-tokens.md index b566c8809..ed979902f 100644 --- a/content/v2.0/security/tokens/update-tokens.md +++ b/content/v2.0/security/tokens/update-tokens.md @@ -22,3 +22,12 @@ Update an authentication token's description using the InfluxDB user interface ( 2. Click **Tokens**. All of your account's tokens appear. 3. Click the pencil icon {{< icon "pencil" >}} next to the token's name in the **Description** column. 4. Update the token description, then click anywhere else to save. + +## Enable or disable a token + +1. Click the **Load Data** icon in the navigation bar. + + {{< nav-icon "disks" >}} + +2. Click **Tokens**. All of your account's tokens appear. +3. Click the **{{< icon "toggle-green" >}} Status** toggle. diff --git a/layouts/shortcodes/icon.html b/layouts/shortcodes/icon.html index 6016f819d..f8949e2ad 100644 --- a/layouts/shortcodes/icon.html +++ b/layouts/shortcodes/icon.html @@ -60,6 +60,8 @@ {{ else if eq $icon "add-label" }} -{{ else if eq $icon "toggle" }} - +{{ else if or (eq $icon "toggle") (eq $icon "toggle-blue") }} + +{{ else if eq $icon "toggle-green" }} + {{ end }}