aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2018-10-07 10:20:10 +0200
committerChristian Weiske <cweiske@cweiske.de>2018-10-07 10:20:10 +0200
commit83de9e1406c158936cced65bb60daad867c30a75 (patch)
tree94f551c0f4fd2de3ed99ecd04c580f097cf83b67
parent8f667807db798050af98817ba900d49045bd9724 (diff)
downloadgrauphel-83de9e1406c158936cced65bb60daad867c30a75.tar.gz
grauphel-83de9e1406c158936cced65bb60daad867c30a75.zip
Fix display of navigation sidebar.
There may not be any element between navigation and content. Resolves: https://github.com/cweiske/grauphel/issues/67
-rw-r--r--templates/gui-database.php2
-rw-r--r--templates/gui-note.php2
-rw-r--r--templates/tokens.php3
3 files changed, 1 insertions, 6 deletions
diff --git a/templates/gui-database.php b/templates/gui-database.php
index dd3c713..14e7959 100644
--- a/templates/gui-database.php
+++ b/templates/gui-database.php
@@ -3,8 +3,6 @@
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
-<script type="text/javascript" src="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','js/grauphel.js')); ?>"></script>
-
<div id="app-content" class="content">
<div id="searchresults" class="hidden"></div>
<h1>Manage database</h1>
diff --git a/templates/gui-note.php b/templates/gui-note.php
index a182f5f..1272b5c 100644
--- a/templates/gui-note.php
+++ b/templates/gui-note.php
@@ -3,8 +3,6 @@
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
-<script type="text/javascript" src="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','js/grauphel.js')); ?>"></script>
-
<div id="app-content" class="content">
<div id="searchresults" class="hidden"></div>
<div class="actions">
diff --git a/templates/tokens.php b/templates/tokens.php
index 3e1f54b..52bbdb4 100644
--- a/templates/tokens.php
+++ b/templates/tokens.php
@@ -1,10 +1,9 @@
<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<script type="text/javascript" src="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','js/grauphel.js')); ?>"></script>
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
-<script type="text/javascript" src="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','js/grauphel.js')); ?>"></script>
-
<div id="app-content" class="list">
<div id="searchresults" class="hidden"></div>
<h1>Manage access tokens</h1>