Skip to content

Commit

Permalink
refactor(authPages): move auth pages to submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaSkywalker committed Jan 12, 2016
1 parent 8ad410e commit 47130f9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions gulp/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ gulp.task('styles', function () {
});

gulp.task('stylesAuth', function () {
return buildAloneStyles(path.join(conf.paths.src, '/sass/auth.scss'));
return buildSingleScss(path.join(conf.paths.src, '/sass/auth.scss'));
});
gulp.task('styles404', function () {
return buildAloneStyles(path.join(conf.paths.src, '/sass/404.scss'));
return buildSingleScss(path.join(conf.paths.src, '/sass/404.scss'));
});

var buildStyles = function () {
Expand Down Expand Up @@ -61,7 +61,7 @@ var buildStyles = function () {
.pipe(gulp.dest(path.join(conf.paths.tmp, '/serve/app/')));
};

var buildAloneStyles = function (paths) {
var buildSingleScss = function (paths) {
var sassOptions = {
style: 'expanded'
};
Expand Down
13 changes: 11 additions & 2 deletions src/app/theme/components/sidebar/SidebarCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,18 @@

var staticMenuItems = [
{
title: 'Login Page',
title: 'Auth Pages',
icon: 'ion-log-out',
root: 'auth.html'
subMenu: [
{
title: 'Sign In',
root: 'auth.html'
},
{
title: 'Sign Up',
root: 'reg.html'
}
]
},
{
title: '404 Page',
Expand Down

0 comments on commit 47130f9

Please sign in to comment.