Dodano przycisk PayPal

This commit is contained in:
2021-06-20 15:30:34 +02:00
parent b0f6e7dc8a
commit 9e8e592d16
3 changed files with 38 additions and 58 deletions
+4 -7
View File
@@ -20,6 +20,7 @@ git <template>
</span> </span>
<span class="brand_lang"> <span class="brand_lang">
<span <span
class="lang pl" class="lang pl"
@click="changeLang('en')" @click="changeLang('en')"
@@ -100,13 +101,8 @@ git <template>
> >
Spythere Spythere
</a> </a>
2021 | v{{ VERSION }} | [ 2021 | v{{ VERSION }}
<a
target="_blank"
href="https://paypal.me/spythere"
>{{ $t("app.support") }}!
</a>
]
</footer> </footer>
</div> </div>
</div> </div>
@@ -378,5 +374,6 @@ footer.app_footer {
color: white; color: white;
text-align: center; text-align: center;
vertical-align: middle;
} }
</style> </style>
+2
View File
@@ -137,6 +137,8 @@ input {
} }
a { a {
display: inline-block;
color: white; color: white;
text-decoration: none; text-decoration: none;
+32 -51
View File
@@ -1,6 +1,9 @@
<template> <template>
<div class="stations-view"> <div class="stations-view">
<DonationModal :modalHidden="modalHidden" @toggleModal="toggleModal" /> <DonationModal
:modalHidden="modalHidden"
@toggleModal="toggleModal"
/>
<div class="wrapper"> <div class="wrapper">
<div class="body"> <div class="body">
@@ -13,29 +16,20 @@
/> />
<p>{{ $t("options.filters") }}</p> <p>{{ $t("options.filters") }}</p>
</action-button> </action-button>
</div>
<!--
<div class="bar_indicators">
<transition name="indicator-anim">
<span
class="indicator_scenery-data"
v-if="data.dataConnectionStatus < 2"
:class="dataStatusClass"
>
<img :src="trainIcon" alt="icon-train" />
</span>
</transition>
<transition name="indicator-anim"> <div class="paypal-link">
<span <a
class="indicator_timetable-data" target="_blank"
v-if="data.timetableDataStatus < 2" href="https://paypal.me/spythere"
:class="timetableDataStatusClass"
> >
<img :src="timetableIcon" alt="icon-timetable" /> <img
</span> src="https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white"
</transition> alt="PayPal image"
</div> --> style="width: 7em"
>
</a>
</div>
</div>
<StationTable <StationTable
:stations="computedStations" :stations="computedStations"
@@ -255,47 +249,34 @@ export default class StationsView extends Vue {
} }
.body { .body {
margin: 0 auto; max-width: 100%;
overflow: auto;
} }
.options-bar { .options-bar {
display: flex; display: flex;
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
// .bar_indicators { .paypal-link {
// border: 1px solid red; flex-grow: 2;
text-align: right;
// & > span { img {
// margin-left: 0.5em; vertical-align: middle;
// padding: 0.5em 0.5em; border-radius: 0.5em;
transition: box-shadow 150ms;
}
// // background-color: #e68e00; a:hover img,
// border-radius: 1em 1em 0 0; a:focus img {
box-shadow: 0 0 10px 3px #0f62ce;
// &.loading { }
// background-color: $accentCol; }
// }
// &.error {
// background-color: $errorCol;
// }
// &.success {
// background-color: $secondaryCol;
// }
// & > img {
// width: 1.7em;
// animation: blinkAnim 2s ease-in-out infinite forwards;
// }
// }
// }
@include smallScreen { @include smallScreen {
.options-bar { .options-bar {
font-size: 1.2em; font-size: 1.1em;
} }
} }
</style> </style>