Move app sidebar out of app content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -28,32 +28,30 @@ 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');
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="app" class="app-deck" data-ng-app="Deck" ng-controller="AppController" ng-cloak config="<?php p(json_encode($_)); ?>">
|
||||
<div class="app app-deck" data-ng-app="Deck" ng-controller="AppController" ng-cloak config="<?php p(json_encode($_)); ?>">
|
||||
|
||||
<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 ui-view></div>
|
||||
</div>
|
||||
<div id="app-content" ng-class="{ 'details-visible': sidebar.show }"><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.mainView.html">
|
||||
<?php print_unescaped($this->inc('part.board.mainView')); ?>
|
||||
</script>
|
||||
<script type="text/ng-template" id="/board.html">
|
||||
<?php print_unescaped($this->inc('part.board')); ?>
|
||||
<?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')); ?>
|
||||
@@ -62,4 +60,4 @@ Util::addScript('deck', 'build/deck');
|
||||
<?php print_unescaped($this->inc('part.card.attachments')); ?>
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user