1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 15:34:26 +02:00

Improve extensions page

- Allow extensions to define an icon in their flarum.json
- Show a "please wait" modal when enabling/disabling an extension
- Styling tweaks
This commit is contained in:
Toby Zerner
2015-08-07 08:51:03 +09:30
parent 4e01aa10d8
commit 3f809761d3
6 changed files with 65 additions and 21 deletions

View File

@@ -0,0 +1,19 @@
import Modal from 'flarum/components/Modal';
export default class LoadingModal extends Modal {
isDismissible() {
return false;
}
className() {
return 'LoadingModal Modal--small';
}
title() {
return 'Please Wait...';
}
content() {
return '';
}
}