From 45800f7e63665708665ab0252049e54846ec84c5 Mon Sep 17 00:00:00 2001 From: Caroline Chuong Date: Thu, 11 Jun 2020 18:12:52 +0200 Subject: add scope tags and aria-labels to instance table (#2866) also move label to caption element in table --- .../shared/instance/feature-boolean.component.html | 4 +-- .../instance-features-table.component.html | 31 +++++++++++----------- .../instance-features-table.component.scss | 8 ++++++ 3 files changed, 26 insertions(+), 17 deletions(-) (limited to 'client/src/app/shared/instance') diff --git a/client/src/app/shared/instance/feature-boolean.component.html b/client/src/app/shared/instance/feature-boolean.component.html index ac208fc13..ccb8a30cc 100644 --- a/client/src/app/shared/instance/feature-boolean.component.html +++ b/client/src/app/shared/instance/feature-boolean.component.html @@ -1,3 +1,3 @@ - - + + diff --git a/client/src/app/shared/instance/instance-features-table.component.html b/client/src/app/shared/instance/instance-features-table.component.html index 99b854d13..f6a3b7f0b 100644 --- a/client/src/app/shared/instance/instance-features-table.component.html +++ b/client/src/app/shared/instance/instance-features-table.component.html @@ -1,41 +1,42 @@
+ - + - - + - + - + - + - + - + - + - + @@ -82,22 +83,22 @@ - + - + - + - + diff --git a/client/src/app/shared/instance/instance-features-table.component.scss b/client/src/app/shared/instance/instance-features-table.component.scss index 47c064265..a51574741 100644 --- a/client/src/app/shared/instance/instance-features-table.component.scss +++ b/client/src/app/shared/instance/instance-features-table.component.scss @@ -14,6 +14,7 @@ table { } &.sub-label { + font-weight: $font-regular; padding-left: 30px; } @@ -27,6 +28,13 @@ table { td { vertical-align: middle; } + + caption { + caption-side: top; + font-size: 15px; + font-weight: $font-semibold; + color: pvar(--mainForegroundColor); + } } -- cgit v1.2.3
Features found on this instance
PeerTube versionPeerTube version {{ getServerVersionAndCommit() }}
+
Default NSFW/sensitive videos policy
can be redefined by the users
- +
{{ buildNSFWLabel() }}
User registration allowedUser registration allowed
Video uploadsVideo uploads
Transcoding in multiple resolutionsTranscoding in multiple resolutions
Video uploadsVideo uploads Requires manual validation by moderators Automatically published @@ -43,7 +44,7 @@
Video quotaVideo quota @@ -63,18 +64,18 @@
ImportImport
HTTP import (YouTube, Vimeo, direct URL...)HTTP import (YouTube, Vimeo, direct URL...)
Torrent importTorrent import
PlayerPlayer
P2P enabledP2P enabled
SearchSearch
Users can resolve distant contentUsers can resolve distant content