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 activated () { },
|
||||||
async deactivated () { },
|
async deactivated () { },
|
||||||
async init () { },
|
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">
|
<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(style='min-width: 350px; max-width: 550px;')
|
||||||
q-card-section.card-header
|
q-card-section.card-header
|
||||||
q-icon(name='img:/_assets/icons/ultraviolet-github.svg', left, size='sm')
|
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
|
q-card-section
|
||||||
.text-body2 {{$t(`admin.storage.githubSetupInstallAppInfo`)}}
|
.text-body2 {{t(`admin.storage.githubSetupInstallAppInfo`)}}
|
||||||
.text-body2.q-mt-md: strong.text-deep-orange {{$t('admin.storage.githubSetupInstallAppSelect')}}
|
.text-body2.q-mt-md: strong.text-deep-orange {{t('admin.storage.githubSetupInstallAppSelect')}}
|
||||||
.text-body2.q-mt-md {{$t(`admin.storage.githubSetupInstallAppReturn`)}}
|
.text-body2.q-mt-md {{t(`admin.storage.githubSetupInstallAppReturn`)}}
|
||||||
q-card-actions.card-actions
|
q-card-actions.card-actions
|
||||||
q-space
|
q-space
|
||||||
q-btn(
|
q-btn(
|
||||||
unelevated
|
unelevated
|
||||||
:label='$t(`admin.storage.githubSetupContinue`)'
|
:label='t(`admin.storage.githubSetupContinue`)'
|
||||||
color='positive'
|
color='positive'
|
||||||
padding='xs md'
|
padding='xs md'
|
||||||
@click='confirm'
|
@click='onDialogOK'
|
||||||
)
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script setup>
|
||||||
|
import { useI18n } from 'vue-i18n'
|
||||||
export default {
|
import { useDialogPluginComponent, useQuasar } from 'quasar'
|
||||||
emits: ['ok', 'hide'],
|
|
||||||
data () {
|
// EMITS
|
||||||
return {
|
|
||||||
}
|
defineEmits([
|
||||||
},
|
...useDialogPluginComponent.emits
|
||||||
methods: {
|
])
|
||||||
show () {
|
|
||||||
this.$refs.dialog.show()
|
// QUASAR
|
||||||
},
|
|
||||||
hide () {
|
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } = useDialogPluginComponent()
|
||||||
this.$refs.dialog.hide()
|
const $q = useQuasar()
|
||||||
},
|
|
||||||
onDialogHide () {
|
// I18N
|
||||||
this.$emit('hide')
|
|
||||||
},
|
const { t } = useI18n()
|
||||||
confirm () {
|
|
||||||
this.$emit('ok')
|
|
||||||
this.hide()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in new issue