Small fixes in templates
This commit is contained in:
@@ -53,7 +53,6 @@ Util::addScript('deck', 'public/app');
|
|||||||
<script type="text/ng-template" id="/boardlist.mainView.html">
|
<script type="text/ng-template" id="/boardlist.mainView.html">
|
||||||
<?php print_unescaped($this->inc('part.boardlist')); ?>
|
<?php print_unescaped($this->inc('part.boardlist')); ?>
|
||||||
</script>
|
</script>
|
||||||
<script type="text/ng-template" id="/boardlist.sidebarView.html"></script>
|
|
||||||
<script type="text/ng-template" id="/board.sidebarView.html">
|
<script type="text/ng-template" id="/board.sidebarView.html">
|
||||||
<?php print_unescaped($this->inc('part.board.sidebarView')); ?>
|
<?php print_unescaped($this->inc('part.board.sidebarView')); ?>
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,11 +1,6 @@
|
|||||||
<ul class="with-icon">
|
<ul class="with-icon">
|
||||||
|
|
||||||
<li><a href="#" class=""><?php p($l->t('All Boards')); ?></a></li>
|
<li><a href="#" class=""><?php p($l->t('All Boards')); ?></a></li>
|
||||||
<!--
|
|
||||||
<li><a href="#" class="icon-starred">Starred Boards</a></li>
|
|
||||||
<li><a href="#" class="icon-share">Shared Boards</a></li>
|
|
||||||
<li><a href="#" class="icon-public">Public Boards</a></li>
|
|
||||||
//-->
|
|
||||||
|
|
||||||
<li class="with-icon with-menu" data-ng-repeat="b in boardservice.sorted">
|
<li class="with-icon with-menu" data-ng-repeat="b in boardservice.sorted">
|
||||||
<span class="board-bullet" style="background-color:#{{b.color}};" ng-if="!b.status.edit"> </span>
|
<span class="board-bullet" style="background-color:#{{b.color}};" ng-if="!b.status.edit"> </span>
|
||||||
@@ -18,7 +13,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="app-navigation-entry-menu app-navigation-noclose" ng-show="!b.status.edit">
|
<div class="app-navigation-entry-menu app-navigation-noclose" ng-show="!b.status.edit">
|
||||||
<ul>
|
<ul>
|
||||||
|
<!--
|
||||||
|
TODO: Link to board sharing details
|
||||||
<li><button class="icon-share svg" title="share"></button></li>
|
<li><button class="icon-share svg" title="share"></button></li>
|
||||||
|
//-->
|
||||||
<li><button class="icon-rename svg" title="rename" ng-click="b.status.edit=true"></button></li>
|
<li><button class="icon-rename svg" title="rename" ng-click="b.status.edit=true"></button></li>
|
||||||
<li><button class="icon-delete svg" title="delete" ng-click="boardDelete(b)"></button></li>
|
<li><button class="icon-delete svg" title="delete" ng-click="boardDelete(b)"></button></li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -53,4 +51,5 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
<div id="app-settings">
|
<div id="app-settings">
|
||||||
<div id="app-settings-header">
|
<div id="app-settings-header">
|
||||||
<button class="settings-button"
|
<button class="settings-button" data-apps-slide-toggle="#app-settings-content"></button>
|
||||||
data-apps-slide-toggle="#app-settings-content"
|
</div>
|
||||||
></button>
|
<div id="app-settings-content">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--<div id="app-settings-content">
|
|
||||||
<?php p($l->t('There will be some options here!')); ?>
|
|
||||||
<br />
|
|
||||||
</div>//-->
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,45 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @copyright Copyright (c) 2016 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 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/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
use OCP\Util;
|
|
||||||
Util::addStyle('deck', 'font-awesome');
|
|
||||||
Util::addStyle('deck', 'style');
|
|
||||||
Util::addScript('deck', 'vendor/angular/angular.min');
|
|
||||||
Util::addScript('deck', 'vendor/angular-route/angular-route.min');
|
|
||||||
Util::addScript('deck', 'vendor/angular-sanitize/angular-sanitize.min');
|
|
||||||
Util::addScript('deck', 'vendor/angular-animate/angular-animate.min');
|
|
||||||
Util::addScript('deck', 'vendor/angular-ui-router/release/angular-ui-router.min');
|
|
||||||
Util::addScript('deck', 'app/App');
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<div id="app" class="app-deck public-board" data-ng-app="Deck" ng-controller="AppController" ng-cloak">
|
|
||||||
|
|
||||||
<div id="app-content" ng-class="{ 'details-visible': sidebar.show }">
|
|
||||||
<?php print_unescaped($this->inc('part.content')); ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="app-sidebar" class="details-view scroll-container" ng-controller="CardController" ng-class="{ 'details-visible': sidebar.show }">
|
|
||||||
<?php print_unescaped($this->inc('part.card')); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
Reference in New Issue
Block a user