Skip to content

Commit

Permalink
made the status domain selector more accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Nov 30, 2023
1 parent 1708b67 commit 3500b04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,8 @@
"Notify Channel": "Notify Channel",
"aboutNotifyChannel": "Notify channel will trigger a desktop or mobile notification for all members of the channel, whether their availability is set to active or away.",
"Uptime Kuma URL": "Uptime Kuma URL",
"Add a domain": "Add a domain",
"Remove domain": "Remove domain {0}",
"Icon Emoji": "Icon Emoji",
"signalImportant": "IMPORTANT: You cannot mix groups and numbers in recipients!",
"aboutWebhooks": "More info about Webhooks on: {0}",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/StatusPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@
<div class="my-3">
<label class="form-label">
{{ $t("Domain Names") }}
<font-awesome-icon icon="plus-circle" class="btn-add-domain action text-primary" @click="addDomainField" />
<font-awesome-icon role="button" icon="plus-circle" class="action text-primary" :aria-label="$t('Add a domain')" @click="addDomainField"/>

Check warning on line 72 in src/pages/StatusPage.vue

View workflow job for this annotation

GitHub Actions / check-linters

Expected a space before '/>', but not found
</label>

<ul class="list-group domain-name-list">
<li v-for="(domain, index) in config.domainNameList" :key="index" class="list-group-item">
<input v-model="config.domainNameList[index]" type="text" class="no-bg domain-input" placeholder="example.com" />
<font-awesome-icon icon="times" class="action remove ms-2 me-3 text-danger" @click="removeDomain(index)" />
<font-awesome-icon icon="times" class="action remove ms-2 me-3 text-danger" :aria-label="$t('Remove domain', domain)" role="button" @click="removeDomain(index)" />
</li>
</ul>
</div>
Expand Down

0 comments on commit 3500b04

Please sign in to comment.