Pre-release versions toggle
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
||||||
import {IonButton, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonInput} from "@ionic/vue";
|
import {IonButton, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonInput, IonToggle} from "@ionic/vue";
|
||||||
|
|
||||||
const emit = defineEmits<{(e: "disconnect"): void, (e: "back"): void}>();
|
const emit = defineEmits<{(e: "disconnect"): void, (e: "back"): void}>();
|
||||||
|
|
||||||
@@ -28,9 +28,13 @@ const back = () => {
|
|||||||
</ion-card-header>
|
</ion-card-header>
|
||||||
|
|
||||||
<ion-card-content>
|
<ion-card-content>
|
||||||
<ion-input label="Source" placeholder="https://git.example.com/user/repo"></ion-input>
|
<ion-input label="Source" placeholder="https://git.example.com/user/repo/releases.rss"></ion-input>
|
||||||
<ion-button>Set source</ion-button>
|
<ion-button>Set source</ion-button>
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
|
<ion-toggle>Allow pre-release versions</ion-toggle>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
<ion-button @click="back">Back</ion-button>
|
<ion-button @click="back">Back</ion-button>
|
||||||
</ion-card-content>
|
</ion-card-content>
|
||||||
</ion-card>
|
</ion-card>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ const showArchive = () => {
|
|||||||
|
|
||||||
const goBack = () => {
|
const goBack = () => {
|
||||||
shownCard.value = prevCard;
|
shownCard.value = prevCard;
|
||||||
prevCard = 0;
|
prevCard = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
const showDetails = () => {
|
const showDetails = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user