Skip to content

Commit

Permalink
Parallax CSS only enabled on certain pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Apr 15, 2015
1 parent d19a450 commit 5bca3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/main/webapp/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ angular.module('jboss-forge', ['ui.router','routeStyles'])
$stateProvider
.state('home', {
url: "/",
templateUrl: "views/home.html"
templateUrl: "views/home.html",
css: 'css/parallax-styles.css'
})
.state('addons', {
url: "/addons",
templateUrl: "views/addons.html",
css: 'css/forge_addons.css'
css: ['css/forge_addons.css', 'css/parallax-styles.css']
})
.state('addon_detail',{
url: '/addons/mobile/{addonId}',
Expand All @@ -28,7 +29,7 @@ angular.module('jboss-forge', ['ui.router','routeStyles'])
.state('community', {
url: "/community",
templateUrl: "views/community.html",
css: 'css/forge_community.css',
css: ['css/forge_community.css','css/parallax-styles.css'],
controller: 'CommunityController'
})
.state('news', {
Expand Down
1 change: 0 additions & 1 deletion src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<link href="css/bootstrap.min.css" rel="stylesheet" media="all" />
<link href="css/bootstrap-theme.min.css" rel="stylesheet" media="all" />
<link href="css/forge.css" rel="stylesheet" media="all" />
<link href="css/parallax-styles.css" rel="stylesheet" media="screen" />
</head>

<body ng-controller="RootController as rootCtrl">
Expand Down

0 comments on commit 5bca3be

Please sign in to comment.