mirror of https://github.com/FreeTubeApp/FreeTube
33 lines
695 B
Vue
33 lines
695 B
Vue
<template>
|
|
<div
|
|
ref="search"
|
|
>
|
|
<ft-loader
|
|
v-if="isLoading"
|
|
:fullscreen="true"
|
|
/>
|
|
<ft-card
|
|
v-else
|
|
class="card"
|
|
>
|
|
<h2>{{ $t("Search Filters.Search Results") }}</h2>
|
|
<ft-element-list
|
|
:data="shownResults"
|
|
/>
|
|
<div
|
|
class="getNextPage"
|
|
role="button"
|
|
tabindex="0"
|
|
@click="nextPage"
|
|
@keydown.enter.prevent="nextPage"
|
|
@keydown.space.prevent="nextPage"
|
|
>
|
|
<font-awesome-icon :icon="['fas', 'search']" /> {{ $t("Search Filters.Fetch more results") }}
|
|
</div>
|
|
</ft-card>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./Search.js" />
|
|
<style scoped src="./Search.css" />
|