From 08635beb61d374d5e4b0982bc94983142f196d24 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Fri, 1 Mar 2019 16:18:16 +0200 Subject: [PATCH] Fix lint --- client/components/App.vue | 12 +- client/components/NetworkForm.vue | 37 ++++-- client/components/RevealPassword.vue | 6 +- client/components/Sidebar.vue | 73 ++++++----- client/components/Windows/Changelog.vue | 12 +- client/components/Windows/Help.vue | 33 +++-- client/components/Windows/Settings.vue | 162 ++++++++++++++++-------- client/components/Windows/SignIn.vue | 24 ++-- 8 files changed, 231 insertions(+), 128 deletions(-) diff --git a/client/components/App.vue b/client/components/App.vue index 51176513..6b531255 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -2,18 +2,22 @@
+ role="tablist" + > + :active-channel="activeChannel" + />
+ :channel="activeChannel.channel" + /> + ref="window" + />
diff --git a/client/components/NetworkForm.vue b/client/components/NetworkForm.vue index 8bb41ddd..5babc787 100644 --- a/client/components/NetworkForm.vue +++ b/client/components/NetworkForm.vue @@ -3,11 +3,13 @@ id="connect" class="window" role="tabpanel" - aria-label="Connect"> + aria-label="Connect" + >
+ :value="defaults.uuid" + > Edit {{ defaults.name }} diff --git a/client/components/Windows/Help.vue b/client/components/Windows/Help.vue index 51cbafc0..c3285389 100644 --- a/client/components/Windows/Help.vue +++ b/client/components/Windows/Help.vue @@ -3,11 +3,13 @@ id="help" class="window" role="tabpanel" - aria-label="Help"> + aria-label="Help" + >

Help

@@ -18,7 +20,8 @@ (release notes) + data-target="Changelog" + >release notes) About The Lounge @@ -32,7 +35,8 @@ (commit {{ $root.serverConfiguration.gitCommit }}). + rel="noopener" + >commit {{ $root.serverConfiguration.gitCommit }}).

@@ -59,21 +65,24 @@ href="https://thelounge.chat/" target="_blank" rel="noopener" - class="website-link">Website + class="website-link" + >Website

Documentation + class="documentation-link" + >Documentation

Report an issue… + class="report-issue-link" + >Report an issue…

@@ -151,7 +160,8 @@ here. + rel="noopener" + >here.

@@ -342,7 +352,8 @@ the dedicated Wikipedia article. + rel="noopener" + >the dedicated Wikipedia article.

diff --git a/client/components/Windows/Settings.vue b/client/components/Windows/Settings.vue index 73b85e79..045b1242 100644 --- a/client/components/Windows/Settings.vue +++ b/client/components/Windows/Settings.vue @@ -3,11 +3,13 @@ id="settings" class="window" role="tabpanel" - aria-label="Settings"> + aria-label="Settings" + >

Settings

@@ -17,7 +19,8 @@
@@ -27,37 +30,44 @@
+ data-advanced + >

Settings synchronisation + aria-label="Note: This is an experimental feature and may change in future releases." + >

Warning Checking this box will override the settings of this client with those stored on the server.

@@ -66,7 +76,8 @@ + @click="onForceSyncClick" + >Force sync settings

This will override any settings already synced to the server.

@@ -78,7 +89,8 @@ @@ -86,7 +98,8 @@ @@ -95,10 +108,12 @@ Status messages + aria-label="Joins, parts, kicks, nick changes, away changes, and mode changes" + > + data-text-alternate="Unsubscribe from push notifications" + >Subscribe to push notifications
+ class="error" + > Warning: Push notifications are only supported over HTTPS connections.
+ class="error" + > Warning: Push notifications are not supported by your browser.
@@ -233,18 +264,21 @@ + name="desktopNotifications" + > Enable browser notifications
+ class="error" + > Warning: Notifications are not supported by your browser.
+ class="error" + > Warning: Notifications are blocked by your browser.
@@ -254,7 +288,8 @@ @@ -266,38 +301,45 @@
+ data-advanced + >
+ data-advanced + > + placeholder="Custom highlights (comma-separated keywords)" + >
+ id="change-password" + > + data-event="change-password" + >

Change password

@@ -305,68 +347,80 @@ + class="sr-only" + >Enter current password + placeholder="Enter current password" + >
+ class="sr-only" + >Enter desired new password + placeholder="Enter desired new password" + >
+ class="sr-only" + >Repeat new password + placeholder="Repeat new password" + >
+ data-advanced + >

Custom Stylesheet

+ data-advanced + > + class="sr-only" + >Custom stylesheet. You can override any style with CSS here.