mirror of https://github.com/requarks/wiki
parent
d51fc36b56
commit
4dcc9396d5
@ -1,6 +1,6 @@
|
||||
const { Octokit, App } = require('octokit')
|
||||
import { Octokit, App } from 'octokit'
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
async activated () { },
|
||||
async deactivated () { },
|
||||
async init () { },
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,46 +1,41 @@
|
||||
<template lang="pug">
|
||||
q-dialog(ref='dialog', @hide='onDialogHide', persistent)
|
||||
q-dialog(ref='dialogRef', @hide='onDialogHide', persistent)
|
||||
q-card(style='min-width: 350px; max-width: 550px;')
|
||||
q-card-section.card-header
|
||||
q-icon(name='img:/_assets/icons/ultraviolet-github.svg', left, size='sm')
|
||||
span {{$t(`admin.storage.githubSetupInstallApp`)}}
|
||||
span {{t(`admin.storage.githubSetupInstallApp`)}}
|
||||
q-card-section
|
||||
.text-body2 {{$t(`admin.storage.githubSetupInstallAppInfo`)}}
|
||||
.text-body2.q-mt-md: strong.text-deep-orange {{$t('admin.storage.githubSetupInstallAppSelect')}}
|
||||
.text-body2.q-mt-md {{$t(`admin.storage.githubSetupInstallAppReturn`)}}
|
||||
.text-body2 {{t(`admin.storage.githubSetupInstallAppInfo`)}}
|
||||
.text-body2.q-mt-md: strong.text-deep-orange {{t('admin.storage.githubSetupInstallAppSelect')}}
|
||||
.text-body2.q-mt-md {{t(`admin.storage.githubSetupInstallAppReturn`)}}
|
||||
q-card-actions.card-actions
|
||||
q-space
|
||||
q-btn(
|
||||
unelevated
|
||||
:label='$t(`admin.storage.githubSetupContinue`)'
|
||||
:label='t(`admin.storage.githubSetupContinue`)'
|
||||
color='positive'
|
||||
padding='xs md'
|
||||
@click='confirm'
|
||||
@click='onDialogOK'
|
||||
)
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
emits: ['ok', 'hide'],
|
||||
data () {
|
||||
return {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
show () {
|
||||
this.$refs.dialog.show()
|
||||
},
|
||||
hide () {
|
||||
this.$refs.dialog.hide()
|
||||
},
|
||||
onDialogHide () {
|
||||
this.$emit('hide')
|
||||
},
|
||||
confirm () {
|
||||
this.$emit('ok')
|
||||
this.hide()
|
||||
}
|
||||
}
|
||||
}
|
||||
<script setup>
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useDialogPluginComponent, useQuasar } from 'quasar'
|
||||
|
||||
// EMITS
|
||||
|
||||
defineEmits([
|
||||
...useDialogPluginComponent.emits
|
||||
])
|
||||
|
||||
// QUASAR
|
||||
|
||||
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } = useDialogPluginComponent()
|
||||
const $q = useQuasar()
|
||||
|
||||
// I18N
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
</script>
|
||||
|
Loading…
Reference in new issue