fix pug indent issue
This commit is contained in:
parent
baeb141ccd
commit
1ca44cf048
31 changed files with 888 additions and 894 deletions
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
#calendar
|
||||
#calendar
|
||||
vc-date-picker(
|
||||
v-model='selectedDate'
|
||||
title-position='left'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
<template lang="pug">
|
||||
v-dialog(v-model='show'
|
||||
v-dialog(v-model='show'
|
||||
:fullscreen='$vuetify.breakpoint.xsOnly'
|
||||
:color='options.color'
|
||||
:title='title'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
v-container
|
||||
v-card-title.text-h5 Database
|
||||
v-card-text
|
||||
v-form
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
.editor(:class='focused')
|
||||
.editor(:class='focused')
|
||||
.label {{label}}
|
||||
editor-menu-bar.menubar.is-hidden(:editor='editor'
|
||||
:keep-in-bounds='true' v-slot='{ commands, isActive, getMarkAttrs, focused }')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-card.h-event.event.d-flex(itemscope itemtype="https://schema.org/Event")
|
||||
v-card.h-event.event.d-flex(itemscope itemtype="https://schema.org/Event")
|
||||
nuxt-link(:to='`/event/${event.slug || event.id}`' itemprop="url")
|
||||
MyPicture(:event='event' thumb :lazy='lazy')
|
||||
v-icon.float-right.mr-1(v-if='event.parentId' color='success' v-text='mdiRepeat')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
v-card
|
||||
v-card
|
||||
v-card-title(v-text="$t('common.follow_me_title')")
|
||||
v-card-text
|
||||
p(v-html="$t('event.follow_me_description', { title: settings.title, account: `@${settings.instance_name}@${settings.hostname}`})")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-footer(aria-label='Footer')
|
||||
v-footer(aria-label='Footer')
|
||||
|
||||
v-dialog(v-model='showFollowMe' destroy-on-close max-width='700px' :fullscreen='$vuetify.breakpoint.xsOnly')
|
||||
FollowMe(@close='showFollowMe=false' is-dialog)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-card
|
||||
v-card
|
||||
v-card-title {{$t('common.import')}}
|
||||
v-card-text
|
||||
p(v-html="$t('event.import_description')")
|
||||
|
@ -30,7 +30,6 @@
|
|||
<script>
|
||||
import ical from 'ical.js'
|
||||
import get from 'lodash/get'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'ImportDialog',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
.loading-page(:class='{ loading }')
|
||||
.loading-page(:class='{ loading }')
|
||||
v-progress-circular(:size="100" :width="10" style='color: orangered;' indeterminate)
|
||||
</template>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
span
|
||||
span
|
||||
v-dialog(v-model='openMediaDetails' :fullscreen="$vuetify.breakpoint.xsOnly" width='1000px')
|
||||
v-card
|
||||
v-card-title {{$t('common.media')}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
v-snackbar(
|
||||
v-snackbar(
|
||||
v-model="active"
|
||||
:color="color"
|
||||
:bottom="bottom"
|
||||
|
@ -19,7 +19,7 @@ import { mdiAlert, mdiCloseCircle, mdiInformation } from '@mdi/js'
|
|||
export default {
|
||||
data () {
|
||||
return {
|
||||
mdiAlert, mdiAlert, mdiCloseCircle, mdiInformation,
|
||||
mdiAlert, mdiCloseCircle, mdiInformation,
|
||||
icon: mdiInformation,
|
||||
color: 'secondary',
|
||||
bottom: true,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
v-container
|
||||
v-container
|
||||
v-card-title {{$t('common.announcements')}}
|
||||
v-card-subtitle(v-html="$t('admin.announcement_description')")
|
||||
v-dialog(v-model='dialog' width='800px' :fullscreen='$vuetify.breakpoint.xsOnly')
|
||||
|
@ -29,7 +29,6 @@
|
|||
:color='item.visible?"warning":"success"') {{item.visible?$t('common.disable'):$t('common.enable')}}
|
||||
v-btn(text small @click='edit(item)' color='primary') {{$t('common.edit')}}
|
||||
v-btn(text small @click='remove(item)' color='error') {{$t('common.delete')}}
|
||||
|
||||
</template>
|
||||
<script>
|
||||
import { mapActions } from 'vuex'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
v-container
|
||||
v-container
|
||||
v-card-title {{$t('common.events')}}
|
||||
v-card-subtitle {{$t('admin.event_confirm_description')}}
|
||||
v-card-text
|
||||
|
@ -15,7 +15,6 @@
|
|||
v-btn(text small :to='`/add/${item.id}`' color='warning') {{$t('common.edit')}}
|
||||
v-btn(text small @click='remove(item)'
|
||||
color='error') {{$t('common.delete')}}
|
||||
|
||||
</template>
|
||||
<script>
|
||||
import { mdiChevronLeft, mdiChevronRight } from '@mdi/js'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
v-container
|
||||
v-card-title {{$t('common.federation')}}
|
||||
v-card-text
|
||||
v-switch(v-model='enable_federation'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
v-container
|
||||
v-container
|
||||
v-card-title {{$t('common.moderation')}}
|
||||
v-card-text
|
||||
v-row
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-card
|
||||
v-card
|
||||
v-card-title SMTP Email configuration
|
||||
v-card-text
|
||||
p(v-html="$t('admin.smtp_description')")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
v-container
|
||||
v-card-title {{$t('common.settings')}}
|
||||
v-card-text
|
||||
|
||||
|
@ -57,7 +57,6 @@
|
|||
v-btn(text @click='$emit("complete")' color='primary' v-if='setup') {{$t('common.next')}}
|
||||
v-icon(v-text='mdiArrowRight')
|
||||
|
||||
|
||||
</template>
|
||||
<script>
|
||||
import SMTP from './SMTP.vue'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
v-container
|
||||
v-card-title {{$t('common.theme')}}
|
||||
v-card-text
|
||||
//- LOGO
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
v-container
|
||||
v-card-title {{$t('common.users')}}
|
||||
v-spacer
|
||||
v-text-field(v-model='search'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
v-app(app)
|
||||
v-app(app)
|
||||
Snackbar
|
||||
Confirm
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
v-app(app)
|
||||
v-app(app)
|
||||
Snackbar
|
||||
Confirm
|
||||
Nav
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container.container.pa-0.pa-md-3
|
||||
v-container.container.pa-0.pa-md-3
|
||||
v-card
|
||||
v-alert(v-if='url!==settings.baseurl' outlined type='warning' color='red' show-icon :icon='mdiAlert')
|
||||
span(v-html="$t('admin.wrong_domain_warning', { url, baseurl: settings.baseurl })")
|
||||
|
@ -52,7 +52,6 @@
|
|||
v-tab(v-if='settings.enable_federation') {{$t('common.moderation')}}
|
||||
v-tab-item
|
||||
Moderation
|
||||
|
||||
</template>
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
.d-flex.justify-space-around
|
||||
.d-flex.justify-space-around
|
||||
v-card.mt-5(max-width='600px')
|
||||
v-card-title {{settings.title}} - {{$t('common.authorize')}}
|
||||
v-card-text
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang='pug'>
|
||||
v-container.pa-0.pa-md-3
|
||||
v-container.pa-0.pa-md-3
|
||||
v-row.mt-md-5.ma-0(align='center' justify='center')
|
||||
v-col.pa-0.pa-md-3(cols='12' md="6" lg="5" xl="4")
|
||||
v-form(v-model='valid' ref='form' lazy-validation @submit.prevent='submit')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
v-container
|
||||
v-card
|
||||
v-card-text(v-if='$auth.user && $auth.user.is_admin')
|
||||
Editor(v-model='about' label="About")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container.container.pa-0.pa-md-3
|
||||
v-container.container.pa-0.pa-md-3
|
||||
v-card
|
||||
v-card-title
|
||||
h4 {{edit?$t('common.edit_event'):$t('common.add_event')}}
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
v-container
|
||||
v-card
|
||||
v-card-title {{announcement.title}}
|
||||
v-card-text(v-html='announcement.announcement')
|
||||
|
||||
</template>
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'Announcement',
|
||||
asyncData ({ $axios, params, error, store }) {
|
||||
asyncData ({ params, error, store }) {
|
||||
try {
|
||||
const id = Number(params.id)
|
||||
const announcement = store.state.announcements.find(a => a.id === id)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
nuxt-link.embed_event(:to='`/event/${event.slug || event.id}`' target='_blank' :class='{ withImg: event.media }')
|
||||
nuxt-link.embed_event(:to='`/event/${event.slug || event.id}`' target='_blank' :class='{ withImg: event.media }')
|
||||
|
||||
//- image
|
||||
img.float-left(:src='event | mediaURL("thumb")')
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
export default {
|
||||
layout: 'iframe',
|
||||
async asyncData ({ $axios, params, error, store }) {
|
||||
async asyncData ({ $axios, params, error }) {
|
||||
try {
|
||||
const event = await $axios.$get(`/event/${params.event_id}`)
|
||||
return { event }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
List(:events="events" :title='title')
|
||||
<template>
|
||||
<List :events="events" :title='title'/>
|
||||
</template>
|
||||
<script>
|
||||
import List from '../../components/List'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container.pa-0.pa-md-3
|
||||
v-container.pa-0.pa-md-3
|
||||
v-card
|
||||
v-card-title {{$t('common.share')}}
|
||||
v-card-text
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
v-container
|
||||
v-card
|
||||
v-card-title.text-h5 {{$auth.user.email}}
|
||||
v-card-text
|
||||
|
|
Loading…
Reference in a new issue