aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-user-settings/user-interface-settings.component.html
blob: 1a24641a2988cac63362c388285109dd996a6994 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                            

                          


                                           
                                                                      

                                                                                                                              
 
                                                                                               


               
 
                                                                                                             
       
<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">{{ instanceName }} default theme ({{ getDefaultInstanceThemeLabel() }})</option>
        <option i18n value="default">{{ getDefaultThemeLabel() }}</option>

        <option *ngFor="let theme of getAvailableThemes()" [value]="theme">{{ theme }}</option>
      </select>
    </div>
  </div>

  <input *ngIf="!reactiveUpdate" type="submit" class="mt-0" i18n-value value="Save" [disabled]="!form.valid">
</form>