From 2dbbf86086bd6bc29343e6c4fbd0d664ec877ac7 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 25 Nov 2019 11:19:45 +0100 Subject: (plugins) adding checkbox and textarea as possible input types, add links in form label --- .../plugin-show-installed.component.html | 11 +++++++++-- .../plugin-show-installed.component.scss | 1 + .../src/app/+admin/plugins/shared/plugin-list.component.scss | 4 +++- 3 files changed, 13 insertions(+), 3 deletions(-) (limited to 'client/src/app/+admin') diff --git a/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.html b/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.html index aae08b94d..95dd74d31 100644 --- a/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.html +++ b/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.html @@ -7,9 +7,16 @@
- - + + + +
{{ formErrors[setting.name] }} diff --git a/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.scss b/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.scss index 42fc1b634..21c180a70 100644 --- a/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.scss +++ b/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.scss @@ -5,6 +5,7 @@ h2 { margin-bottom: 20px; } +textarea, input:not([type=submit]) { @include peertube-input-text(340px); display: block; diff --git a/client/src/app/+admin/plugins/shared/plugin-list.component.scss b/client/src/app/+admin/plugins/shared/plugin-list.component.scss index 3663d3fdd..87a709b00 100644 --- a/client/src/app/+admin/plugins/shared/plugin-list.component.scss +++ b/client/src/app/+admin/plugins/shared/plugin-list.component.scss @@ -21,7 +21,8 @@ } .second-row { - display: flex; + display: grid; + grid-template-columns: 1fr auto; align-items: center; justify-content: space-between; @@ -30,6 +31,7 @@ } .buttons { + margin-left: 10px; > *:not(:last-child) { margin-right: 10px; } -- cgit v1.2.3