mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Spaces view
This commit is contained in:
parent
95323c90ee
commit
a453052087
7 changed files with 88 additions and 94 deletions
|
@ -13,6 +13,7 @@ import { inject as service } from '@ember/service';
|
|||
import Controller from '@ember/controller';
|
||||
|
||||
export default Controller.extend({
|
||||
appMeta: service(),
|
||||
folderService: service('folder'),
|
||||
|
||||
actions: {
|
||||
|
|
|
@ -1,5 +1,19 @@
|
|||
{{toolbar/nav-bar}}
|
||||
{{#layout/top-bar}}
|
||||
{{/layout/top-bar}}
|
||||
|
||||
{{toolbar/for-spaces spaces=model onAddSpace=(action 'onAddSpace')}}
|
||||
{{#layout/middle-zone}}
|
||||
{{#layout/middle-zone-content}}
|
||||
{{spaces/space-list spaces=model}}
|
||||
{{/layout/middle-zone-content}}
|
||||
|
||||
{{spaces/space-list spaces=model}}
|
||||
{{#layout/middle-zone-sidebar}}
|
||||
<div id="sidebar" class="sidebar">
|
||||
<h1>{{appMeta.title}}</h1>
|
||||
<p>{{appMeta.message}}</p>
|
||||
{{toolbar/for-spaces spaces=model onAddSpace=(action 'onAddSpace')}}
|
||||
</div>
|
||||
{{/layout/middle-zone-sidebar}}
|
||||
{{/layout/middle-zone}}
|
||||
|
||||
{{#layout/bottom-bar}}
|
||||
{{/layout/bottom-bar}}
|
Loading…
Add table
Add a link
Reference in a new issue