[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [websites/reservoir/develop] public/themes/neverland: fallback to local css/js for update purposes
From:       Ingo Malchow <imalchow () kde ! org>
Date:       2014-10-30 21:24:39
Message-ID: E1XjxCx-0000lH-26 () scm ! kde ! org
[Download RAW message or body]

Git commit 19ef4f42971f22216d7d7f085f8f430ae5b75ef2 by Ingo Malchow.
Committed on 30/10/2014 at 21:17.
Pushed by imalchow into branch 'develop'.

fallback to local css/js for update purposes

M  +7    -5    public/themes/neverland/config.php

http://commits.kde.org/websites/reservoir/19ef4f42971f22216d7d7f085f8f430ae=
5b75ef2

diff --git a/public/themes/neverland/config.php b/public/themes/neverland/c=
onfig.php
index 11dd096..34fb5dc 100644
--- a/public/themes/neverland/config.php
+++ b/public/themes/neverland/config.php
@@ -59,11 +59,13 @@ return array(
         {
             $theme->layout('default');
             =

-            $theme->asset()->add('neverland-css', '//cdn.kde.org/css/boots=
trap.css');
-            $theme->asset()->add('neverland-css-resp', '//cdn.kde.org/css/=
bootstrap-responsive.css');
-            $theme->asset()->container('footer')->add('jquery', '//cdn.kde=
.org/js/jquery.js');
-            $theme->asset()->container('footer')->add('neverland-js', '//c=
dn.kde.org/js/bootstrap-neverland.js');
-            // $theme->asset()->add('jquery-ui', 'vendor/jqueryui/jquery-u=
i.min.js', array('jquery'));
+            // Load the CSS
+            $theme->asset()->usePath()->add('neverland', 'css/neverland.mi=
n.css');
+            =

+            // Load script files
+            $theme->asset()->container('footer')->usePath()->add('jquery',=
 'js/jquery.js');
+            $theme->asset()->container('footer')->usePath()->add('neverlan=
d-js', 'js/bootstrap-neverland.js');
+            //$theme->asset()->usePath()->add('jquery-ui', 'vendor/jqueryu=
i/jquery-ui.min.js', array('jquery'));
 =

             // Partial composer.
             // $theme->partialComposer('header', function($view)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic