diff --git a/app/app/components/header/message-box.js b/app/app/components/header/message-box.js deleted file mode 100644 index a5417462..00000000 --- a/app/app/components/header/message-box.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 Documize Inc. . All rights reserved. -// -// This software (Documize Community Edition) is licensed under -// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html -// -// You can operate outside the AGPL restrictions by purchasing -// Documize Enterprise Edition and obtaining a commercial license -// by contacting . -// -// https://documize.com - -import Ember from 'ember'; - -export default Ember.Component.extend({}); \ No newline at end of file diff --git a/app/app/components/header/page-navigation.js b/app/app/components/header/page-navigation.js deleted file mode 100644 index c161fed1..00000000 --- a/app/app/components/header/page-navigation.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2016 Documize Inc. . All rights reserved. -// -// This software (Documize Community Edition) is licensed under -// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html -// -// You can operate outside the AGPL restrictions by purchasing -// Documize Enterprise Edition and obtaining a commercial license -// by contacting . -// -// https://documize.com - -import Ember from 'ember'; -import netUtil from '../../utils/net'; - -export default Ember.Component.extend({ - dashboardMode: false, - searchMode: false, - profileMode: false, - settingsMode: false, - folderMode: false, - documentMode: false, - - didInitAttrs() { - let self = this; - if (this.session.authenticated) { - this.session.user.accounts.forEach(function(account) { - account.active = account.orgId === self.session.appMeta.orgId; - }); - } - }, - - actions: { - switchAccount(domain) { - this.audit.record('switched-account'); - window.location.href = netUtil.getAppUrl(domain); - } - } -}); \ No newline at end of file diff --git a/app/app/components/header/search-box.js b/app/app/components/header/search-box.js deleted file mode 100644 index 67cc0f65..00000000 --- a/app/app/components/header/search-box.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2016 Documize Inc. . All rights reserved. -// -// This software (Documize Community Edition) is licensed under -// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html -// -// You can operate outside the AGPL restrictions by purchasing -// Documize Enterprise Edition and obtaining a commercial license -// by contacting . -// -// https://documize.com - -import Ember from 'ember'; - -export default Ember.Component.extend({ - filter: "", - - didInitAttrs() { - this.get('onFilter')(this.get('filter')); - }, - - onKeywordChange: function() { - Ember.run.debounce(this, this.fetch, 750); - }.observes('filter'), - - fetch() { - this.get('onFilter')(this.get('filter')); - }, -}); \ No newline at end of file diff --git a/app/app/components/layout/page-content.js b/app/app/components/layout/page-content.js deleted file mode 100644 index a5417462..00000000 --- a/app/app/components/layout/page-content.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 Documize Inc. . All rights reserved. -// -// This software (Documize Community Edition) is licensed under -// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html -// -// You can operate outside the AGPL restrictions by purchasing -// Documize Enterprise Edition and obtaining a commercial license -// by contacting . -// -// https://documize.com - -import Ember from 'ember'; - -export default Ember.Component.extend({}); \ No newline at end of file diff --git a/app/app/components/layout/page-sidebar.js b/app/app/components/layout/page-sidebar.js deleted file mode 100644 index a5417462..00000000 --- a/app/app/components/layout/page-sidebar.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 Documize Inc. . All rights reserved. -// -// This software (Documize Community Edition) is licensed under -// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html -// -// You can operate outside the AGPL restrictions by purchasing -// Documize Enterprise Edition and obtaining a commercial license -// by contacting . -// -// https://documize.com - -import Ember from 'ember'; - -export default Ember.Component.extend({}); \ No newline at end of file diff --git a/app/app/templates/components/header/message-box.hbs b/app/app/templates/components/header/message-box.hbs deleted file mode 100644 index ec3c0cfa..00000000 --- a/app/app/templates/components/header/message-box.hbs +++ /dev/null @@ -1,6 +0,0 @@ -{{#link-to 'search'}} -
- - search -
-{{/link-to}} diff --git a/app/app/templates/components/header/page-navigation.hbs b/app/app/templates/components/header/page-navigation.hbs deleted file mode 100644 index 9171d17c..00000000 --- a/app/app/templates/components/header/page-navigation.hbs +++ /dev/null @@ -1,121 +0,0 @@ -
-
-
-
-
- {{#if session.authenticated}} -
- apps -
- {{else}} - {{#link-to 'folders.folder' title=session.appMeta.title}} -
- apps -
- {{/link-to}} - {{/if}} -
{{session.appMeta.title}}
-
-
-
-
- {{#if session.authenticated}} - -
- {{session.user.initials}} -
- {{else}} - - {{/if}} -
-
-
-
- -
- -
- {{yield}} -
-
- - {{#if session.authenticated}} - {{#dropdown-menu target="accounts-button" position="bottom left" open="click" }} - - {{/dropdown-menu}} - - {{#dropdown-menu target="user-button" position="bottom right" open="click" }} - - {{/dropdown-menu}} - {{/if}} -
diff --git a/app/app/templates/components/header/search-box.hbs b/app/app/templates/components/header/search-box.hbs deleted file mode 100644 index 6a08b1ee..00000000 --- a/app/app/templates/components/header/search-box.hbs +++ /dev/null @@ -1,8 +0,0 @@ -
-
- {{focus-input class="input" type="text" value=filter placeholder='#tags, keywords, "some phrase", keyword AND keyword, keyword OR keyword'}} -
- {{#link-to 'folders'}} - clear - {{/link-to}} -
diff --git a/app/app/templates/components/layout/page-container.hbs b/app/app/templates/components/layout/page-container.hbs deleted file mode 100644 index 252fff94..00000000 --- a/app/app/templates/components/layout/page-container.hbs +++ /dev/null @@ -1,7 +0,0 @@ -
-
-
- {{yield}} -
-
-
diff --git a/app/app/templates/components/layout/page-content.hbs b/app/app/templates/components/layout/page-content.hbs deleted file mode 100644 index 34324ba3..00000000 --- a/app/app/templates/components/layout/page-content.hbs +++ /dev/null @@ -1,3 +0,0 @@ -
- {{yield}} -
diff --git a/app/app/templates/components/layout/page-sidebar.hbs b/app/app/templates/components/layout/page-sidebar.hbs deleted file mode 100644 index 6b9b14e1..00000000 --- a/app/app/templates/components/layout/page-sidebar.hbs +++ /dev/null @@ -1,3 +0,0 @@ -
- {{yield}} -