mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FEATURE: Import customizations from a JSON file
This commit is contained in:
parent
1e53c179a3
commit
291d9fc65e
11 changed files with 188 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
import showModal from 'discourse/lib/show-modal';
|
||||
|
||||
/**
|
||||
This controller supports interface for creating custom CSS skins in Discourse.
|
||||
|
||||
|
@ -21,6 +23,10 @@ export default Ember.ArrayController.extend({
|
|||
this.set('selectedItem', item);
|
||||
},
|
||||
|
||||
importModal: function() {
|
||||
showModal('upload-customization');
|
||||
},
|
||||
|
||||
/**
|
||||
Select a given style
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue