forked from mirror/misskey
🎨
This commit is contained in:
parent
45fe754759
commit
f64d3942d7
@ -10,7 +10,6 @@
|
|||||||
<i v-else-if="type === 'warning'" class="fas fa-exclamation-triangle"></i>
|
<i v-else-if="type === 'warning'" class="fas fa-exclamation-triangle"></i>
|
||||||
<i v-else-if="type === 'info'" class="fas fa-info-circle"></i>
|
<i v-else-if="type === 'info'" class="fas fa-info-circle"></i>
|
||||||
<i v-else-if="type === 'question'" class="fas fa-question-circle"></i>
|
<i v-else-if="type === 'question'" class="fas fa-question-circle"></i>
|
||||||
<i v-else-if="type === 'help'" class="fas fa-question-circle"></i>
|
|
||||||
<i v-else-if="type === 'waiting'" class="fas fa-spinner fa-pulse"></i>
|
<i v-else-if="type === 'waiting'" class="fas fa-spinner fa-pulse"></i>
|
||||||
</div>
|
</div>
|
||||||
<header v-if="title"><Mfm :text="title"/></header>
|
<header v-if="title"><Mfm :text="title"/></header>
|
||||||
|
@ -29,7 +29,7 @@ export default {
|
|||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
dialog({
|
dialog({
|
||||||
type: 'help',
|
type: 'info',
|
||||||
text: binding.value,
|
text: binding.value,
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
|
@ -215,7 +215,7 @@ export function modalPageWindow(path: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function dialog(props: {
|
export function dialog(props: {
|
||||||
type: 'error' | 'info' | 'success' | 'warning' | 'waiting' | 'help';
|
type: 'error' | 'info' | 'success' | 'warning' | 'waiting';
|
||||||
title?: string | null;
|
title?: string | null;
|
||||||
text?: string | null;
|
text?: string | null;
|
||||||
}) {
|
}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user