mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 13:37:23 +00:00
Restyle feed page (#410)
This commit is contained in:
parent
c97a0ef6c6
commit
7211cad369
@ -1,12 +1,23 @@
|
|||||||
<template>
|
<template>
|
||||||
<h1 class="uk-text-bold uk-text-center" v-t="'titles.feed'" />
|
<h1 class="uk-text-bold uk-text-center" v-t="'titles.feed'" />
|
||||||
|
|
||||||
<small>You can import subscriptions from <router-link to="/import">here</router-link>.</small>
|
<button
|
||||||
|
v-if="authenticated"
|
||||||
|
@click="exportHandler"
|
||||||
|
class="uk-button uk-button-small"
|
||||||
|
style="background: #222; margin-right: 0.5rem"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<router-link to="/subscriptions">
|
||||||
|
Subscriptions
|
||||||
|
</router-link>
|
||||||
|
</button>
|
||||||
|
|
||||||
<br />
|
<span>
|
||||||
<router-link to="/subscriptions" class="uk-text-center" v-t="'actions.view_subscriptions'" />
|
<a :href="getRssUrl"><font-awesome-icon icon="rss"></font-awesome-icon></a>
|
||||||
|
</span>
|
||||||
|
|
||||||
<br />
|
<span class="uk-align-right">
|
||||||
{{ $t("actions.sort_by") }}
|
{{ $t("actions.sort_by") }}
|
||||||
<select class="uk-select uk-width-auto" v-model="selectedSort" @change="onChange()">
|
<select class="uk-select uk-width-auto" v-model="selectedSort" @change="onChange()">
|
||||||
<option value="descending" v-t="'actions.most_recent'" />
|
<option value="descending" v-t="'actions.most_recent'" />
|
||||||
@ -14,10 +25,7 @@
|
|||||||
<option value="channel_ascending" v-t="'actions.channel_name_asc'" />
|
<option value="channel_ascending" v-t="'actions.channel_name_asc'" />
|
||||||
<option value="channel_descending" v-t="'actions.channel_name_desc'" />
|
<option value="channel_descending" v-t="'actions.channel_name_desc'" />
|
||||||
</select>
|
</select>
|
||||||
|
</span>
|
||||||
<div class="uk-align-right">
|
|
||||||
<a :href="getRssUrl"><font-awesome-icon icon="rss"></font-awesome-icon></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
@ -1,6 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<h1 class="uk-text-bold uk-text-center">Subscriptions</h1>
|
<h1 class="uk-text-bold uk-text-center">Subscriptions</h1>
|
||||||
|
|
||||||
|
<button
|
||||||
|
v-if="authenticated"
|
||||||
|
@click="exportHandler"
|
||||||
|
class="uk-button uk-button-small"
|
||||||
|
style="background: #222"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<router-link to="/import">
|
||||||
|
Import from JSON
|
||||||
|
</router-link>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
<button
|
<button
|
||||||
v-if="authenticated"
|
v-if="authenticated"
|
||||||
@click="exportHandler"
|
@click="exportHandler"
|
||||||
|
Loading…
Reference in New Issue
Block a user