Ghost/ghost/admin
Harry Wolff 00da1a43b7 Creates Ember Modal infastructure
resolves #2416

This is a pretty large commit but what it's adding are pretty fundamental to the admin app.

- Creates top level actions on the ApplicationRoute for opening and closing modals.  This allows sending the 'openModal' action from any template to open a modal.

- Every modal template lives in 'templates/modals/{{modalName}}'

- Each modal can have a backing controller of the same name that can provide additional control for that modal.  Those controllers reside in 'controllers/modals/{{modalName}}'

- Created the ModalDialog component which is where all the logic for the component resides.  It's not at 100% parity with the existing Ghost modal system but it has the foundation for further fleshing out.  It currently accepts parameters for styling how the modal should appear, which previously was defined in JS files in the Backbone admin.

- This creates the 'delete all posts', 'delete this post', 'markdown', and 'upload' modal.  Some are in more stages of completion than others, but I wanted to just get the foundation in place as fast as possible.

- This also creates the UploadModal component which is a subclass of the ModalDialog component.  The reason for this subclassing is that the UploadModal component directly accesses the DOM and when that occurs in Ember it should remain in a component definition.  It's ready for extending to reach parity.  Note: depending on needs the base ModalDialog class may need to be modified.
2014-04-06 12:45:19 -04:00
..
assets Ember.js: Add assets img + css (ember-hacks.css) to ember admin 2014-03-15 00:08:15 +01:00
components Creates Ember Modal infastructure 2014-04-06 12:45:19 -04:00
controllers Creates Ember Modal infastructure 2014-04-06 12:45:19 -04:00
fixtures Created ForgottenController 2014-03-30 22:18:15 +02:00
helpers Flesh out more of the Ember admin 2014-03-16 16:01:56 -04:00
initializers Create SettingsUserController 2014-03-23 22:51:43 -04:00
mixins Amend fixtures & put body classes in styleBody mixin 2014-03-09 15:30:54 +00:00
models Created ForgottenController 2014-03-30 22:18:15 +02:00
routes Creates Ember Modal infastructure 2014-04-06 12:45:19 -04:00
templates Creates Ember Modal infastructure 2014-04-06 12:45:19 -04:00
utils Refactor navbar to eliminate nested {{link-to}}. 2014-04-01 22:36:16 -04:00
views Specify itemView on the each helper rather than nesting a view helper. 2014-03-09 14:20:15 -07:00
app.js Refactor navbar to eliminate nested {{link-to}}. 2014-04-01 22:36:16 -04:00
router.js Flesh out more of the Ember admin 2014-03-16 16:01:56 -04:00