From 77bbf38376af21a69ed029a4c6777f8afca7f99a Mon Sep 17 00:00:00 2001 From: Caroline Chuong Date: Wed, 10 Jun 2020 22:18:17 +0200 Subject: [PATCH] Add correct tags to instance table --- .../about-instance.component.html | 1 - .../instance/feature-boolean.component.html | 4 +-- .../instance-features-table.component.html | 31 ++++++++++--------- .../instance-features-table.component.scss | 8 +++++ 4 files changed, 26 insertions(+), 18 deletions(-) diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html index 1df1ef2ad6b..7ba2d9ac8aa 100644 --- a/client/src/app/+about/about-instance/about-instance.component.html +++ b/client/src/app/+about/about-instance/about-instance.component.html @@ -91,7 +91,6 @@
-
diff --git a/client/src/app/shared/instance/feature-boolean.component.html b/client/src/app/shared/instance/feature-boolean.component.html index ac208fc131a..ccb8a30cc16 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 99b854d135b..f6a3b7f0b07 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 47c064265b4..a515747413b 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); + } }
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