aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-11 11:30:06 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-04-11 16:05:50 +0200
commit58e1765affe6206fcae797290e4f5d8460dffea9 (patch)
treeaa11bbc206aa8102f4a1de173d0e9653e62d6068
parentd694b193449b12377f3f509cc1655b34c7a68212 (diff)
downloadPeerTube-58e1765affe6206fcae797290e4f5d8460dffea9.tar.gz
PeerTube-58e1765affe6206fcae797290e4f5d8460dffea9.tar.zst
PeerTube-58e1765affe6206fcae797290e4f5d8460dffea9.zip
Remove unused interface section for interface language
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html13
-rw-r--r--client/src/app/menu/language-chooser.component.scss5
2 files changed, 5 insertions, 13 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html
index 6119e7380..0d0ddc0f2 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html
+++ b/client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html
@@ -1,19 +1,6 @@
1<form role="form" (ngSubmit)="updateInterfaceSettings()" [formGroup]="form"> 1<form role="form" (ngSubmit)="updateInterfaceSettings()" [formGroup]="form">
2 2
3 <div class="form-group"> 3 <div class="form-group">
4 <label i18n for="theme">Interface language</label>
5
6 <div class="peertube-select-container">
7 <select formControlName="theme" id="theme" class="form-control">
8 <option i18n value="instance-default">instance default</option>
9 <option i18n value="default">peertube default</option>
10
11 <option *ngFor="let theme of availableThemes" [value]="theme">{{ theme }}</option>
12 </select>
13 </div>
14 </div>
15
16 <div class="form-group">
17 <label i18n for="theme">Theme</label> 4 <label i18n for="theme">Theme</label>
18 5
19 <div class="peertube-select-container"> 6 <div class="peertube-select-container">
diff --git a/client/src/app/menu/language-chooser.component.scss b/client/src/app/menu/language-chooser.component.scss
index 50d19fd1f..6226a85cb 100644
--- a/client/src/app/menu/language-chooser.component.scss
+++ b/client/src/app/menu/language-chooser.component.scss
@@ -5,6 +5,11 @@
5 @include peertube-button-link; 5 @include peertube-button-link;
6 @include orange-button; 6 @include orange-button;
7 7
8 &.focus-visible,
9 &:focus {
10 box-shadow: none;
11 }
12
8 border-radius: 0; 13 border-radius: 0;
9} 14}
10 15