Skip to content
Browse files

now use page specific css/js via include specified in META tag

  • Loading branch information...
1 parent 88cb5a3 commit 5463ffe605e1e0df1267a1fbf8bfe36df064ed5c @hashbangperl committed
Showing with 11 additions and 12 deletions.
  1. +10 −3 root/templates/include/header.tt
  2. +1 −9 root/templates/sprint/taskboard.tt
View
13 root/templates/include/header.tt
@@ -12,16 +12,23 @@
[% CALL page_assets.include("/javascript/bootstrap-alerts.js", 20) %]
[% CALL page_assets.include("/javascript/bootstrap-dropdown.js", 21) %]
-[% page_assets.export("js") %]
[% CALL page_assets.include("/css/bootstrap.css") %]
[% CALL page_assets.include("/css/flyhalf.css") %]
-[% CALL page_assets.include("/css/taskboard.css") %]
-[% page_assets.export("css") %]
+[% SET additional_assets_include = template.assets_include %]
+[% IF additional_assets_include %]
+
+[% PROCESS $additional_assets_include %]
+
+[% END %]
+
+[% page_assets.export("js") %]
<script>
$('.dropdown-toggle').dropdown()
</script>
+[% page_assets.export("css") %]
+
</head>
View
10 root/templates/sprint/taskboard.tt
@@ -1,13 +1,5 @@
[% META no_container = 1 %]
-
-<style>
-
-h2,p{
- font-size:100%;
- font-weight:normal;
-}
-
-</style>
+[% META assets_include = "include/taskboard_assets.tt" %]
<div class="content">
<div class="container">

0 comments on commit 5463ffe

Please sign in to comment.
Something went wrong with that request. Please try again.