aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-03-11 19:38:17 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-03-11 19:38:17 +0100
commit45e0d6697c107d77dce73d8e354867dc1959741d (patch)
tree6acff1e8fdc59ed396a3da4439461d4a475ee8b5 /client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
parent111fdc267b36201cf1be1fdf91017005102b4a5e (diff)
downloadPeerTube-45e0d6697c107d77dce73d8e354867dc1959741d.tar.gz
PeerTube-45e0d6697c107d77dce73d8e354867dc1959741d.tar.zst
PeerTube-45e0d6697c107d77dce73d8e354867dc1959741d.zip
Properly scroll to anchors in links, especially in admin config
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html18
1 files changed, 11 insertions, 7 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
index be89d8294..b3b4f7728 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
+++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
@@ -1,8 +1,8 @@
1<form role="form" [formGroup]="form"> 1<form role="form" [formGroup]="form">
2 2
3 <ngb-tabset class="root-tabset bootstrap"> 3 <ngb-tabset #tabs class="root-tabset bootstrap">
4 4
5 <ngb-tab i18n-title title="Instance information"> 5 <ngb-tab id="instance-information" i18n-title title="Instance information">
6 <ng-template ngbTabContent> 6 <ng-template ngbTabContent>
7 7
8 <ng-container formGroupName="instance"> 8 <ng-container formGroupName="instance">
@@ -210,7 +210,7 @@
210 210
211 <div class="form-group"> 211 <div class="form-group">
212 <label i18n for="instanceHardwareInformation">What server/hardware does the instance run on?</label> 212 <label i18n for="instanceHardwareInformation">What server/hardware does the instance run on?</label>
213 <div i18n class="label-small-info">2vCore 2GB RAM/or directly the link to the server you rent etc</div> 213 <div i18n class="label-small-info">i.e. 2vCore 2GB RAM, a direct the link to the server you rent, etc.</div>
214 214
215 <my-markdown-textarea 215 <my-markdown-textarea
216 name="instanceHardwareInformation" formControlName="hardwareInformation" textareaWidth="500px" textareaHeight="75px" [previewColumn]="true" 216 name="instanceHardwareInformation" formControlName="hardwareInformation" textareaWidth="500px" textareaHeight="75px" [previewColumn]="true"
@@ -227,14 +227,14 @@
227 </ng-template> 227 </ng-template>
228 </ngb-tab> 228 </ngb-tab>
229 229
230 <ngb-tab i18n-title title="Basic configuration"> 230 <ngb-tab id="basic-configuration" i18n-title title="Basic configuration">
231 <ng-template ngbTabContent> 231 <ng-template ngbTabContent>
232 232
233 <div class="form-row mt-5"> <!-- appearance grid --> 233 <div class="form-row mt-5"> <!-- appearance grid -->
234 <div class="form-group col-12 col-lg-4 col-xl-3"> 234 <div class="form-group col-12 col-lg-4 col-xl-3">
235 <div i18n class="inner-form-title">APPEARANCE</div> 235 <div i18n class="inner-form-title">APPEARANCE</div>
236 <div i18n class="inner-for-description"> 236 <div i18n class="inner-for-description">
237 Use <a routerLink="/admin/plugins">plugins & themes</a> for more involved changes. 237 Use <a routerLink="/admin/plugins">plugins & themes</a> for more involved changes, or <a routerLink="/admin/config/edit-custom" fragment="customizations" (click)="gotoAnchor()">add slight customizations</a>.
238 </div> 238 </div>
239 </div> 239 </div>
240 240
@@ -391,6 +391,9 @@
391 <div class="form-row mt-4"> <!-- federation grid --> 391 <div class="form-row mt-4"> <!-- federation grid -->
392 <div class="form-group col-12 col-lg-4 col-xl-3"> 392 <div class="form-group col-12 col-lg-4 col-xl-3">
393 <div i18n class="inner-form-title">FEDERATION</div> 393 <div i18n class="inner-form-title">FEDERATION</div>
394 <div i18n class="inner-form-description">
395 Manage <a routerLink="/admin/follows">relations</a> with other instances.
396 </div>
394 </div> 397 </div>
395 398
396 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> 399 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
@@ -489,7 +492,7 @@
489 </ng-template> 492 </ng-template>
490 </ngb-tab> 493 </ngb-tab>
491 494
492 <ngb-tab i18n-title title="Services"> 495 <ngb-tab id="services" i18n-title title="Services">
493 <ng-template ngbTabContent> 496 <ng-template ngbTabContent>
494 497
495 <div class="form-row mt-5"> <!-- twitter grid --> 498 <div class="form-row mt-5"> <!-- twitter grid -->
@@ -542,7 +545,7 @@
542 </ng-template> 545 </ng-template>
543 </ngb-tab> 546 </ngb-tab>
544 547
545 <ngb-tab i18n-title title="Advanced configuration"> 548 <ngb-tab id="advanced-configuration" i18n-title title="Advanced configuration">
546 <ng-template ngbTabContent> 549 <ng-template ngbTabContent>
547 550
548 <div class="form-row mt-5"> <!-- transcoding grid --> 551 <div class="form-row mt-5"> <!-- transcoding grid -->
@@ -718,6 +721,7 @@
718 721
719 <div class="form-row mt-4"> <!-- cache grid --> 722 <div class="form-row mt-4"> <!-- cache grid -->
720 <div class="form-group col-12 col-lg-4 col-xl-3"> 723 <div class="form-group col-12 col-lg-4 col-xl-3">
724 <div class="anchor" id="customizations"></div> <!-- customizations anchor -->
721 <div i18n class="inner-form-title">CUSTOMIZATIONS</div> 725 <div i18n class="inner-form-title">CUSTOMIZATIONS</div>
722 <div i18n class="inner-form-description"> 726 <div i18n class="inner-form-description">
723 Slight modifications to your PeerTube instance for when creating a plugin or theme is overkill. 727 Slight modifications to your PeerTube instance for when creating a plugin or theme is overkill.