mirror of
https://github.com/Luzifer/ots.git
synced 2024-12-18 12:04:35 -05:00
parent
73209fc52c
commit
48bf8c9ca4
@ -40,6 +40,13 @@ type (
|
||||
MetricsAllowedSubnets []string `json:"-" yaml:"metricsAllowedSubnets"`
|
||||
OverlayFSPath string `json:"-" yaml:"overlayFSPath"`
|
||||
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"`
|
||||
}
|
||||
)
|
||||
|
||||
|
19
src/app.vue
19
src/app.vue
@ -24,13 +24,24 @@
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="!$root.customize.disablePoweredBy"
|
||||
class="row mt-4"
|
||||
>
|
||||
<div class="col form-text text-center">
|
||||
{{ $t('text-powered-by') }}
|
||||
<a href="https://github.com/Luzifer/ots"><i class="fab fa-github" /> OTS</a>
|
||||
{{ $root.version }}
|
||||
<span
|
||||
v-if="!$root.customize.disablePoweredBy"
|
||||
class="mx-2"
|
||||
>
|
||||
{{ $t('text-powered-by') }}
|
||||
<a href="https://github.com/Luzifer/ots"><i class="fab fa-github" /> OTS</a>
|
||||
{{ $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>
|
||||
|
Loading…
Reference in New Issue
Block a user