parent
73209fc52c
commit
48bf8c9ca4
2 changed files with 22 additions and 4 deletions
|
@ -40,6 +40,13 @@ type (
|
||||||
MetricsAllowedSubnets []string `json:"-" yaml:"metricsAllowedSubnets"`
|
MetricsAllowedSubnets []string `json:"-" yaml:"metricsAllowedSubnets"`
|
||||||
OverlayFSPath string `json:"-" yaml:"overlayFSPath"`
|
OverlayFSPath string `json:"-" yaml:"overlayFSPath"`
|
||||||
UseFormalLanguage bool `json:"-" yaml:"useFormalLanguage"`
|
UseFormalLanguage bool `json:"-" yaml:"useFormalLanguage"`
|
||||||
|
|
||||||
|
FooterLinks []FooterLink `json:"footerLinks,omitempty" yaml:"footerLinks"`
|
||||||
|
}
|
||||||
|
|
||||||
|
FooterLink struct {
|
||||||
|
Name string `json:"name" yaml:"name"`
|
||||||
|
URL string `json:"url" yaml:"url"`
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
13
src/app.vue
13
src/app.vue
|
@ -24,13 +24,24 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="!$root.customize.disablePoweredBy"
|
|
||||||
class="row mt-4"
|
class="row mt-4"
|
||||||
>
|
>
|
||||||
<div class="col form-text text-center">
|
<div class="col form-text text-center">
|
||||||
|
<span
|
||||||
|
v-if="!$root.customize.disablePoweredBy"
|
||||||
|
class="mx-2"
|
||||||
|
>
|
||||||
{{ $t('text-powered-by') }}
|
{{ $t('text-powered-by') }}
|
||||||
<a href="https://github.com/Luzifer/ots"><i class="fab fa-github" /> OTS</a>
|
<a href="https://github.com/Luzifer/ots"><i class="fab fa-github" /> OTS</a>
|
||||||
{{ $root.version }}
|
{{ $root.version }}
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
v-for="link in $root.customize.footerLinks"
|
||||||
|
:key="link.url"
|
||||||
|
class="mx-2"
|
||||||
|
>
|
||||||
|
<a :href="link.url">{{ link.name }}</a>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue