mirror of
https://github.com/owntracks/frontend.git
synced 2026-08-25 20:47:16 +00:00
Update information modal
This commit is contained in:
+12
-4
@@ -8,26 +8,32 @@
|
||||
Not implemented.
|
||||
</modal>
|
||||
<modal name="information" adaptive>
|
||||
<ul>
|
||||
<ul class="info-list">
|
||||
<li>
|
||||
<GithubIcon size="1x" />
|
||||
<a href="https://github.com/owntracks/frontend">
|
||||
owntracks/frontend
|
||||
</a>
|
||||
({{ frontendVersion }})
|
||||
</li>
|
||||
<li>
|
||||
<GithubIcon size="1x" />
|
||||
<a href="https://github.com/owntracks/recorder">
|
||||
owntracks/recorder
|
||||
</a>
|
||||
({{ recorderVersion }})
|
||||
</li>
|
||||
<li>
|
||||
<BookIcon size="1x" />
|
||||
<a href="https://owntracks.org/booklet/">
|
||||
OwnTracks Recorder Documentation
|
||||
OwnTracks Documentation
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://twitter.com/OwnTracks">@OwnTracks</a>
|
||||
<TwitterIcon size="1x" />
|
||||
<a href="https://twitter.com/OwnTracks">
|
||||
OwnTracks on Twitter
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</modal>
|
||||
@@ -36,12 +42,14 @@
|
||||
|
||||
<script>
|
||||
import { mapActions, mapState } from "vuex";
|
||||
import { BookIcon, GithubIcon, TwitterIcon } from "vue-feather-icons";
|
||||
|
||||
import config from "@/config";
|
||||
import * as types from "@/store/mutation-types";
|
||||
import AppHeader from "@/components/AppHeader";
|
||||
|
||||
export default {
|
||||
components: { AppHeader },
|
||||
components: { BookIcon, GithubIcon, TwitterIcon, AppHeader },
|
||||
created() {
|
||||
document.documentElement.style.setProperty(
|
||||
"--color-primary",
|
||||
|
||||
@@ -79,6 +79,25 @@ ul {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
ul.info-list {
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
.feather {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
& + li {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.button,
|
||||
|
||||
Reference in New Issue
Block a user