Stackedit/src/components/modals/providers/GoogleDriveAccountModal.vue
2022-06-02 07:45:13 +08:00

35 lines
1.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<modal-inner aria-label="链接Google Drive账号">
<div class="modal__content">
<div class="modal__image">
<icon-provider provider-id="googleDrive"></icon-provider>
</div>
<p>将您的<b>Google Drive</b>链接到<b>StackEdit</b></p>
<div class="form-entry">
<div class="form-entry__checkbox">
<label>
<input type="checkbox" v-model="restrictedAccess"> 限制访问
</label>
<div class="form-entry__info">
如果限制则将访问仅限于您使用<b>StackEdit</b>创建的文件
</div>
</div>
</div>
</div>
<div class="modal__button-bar">
<button class="button" @click="config.reject()">取消</button>
<button class="button button--resolve" @click="config.resolve()">确认</button>
</div>
</modal-inner>
</template>
<script>
import modalTemplate from '../common/modalTemplate';
export default modalTemplate({
computedLocalSettings: {
restrictedAccess: 'googleDriveRestrictedAccess',
},
});
</script>