Add available themes and plugins in feature table
This commit is contained in:
parent
d7ce63d3dd
commit
7337a75bf0
2 changed files with 29 additions and 2 deletions
|
@ -128,5 +128,27 @@
|
||||||
<my-feature-boolean [value]="serverConfig.search.remoteUri.users"></my-feature-boolean>
|
<my-feature-boolean [value]="serverConfig.search.remoteUri.users"></my-feature-boolean>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,6 +34,11 @@ table {
|
||||||
font-weight: $font-semibold;
|
font-weight: $font-semibold;
|
||||||
color: pvar(--mainForegroundColor);
|
color: pvar(--mainForegroundColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.plugin,
|
||||||
|
.theme {
|
||||||
|
&:not(:last-child):after {
|
||||||
|
content: '•';
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue