diff options
Diffstat (limited to 'client/src/app/shared/shared-instance')
8 files changed, 10 insertions, 16 deletions
diff --git a/client/src/app/shared/shared-instance/feature-boolean.component.scss b/client/src/app/shared/shared-instance/feature-boolean.component.scss index 56d08af06..8683ecc55 100644 --- a/client/src/app/shared/shared-instance/feature-boolean.component.scss +++ b/client/src/app/shared/shared-instance/feature-boolean.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables' as *; |
2 | @import '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | .glyphicon-ok { | 4 | .glyphicon-ok { |
5 | color: $green; | 5 | color: $green; |
diff --git a/client/src/app/shared/shared-instance/instance-about-accordion.component.scss b/client/src/app/shared/shared-instance/instance-about-accordion.component.scss index 615e08bcc..be6099a97 100644 --- a/client/src/app/shared/shared-instance/instance-about-accordion.component.scss +++ b/client/src/app/shared/shared-instance/instance-about-accordion.component.scss | |||
@@ -1,9 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables' as *; |
2 | @import '_mixins'; | 2 | @use '_mixins' as *; |
3 | @import './_bootstrap-variables'; | ||
4 | |||
5 | @import '~bootstrap/scss/functions'; | ||
6 | @import '~bootstrap/scss/variables'; | ||
7 | 3 | ||
8 | .instance-name { | 4 | .instance-name { |
9 | line-height: 1.7rem; | 5 | line-height: 1.7rem; |
@@ -19,7 +15,6 @@ | |||
19 | .block { | 15 | .block { |
20 | font-size: 15px; | 16 | font-size: 15px; |
21 | margin-bottom: 15px; | 17 | margin-bottom: 15px; |
22 | padding: 0 $btn-padding-x; | ||
23 | } | 18 | } |
24 | 19 | ||
25 | ngb-accordion ::ng-deep { | 20 | ngb-accordion ::ng-deep { |
diff --git a/client/src/app/shared/shared-instance/instance-about-accordion.component.ts b/client/src/app/shared/shared-instance/instance-about-accordion.component.ts index ab75c31ae..8e7bf2021 100644 --- a/client/src/app/shared/shared-instance/instance-about-accordion.component.ts +++ b/client/src/app/shared/shared-instance/instance-about-accordion.component.ts | |||
@@ -23,7 +23,6 @@ export class InstanceAboutAccordionComponent implements OnInit { | |||
23 | 23 | ||
24 | about: About | 24 | about: About |
25 | aboutHtml = { | 25 | aboutHtml = { |
26 | description: '', | ||
27 | terms: '', | 26 | terms: '', |
28 | codeOfConduct: '', | 27 | codeOfConduct: '', |
29 | moderationInformation: '', | 28 | moderationInformation: '', |
diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.html b/client/src/app/shared/shared-instance/instance-features-table.component.html index d505b6739..3fc5920b5 100644 --- a/client/src/app/shared/shared-instance/instance-features-table.component.html +++ b/client/src/app/shared/shared-instance/instance-features-table.component.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <div class="feature-table"> | 1 | <div *ngIf="serverConfig" class="feature-table"> |
2 | 2 | ||
3 | <table class="table" *ngIf="serverConfig"> | 3 | <table class="table" *ngIf="serverConfig"> |
4 | <caption i18n>Features found on this instance</caption> | 4 | <caption i18n>Features found on this instance</caption> |
diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.scss b/client/src/app/shared/shared-instance/instance-features-table.component.scss index 11cf11616..d8efd8cdf 100644 --- a/client/src/app/shared/shared-instance/instance-features-table.component.scss +++ b/client/src/app/shared/shared-instance/instance-features-table.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @import '_variables'; | 1 | @use '_variables' as *; |
2 | @import '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | table { | 4 | table { |
5 | font-size: 14px; | 5 | font-size: 14px; |
@@ -12,8 +12,9 @@ table { | |||
12 | } | 12 | } |
13 | 13 | ||
14 | &.sub-label { | 14 | &.sub-label { |
15 | @include padding-left(30px); | ||
16 | |||
15 | font-weight: $font-regular; | 17 | font-weight: $font-regular; |
16 | padding-left: 30px; | ||
17 | } | 18 | } |
18 | 19 | ||
19 | .more-info { | 20 | .more-info { |
diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.ts b/client/src/app/shared/shared-instance/instance-features-table.component.ts index c3b3dfdfd..6335de450 100644 --- a/client/src/app/shared/shared-instance/instance-features-table.component.ts +++ b/client/src/app/shared/shared-instance/instance-features-table.component.ts | |||
@@ -40,7 +40,6 @@ export class InstanceFeaturesTableComponent implements OnInit { | |||
40 | } | 40 | } |
41 | 41 | ||
42 | ngOnInit () { | 42 | ngOnInit () { |
43 | this.serverConfig = this.serverService.getTmpConfig() | ||
44 | this.serverService.getConfig() | 43 | this.serverService.getConfig() |
45 | .subscribe(config => { | 44 | .subscribe(config => { |
46 | this.serverConfig = config | 45 | this.serverConfig = config |
diff --git a/client/src/app/shared/shared-instance/instance.service.ts b/client/src/app/shared/shared-instance/instance.service.ts index 0a30446df..70e022178 100644 --- a/client/src/app/shared/shared-instance/instance.service.ts +++ b/client/src/app/shared/shared-instance/instance.service.ts | |||
@@ -40,7 +40,6 @@ export class InstanceService { | |||
40 | 40 | ||
41 | async buildHtml (about: About) { | 41 | async buildHtml (about: About) { |
42 | const html = { | 42 | const html = { |
43 | description: '', | ||
44 | terms: '', | 43 | terms: '', |
45 | codeOfConduct: '', | 44 | codeOfConduct: '', |
46 | moderationInformation: '', | 45 | moderationInformation: '', |
diff --git a/client/src/app/shared/shared-instance/shared-instance.module.ts b/client/src/app/shared/shared-instance/shared-instance.module.ts index 13c681ab8..5efb95a7d 100644 --- a/client/src/app/shared/shared-instance/shared-instance.module.ts +++ b/client/src/app/shared/shared-instance/shared-instance.module.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | 1 | ||
2 | import { NgModule } from '@angular/core' | 2 | import { NgModule } from '@angular/core' |
3 | import { NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap' | 3 | import { NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap' |
4 | import { SharedCustomMarkupModule } from '../shared-custom-markup' | ||
4 | import { SharedMainModule } from '../shared-main/shared-main.module' | 5 | import { SharedMainModule } from '../shared-main/shared-main.module' |
5 | import { FeatureBooleanComponent } from './feature-boolean.component' | 6 | import { FeatureBooleanComponent } from './feature-boolean.component' |
6 | import { InstanceAboutAccordionComponent } from './instance-about-accordion.component' | 7 | import { InstanceAboutAccordionComponent } from './instance-about-accordion.component' |