refactor(authPages): move auth pages to submenu

pull/3/head
alex 2016-01-12 19:45:49 +03:00
parent 8ad410e23a
commit 47130f9389
2 changed files with 14 additions and 5 deletions

View File

@ -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 () {
@ -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'
};

View File

@ -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',