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