From 421d935d256db5b77a652d8da0c9a38cb57147ba Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 27 Aug 2019 17:09:43 +0200 Subject: Add about information in registration page --- .../edit-custom-config.component.html | 147 +++++++++++++-------- 1 file changed, 93 insertions(+), 54 deletions(-) (limited to 'client/src/app/+admin') diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index 50df8a8ac..5aa6fda3c 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html @@ -63,20 +63,30 @@
Moderation & NSFW
- + + + This instance is dedicated to sensitive or NSFW content + + + + + Enabling it will allow other administrators to know that you are mainly federating sensitive content.

+ Moreover, the NSFW checkbox on video upload will be automatically checked by default. +
+
+
- + + + + + With Do not list or Blur thumbnails, a confirmation will be requested to watch the video. + + +
- + + + Instance whitelisted by Twitter + + + + + If your instance is whitelisted by Twitter, a video player will be embedded in the Twitter feed on PeerTube video share.
+ If the instance is not whitelisted, we use an image link card that will redirect on your PeerTube instance.

+ Check this checkbox, save the configuration and test with a video URL of your instance (https://example.com/videos/watch/blabla) on + https://cards-dev.twitter.com/validator + to see if you instance is whitelisted. +
+
+
@@ -408,11 +429,15 @@
- + + + Transcoding enabled + + + + If you disable transcoding, many videos from your users will not work! + +
@@ -421,16 +446,22 @@ + > + + Allow your users to upload .mkv, .mov, .avi, .flv videos + +
+ > + + Allow your users to upload audio files that will be merged with the preview file on upload + +
@@ -460,10 +491,11 @@
Cache - + + + Some files are not federated (previews, captions). We fetch them directly from the origin instance and cache them. + +
@@ -492,38 +524,45 @@
- + + + + Write directly JavaScript code.
Example:
console.log('my instance is amazing');
+
+
+
+ +
{{ formErrors.instance.customizations.javascript }}
- + Write directly CSS code. Example:

-
-  #custom-css {{ '{' }}
-    color: red;
-  {{ '}' }}
-                    
+
+#custom-css {{ '{' }}
+  color: red;
+{{ '}' }}
+
Prepend with #custom-css to override styles. Example:

-
-  #custom-css .logged-in-email {{ '{' }}
-    color: red;
-  {{ '}' }}
-                    
- " - >
+
+#custom-css .logged-in-email {{ '{' }}
+  color: red;
+{{ '}' }}
+
+ + + +