diff --git a/docs/widgets.md b/docs/widgets.md index eb2f4364..0e74552a 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -1187,11 +1187,13 @@ All Glance's based widgets require a `hostname` **Field** | **Type** | **Required** | **Description** --- | --- | --- | --- **`hostname`** | `string` | Required | The URL to your Glances instance (without a trailing slash) +**`username`** | `string` | _Optional_ | If you have setup basic auth on Glances, specify username here (defaults to `glances`) +**`password`** | `string` | _Optional_ | If you have setup basic auth on Glances, specify password here. **Note**: since this password is in plaintext, it is important not to reuse it anywhere else ##### Info - **CORS**: 🟢 Enabled -- **Auth**: 🟢 Not Required +- **Auth**: 🟠 Optional - **Price**: 🟢 Free - **Host**: Self-Hosted (see [GitHub - Nicolargo/Glances](https://github.com/nicolargo/glances)) - **Privacy**: ⚫ No Policy Available diff --git a/src/components/Widgets/GlAlerts.vue b/src/components/Widgets/GlAlerts.vue index 358814ed..ab16b14a 100644 --- a/src/components/Widgets/GlAlerts.vue +++ b/src/components/Widgets/GlAlerts.vue @@ -20,10 +20,11 @@