1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

Redesign setting screens

We're using iconography to stylize each setting screen.

Imeplemented new color palletes and shades.
This commit is contained in:
McMatts 2018-12-13 12:24:16 +00:00
parent 02102f9bf3
commit f442081a41
42 changed files with 563 additions and 548 deletions

View file

@ -10,16 +10,20 @@
// https://documize.com
import { inject as service } from '@ember/service';
import Notifier from '../../mixins/notifier';
import Component from '@ember/component';
export default Component.extend({
export default Component.extend(Notifier, {
appMeta: service(),
buttonLabel: 'Rebuild Search Index',
buttonLabel: 'Rebuild',
actions: {
reindex() {
this.set('buttonLabel', 'Rebuilding search index...')
this.get('reindex')();
this.set('buttonLabel', 'Running...');
this.notifyInfo("Starting search re-index process");
this.get('reindex')(() => {
this.notifySuccess("Search re-indexing complete");
});
}
}
});