Add available themes and plugins in feature table
This commit is contained in:
parent
d7ce63d3dd
commit
7337a75bf0
|
@ -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>
|
||||
|
|
|
@ -34,6 +34,11 @@ table {
|
|||
font-weight: $font-semibold;
|
||||
color: pvar(--mainForegroundColor);
|
||||
}
|
||||
|
||||
.plugin,
|
||||
.theme {
|
||||
&:not(:last-child):after {
|
||||
content: '•';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue