aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-09 15:26:10 +0100
committerChocobozzz <me@florianbigard.com>2021-11-09 15:26:10 +0100
commit7337a75bf06dd3ee501b502c1e4251dbf78aa04d (patch)
tree8ddda91e09c6897a66c3227524edb6a685817460 /client/src/app
parentd7ce63d3dd63e51096f76371403ac4859d69bef5 (diff)
downloadPeerTube-7337a75bf06dd3ee501b502c1e4251dbf78aa04d.tar.gz
PeerTube-7337a75bf06dd3ee501b502c1e4251dbf78aa04d.tar.zst
PeerTube-7337a75bf06dd3ee501b502c1e4251dbf78aa04d.zip
Add available themes and plugins in feature table
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/shared-instance/instance-features-table.component.html22
-rw-r--r--client/src/app/shared/shared-instance/instance-features-table.component.scss9
2 files changed, 29 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.html b/client/src/app/shared/shared-instance/instance-features-table.component.html
index 83440e87c..0d4e77b73 100644
--- a/client/src/app/shared/shared-instance/instance-features-table.component.html
+++ b/client/src/app/shared/shared-instance/instance-features-table.component.html
@@ -128,5 +128,27 @@
128 <my-feature-boolean [value]="serverConfig.search.remoteUri.users"></my-feature-boolean> 128 <my-feature-boolean [value]="serverConfig.search.remoteUri.users"></my-feature-boolean>
129 </td> 129 </td>
130 </tr> 130 </tr>
131
132 <tr>
133 <th i18n class="label" colspan="2">Plugins & Themes</th>
134 </tr>
135
136 <tr>
137 <th i18n class="sub-label" scope="row">Available themes</th>
138 <td>
139 <span class="theme" *ngFor="let theme of serverConfig.theme.registered">
140 {{ theme.name }}
141 </span>
142 </td>
143 </tr>
144
145 <tr>
146 <th i18n class="sub-label" scope="row">Plugins enabled</th>
147 <td>
148 <span class="plugin" *ngFor="let plugin of serverConfig.plugin.registered">
149 {{ plugin.name }}
150 </span>
151 </td>
152 </tr>
131 </table> 153 </table>
132</div> 154</div>
diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.scss b/client/src/app/shared/shared-instance/instance-features-table.component.scss
index d8efd8cdf..6107909a2 100644
--- a/client/src/app/shared/shared-instance/instance-features-table.component.scss
+++ b/client/src/app/shared/shared-instance/instance-features-table.component.scss
@@ -34,6 +34,11 @@ table {
34 font-weight: $font-semibold; 34 font-weight: $font-semibold;
35 color: pvar(--mainForegroundColor); 35 color: pvar(--mainForegroundColor);
36 } 36 }
37}
38
39 37
38 .plugin,
39 .theme {
40 &:not(:last-child):after {
41 content: '•';
42 }
43 }
44}