Update information modal

This commit is contained in:
Linus Groh
2019-09-28 19:16:29 +01:00
parent a443393bba
commit cf993d11dd
2 changed files with 31 additions and 4 deletions
+12 -4
View File
@@ -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",
+19
View File
@@ -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,