Register CSS files via API
authorChristian Weiske <cweiske@cweiske.de>
Sun, 7 Oct 2018 08:28:33 +0000 (10:28 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 7 Oct 2018 08:28:33 +0000 (10:28 +0200)
css/grauphel.css [moved from grauphel.css with 100% similarity]
templates/error.php
templates/gui-database.php
templates/gui-note.php
templates/index.php
templates/oauthAuthorize.php
templates/tag.php
templates/tokens.php

similarity index 100%
rename from grauphel.css
rename to css/grauphel.css
index 6ca821bde60263af8f3092abcd0e210148477658..a2f7c7383ac5d210b65dd651863d91aecbece129 100644 (file)
@@ -1,4 +1,4 @@
-<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<?php style('grauphel', 'grauphel'); ?>
 
 <div id="app-content" class="content">
   <div id="searchresults" class="hidden"></div>
index 14e7959c0932631aa0a8f655df3b439fcc448569..22710ef086bc249adc7f59816b9bf66720a5e26a 100644 (file)
@@ -1,4 +1,4 @@
-<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<?php style('grauphel', 'grauphel'); ?>
 
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
index 1272b5c1325cd9246996397cbc48f723a686d1a6..2aa5a209a9a19f0171ac668aeaebd6b4b5fc31f6 100644 (file)
@@ -1,4 +1,4 @@
-<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<?php style('grauphel', 'grauphel'); ?>
 
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
index 4edb7d943e154b0e7b54d864ad29c1c898bf4f35..0d4c12c61a4443677d4ed93026e7df5be5b5f92a 100644 (file)
@@ -1,4 +1,4 @@
-<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<?php style('grauphel', 'grauphel'); ?>
 
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
index 5c7cf4a61bbf91f4f4c0f309ed149164def8ef87..782c51a49a2bc23b032ba8ff142c19fcaa07a0f9 100644 (file)
@@ -1,4 +1,5 @@
-<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<?php style('grauphel', 'grauphel'); ?>
+
 <form method="post" action="<?php p($_['formaction']); ?>" class="oauth-authorize">
  <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
  <input type="hidden" value="<?php p($_['oauth_token']); ?>" name="oauth_token" />
index 4a9501c09b3dc53e00499dfb150b56cc0adfb3f3..ee5f592da8ed906decf5cf90be4ab39d3ada6bff 100644 (file)
@@ -1,4 +1,4 @@
-<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<?php style('grauphel', 'grauphel'); ?>
 
 <?php /** @var $l OC_L10N */ ?>
 <?php $_['appNavigation']->printPage(); ?>
index 52bbdb4ab55baeeedf74516f1a46d960d42c6427..cb8089d60e46b0c81a0a8b268a843c1a13b08d55 100644 (file)
@@ -1,4 +1,4 @@
-<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<?php style('grauphel', 'grauphel'); ?>
 <script type="text/javascript" src="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','js/grauphel.js')); ?>"></script>
 
 <?php /** @var $l OC_L10N */ ?>