This commit is contained in:
Daan Wijns 2020-10-28 15:19:54 +01:00 committed by GitHub
parent 0b4b234b4b
commit e509d3b4a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 55 additions and 53 deletions

View file

@ -1,6 +1,6 @@
{
"name": "vuetorrent",
"version": "0.4.2",
"version": "0.4.3",
"private": true,
"scripts": {
"start" : "npm run serve",

View file

@ -2,7 +2,7 @@
<v-dialog
v-model="dialog"
scrollable
width="85%"
width="75%"
:fullscreen="phoneLayout"
>
<v-card style="min-height: 400px; overflow: hidden !important">

View file

@ -1,5 +1,5 @@
<template>
<v-container class="pa-3 ma-2">
<v-container>
<v-card flat>
<v-card-text :style="{ minHeight: phoneLayout ? '' : '75vh'}">
<h3>Privacy</h3>

View file

@ -1,5 +1,5 @@
<template>
<v-container class="pa-3 ma-2">
<v-container>
<v-card flat>
<v-card-text :style="{ minHeight: phoneLayout ? '' : '75vh'}">
<h3>When adding a torrent</h3>

View file

@ -1,15 +1,17 @@
<template>
<v-container>
<v-card flat>
<v-card-text
class="mx-auto mt-5"
style="font-size: 1.1em;"
:style="{ minHeight: phoneLayout ? '' : '75vh'}"
>
<v-layout class="mx-auto" row wrap>
<v-flex xs12 sm12>
<v-layout row wrap>
<v-flex class="mx-auto text-center" xs12 md6>
<div>
<h3>Available Tags:</h3>
</v-flex>
<v-flex xs12 sm12 class="mt-3 d-flex flex-wrap">
</div>
<div class="mt-3 d-flex flex-wrap justify-center">
<v-chip
v-for="tag in availableTags"
:key="tag"
@ -19,24 +21,24 @@
>
{{ tag }}
</v-chip>
</v-flex>
</v-layout>
<v-card-actions class="justify-center pb-5">
<v-btn text class="error white--text mt-3" @click="deleteTag"
>Delete</v-btn
>
<v-btn
text
class="green_accent white--text mt-3"
@click="createTag"
>Create new</v-btn
>
</v-card-actions>
<v-layout class="mx-auto" row wrap>
<v-flex xs12 sm12>
</div>
<v-card-actions class="justify-center pb-5">
<v-btn text class="error white--text mt-3" @click="deleteTag"
>Delete</v-btn
>
<v-btn
text
class="green_accent white--text mt-3"
@click="createTag"
>Create new</v-btn
>
</v-card-actions>
</v-flex>
<v-flex class="mx-auto text-center" xs12 md6>
<div>
<h3>Available Categories:</h3>
</v-flex>
<v-flex class="d-flex flex-wrap mt-3" xs12 sm12>
</div>
<div class="d-flex flex-wrap mt-3 justify-center" xs12 sm12>
<v-chip
v-for="cat in availableCategories"
:key="cat.name"
@ -48,24 +50,26 @@
>
{{ cat.name }}
</v-chip>
</v-flex>
</v-layout>
<v-card-actions class="justify-center pb-5">
<v-btn
text
class="error white--text mt-3"
@click="deleteCategory"
>Delete</v-btn
>
<v-btn
text
class="green_accent white--text mt-3"
@click="createCategory"
>Create new</v-btn
>
</v-card-actions>
</div>
<v-card-actions class="justify-center pb-5">
<v-btn
text
class="error white--text mt-3"
@click="deleteCategory"
>Delete</v-btn
>
<v-btn
text
class="green_accent white--text mt-3"
@click="createCategory"
>Create new</v-btn
>
</v-card-actions>
</v-flex>
</v-layout>
</v-card-text>
</v-card>
</v-container>
</template>
<script>

View file

@ -1,6 +1,5 @@
<template>
<div class="ma-1">
<v-card flat style="width: 100vh">
<v-card flat>
<v-card-text :style="{ minHeight: phoneLayout ? '' : '75vh'}">
<v-tabs v-model="tab">
<v-tab href="#general">General</v-tab>
@ -10,16 +9,15 @@
v-model="tab"
:touch="updateTab(tab)"
>
<v-tab-item style="width: 100vh" value="general">
<v-tab-item value="general">
<General :is-active="tab === 'downloads'" />
</v-tab-item>
<v-tab-item style="width: 100vh" value="dashboard">
<v-tab-item value="dashboard">
<Dashboard :is-active="tab === 'bittorrent'" />
</v-tab-item>
</v-tabs-items>
</v-card-text>
</v-card>
</div>
</template>
<script>

View file

@ -1,6 +1,6 @@
<template>
<div class="ma-2">
<v-card flat style="width: 100vh">
<v-container class="mx-1 px-0">
<v-card flat>
<v-card-text class="pa-0" style="font-size: 1.1em">
<div class="box">
<v-subheader
@ -62,10 +62,10 @@
>
</v-switch>
<v-row dense>
<v-col cols="10" sm="10" md="10">
<v-col cols="8" sm="8" md="10">
<p class="subtitle-1">Pagination size:</p>
</v-col>
<v-col cols="2" sm="2" md="2">
<v-col cols="4" sm="4" md="2">
<v-select
class="pa-0 ma-0"
color="green_accent"
@ -87,7 +87,7 @@
</div>
</v-card-text>
</v-card>
</div>
</v-container>
</template>
<script>

View file

@ -1,5 +1,5 @@
<template>
<div class="ma-3 pa-2">
<v-container>
<v-card flat>
<v-card-text class="pa-0" style="font-size: 1.1em"
:style="{ minHeight: phoneLayout ? '' : '75vh'}"
@ -51,7 +51,7 @@
</div>
</v-card-text>
</v-card>
</div>
</v-container>
</template>
<script>