diff --git a/README.md b/README.md index b467512..e9497bb 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,17 @@ The frontend tries to retrieve a configuration file named `config.json` from the | Parameter | Description | Default | |:-------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------| | `title` | Title of the page. Both in the tab and next to the logo. | `Infrastructure Status` | -| `gatusBaseUrl` | Alternative base URL (without trailing slash) of the Gatus instance, if the API is not available relative to the frontend. | `none` | +| `gatusBaseUrl` | Alternative base URL (without trailing slash) of the Gatus instance, if the API is not available relative to the frontend. | `none` | | `hiddenGroups` | Array containing names of groups that should be hidden. These groups are still visible in the API response! | `[]` | | `hiddenEndpoints` | Array containing names of endpoints that should be hidden. These endpoints are still visible in the API response! | `[]` | | `groupOrder` | Array containing names of groups. The groups are sorted in the frontend according to the order in the array (different from alphabetical sorting by default). If groups are not included in the array, they will be added alphabetically sorted below the sorted groups. | `[]` | | `defaultRefreshInterval` | Interval in seconds after which the API data is refreshed in the background by default. Can be changed by the user by selecting a value in the lower left corner of the page. Possible values: `10`, `30`, `60`, `120`, `300`, `600` | `60` | +| `notice` | Optional configuration for a notice on the page. It can be used to provide information about a current problem, for example. | `{}` | +| `notice.type` | Type of the notice. This determines the background color of the card. Possible values: `info`, `primary`, `warning`, `danger`, `""` (empty / white) | `""` | +| `notice.title` | Title of the notice card. | `""` | +| `notice.content` | Content text of the notice card. | `""` | +| `notice.createdAt` | Date and time the notice was created at. For example, use the format `yyyy-MM-dd hh:mm` | `""` | +| `notice.updatedAt` | Date and time the notice was last updated at. For example, use the format `yyyy-MM-dd hh:mm` | `""` | ## Deployment diff --git a/package.json b/package.json index 9f852b7..736c497 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fancy-gatus", - "version": "0.1.0", + "version": "1.0.1", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/src/App.vue b/src/App.vue index ffac8ad..9a5fc8d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,6 +5,7 @@
+
@@ -18,6 +19,7 @@ + + \ No newline at end of file