Fix display of navigation sidebar.
authorChristian Weiske <cweiske@cweiske.de>
Sun, 7 Oct 2018 08:20:10 +0000 (10:20 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 7 Oct 2018 08:20:10 +0000 (10:20 +0200)
There may not be any element between navigation and content.

Resolves: https://github.com/cweiske/grauphel/issues/67

templates/gui-database.php
templates/gui-note.php
templates/tokens.php

index dd3c713c2124ff52aa2af40af89d038ba77b7ca8..14e7959c0932631aa0a8f655df3b439fcc448569 100644 (file)
@@ -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>
index a182f5fad654e171a2c051957d97dfdb17d00c2b..1272b5c1325cd9246996397cbc48f723a686d1a6 100644 (file)
@@ -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">
index 3e1f54b909f18bfd039dea8d8cc0d65841a7e75d..52bbdb4ab55baeeedf74516f1a46d960d42c6427 100644 (file)
@@ -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>