Finish base discovery view
This commit is contained in:
parent
318530da00
commit
6433b5d902
@ -5,7 +5,7 @@
|
|||||||
<router-link to="/discover">
|
<router-link to="/discover">
|
||||||
<NcAppNavigationNew :text="t('repod', 'Add a podcast')">
|
<NcAppNavigationNew :text="t('repod', 'Add a podcast')">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<Plus :size="20" />
|
<Plus size="20" />
|
||||||
</template>
|
</template>
|
||||||
</NcAppNavigationNew>
|
</NcAppNavigationNew>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
@ -10,6 +10,8 @@ __webpack_public_path__ = generateFilePath(appName, '', 'js/')
|
|||||||
|
|
||||||
Vue.mixin({ methods: { t, n } })
|
Vue.mixin({ methods: { t, n } })
|
||||||
Vue.use(Plugin)
|
Vue.use(Plugin)
|
||||||
|
Vue.prototype.OC = window.OC
|
||||||
|
Vue.prototype.OCA = window.OCA
|
||||||
|
|
||||||
export default new Vue({
|
export default new Vue({
|
||||||
el: '#content',
|
el: '#content',
|
||||||
|
@ -2,23 +2,33 @@
|
|||||||
<div class="main">
|
<div class="main">
|
||||||
<p>
|
<p>
|
||||||
<NcTextField :value.sync="search" :label="t('repod', 'Find a podcast')">
|
<NcTextField :value.sync="search" :label="t('repod', 'Find a podcast')">
|
||||||
<Magnify />
|
<Magnify size="20" />
|
||||||
</NcTextField>
|
</NcTextField>
|
||||||
</p>
|
</p>
|
||||||
<Top v-if="!search" />
|
<Top v-if="!search" />
|
||||||
|
<ul v-if="!search">
|
||||||
|
<NcAppNavigationNewItem :title="t('', 'Add a RSS link')">
|
||||||
|
<template #icon>
|
||||||
|
<Plus size="20" />
|
||||||
|
</template>
|
||||||
|
</NcAppNavigationNewItem>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { NcAppNavigationNewItem, NcTextField } from '@nextcloud/vue'
|
||||||
import Magnify from 'vue-material-design-icons/Magnify.vue'
|
import Magnify from 'vue-material-design-icons/Magnify.vue'
|
||||||
import { NcTextField } from '@nextcloud/vue'
|
import Plus from 'vue-material-design-icons/Plus.vue'
|
||||||
import Top from '../components/Top.vue'
|
import Top from '../components/Top.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Discover',
|
name: 'Discover',
|
||||||
components: {
|
components: {
|
||||||
Magnify,
|
Magnify,
|
||||||
|
NcAppNavigationNewItem,
|
||||||
NcTextField,
|
NcTextField,
|
||||||
|
Plus,
|
||||||
Top,
|
Top,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
Loading…
Reference in New Issue
Block a user