-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
- Loading branch information
1 parent
921cfdf
commit 6783962
Showing
3 changed files
with
15 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,27 @@ | ||
<?php | ||
/** | ||
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net> | ||
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net> | ||
* | ||
* @author Julius Härtl <jus@bitgrid.net> | ||
* | ||
* @license GNU AGPL version 3 or any later version | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as | ||
* published by the Free Software Foundation, either version 3 of the | ||
* License, or (at your option) any later version. | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as | ||
* published by the Free Software Foundation, either version 3 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
use OCP\Util; | ||
|
||
Util::addScript('activity', 'richObjectStringParser'); | ||
if (\OC_Util::getVersion()[0] > 14) { | ||
Util::addScript('activity', 'templates'); | ||
} | ||
|
||
Util::addStyle('activity', 'style'); | ||
Util::addStyle('comments', 'comments'); | ||
Util::addScript('oc-backbone-webdav'); | ||
|
||
Util::addStyle('deck', '../js/build/vendor'); | ||
Util::addScript('deck', 'build/vendor'); | ||
|
||
Util::addStyle('deck', 'style'); | ||
Util::addScript('deck', 'build/deck'); | ||
|
||
if (\OC_Util::getVersion()[0] < 14) { | ||
Util::addStyle('deck', 'comp-13'); | ||
} | ||
style('deck', 'style'); | ||
script('deck', 'deck'); | ||
?> | ||
|
||
<div | ||
class="app app-deck" | ||
data-ng-app="Deck" | ||
ng-controller="AppController" | ||
ng-cloak | ||
config="<?php p(json_encode($_)); ?>" | ||
ng-class="{'app-navigation-hide': appNavigationHide, 'compact-mode': compactMode}"> | ||
|
||
<div id="app-navigation" data-ng-controller="ListController" ng-init="initSidebar()"> | ||
<?php print_unescaped($this->inc('part.navigation')); ?> | ||
<?php /* print_unescaped($this->inc('part.settings')); */ ?> | ||
</div> | ||
<div id="app-content" ng-class="{ 'details-visible': sidebar.show }"><div id="app-navigation-toggle-custom" class="icon-menu" ng-click="toggleSidebar()"></div><div ui-view></div></div> | ||
<div id="app-sidebar" ng-class="{ 'details-visible': sidebar.show }" ng-if="sidebar.show" class="details-view scroll-container" ui-view="sidebarView"></div> | ||
<route-loading-indicator></route-loading-indicator> | ||
|
||
<script type="text/ng-template" id="/boardlist.mainView.html"> | ||
<?php print_unescaped($this->inc('part.boardlist')); ?> | ||
</script> | ||
<script type="text/ng-template" id="/board.sidebarView.html"> | ||
<?php print_unescaped($this->inc('part.board.sidebarView')); ?> | ||
</script> | ||
<script type="text/ng-template" id="/board.html"> | ||
<?php print_unescaped($this->inc('part.board.mainView')); ?> | ||
</script> | ||
<script type="text/ng-template" id="/card.sidebarView.html"> | ||
<?php print_unescaped($this->inc('part.card')); ?> | ||
</script> | ||
<script type="text/ng-template" id="/card.attachments.html"> | ||
<?php print_unescaped($this->inc('part.card.attachments')); ?> | ||
</script> | ||
|
||
</div> | ||
<input type="hidden" id="debug-mode" value="<?php p($_['debug'] ? 'true' : 'false'); ?>"> |
This file was deleted.
Oops, something went wrong.