1
0
Fork 0

Add available themes and plugins in feature table

This commit is contained in:
Chocobozzz 2021-11-09 15:26:10 +01:00
parent d7ce63d3dd
commit 7337a75bf0
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 29 additions and 2 deletions

View file

@ -128,5 +128,27 @@
<my-feature-boolean [value]="serverConfig.search.remoteUri.users"></my-feature-boolean>
</td>
</tr>
<tr>
<th i18n class="label" colspan="2">Plugins & Themes</th>
</tr>
<tr>
<th i18n class="sub-label" scope="row">Available themes</th>
<td>
<span class="theme" *ngFor="let theme of serverConfig.theme.registered">
{{ theme.name }}
</span>
</td>
</tr>
<tr>
<th i18n class="sub-label" scope="row">Plugins enabled</th>
<td>
<span class="plugin" *ngFor="let plugin of serverConfig.plugin.registered">
{{ plugin.name }}
</span>
</td>
</tr>
</table>
</div>

View file

@ -34,6 +34,11 @@ table {
font-weight: $font-semibold;
color: pvar(--mainForegroundColor);
}
.plugin,
.theme {
&:not(:last-child):after {
content: '';
}
}
}