blob: b739e881bbe2ed353197217dc208ac1b8f2ad096 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<form role="form" (ngSubmit)="updateInterfaceSettings()" [formGroup]="form">
<div class="form-group">
<label i18n for="theme">Theme</label>
<div class="peertube-select-container">
<select formControlName="theme" id="theme" class="form-control">
<option i18n value="instance-default">Instance default theme ({{ getDefaultThemeLabel() }})</option>
<option i18n value="default">{{ defaultThemeLabel }}</option>
<option *ngFor="let theme of availableThemes" [value]="theme">{{ capitalizeFirstLetter(theme) }}</option>
</select>
</div>
</div>
<input *ngIf="!reactiveUpdate" type="submit" class="mt-0" i18n-value value="Save" [disabled]="!form.valid">
</form>
|