mirror of https://github.com/akveo/blur-admin
refactor(authPages): move auth pages to submenu
parent
8ad410e23a
commit
47130f9389
|
@ -21,10 +21,10 @@ gulp.task('styles', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('stylesAuth', 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 () {
|
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 () {
|
var buildStyles = function () {
|
||||||
|
@ -61,7 +61,7 @@ var buildStyles = function () {
|
||||||
.pipe(gulp.dest(path.join(conf.paths.tmp, '/serve/app/')));
|
.pipe(gulp.dest(path.join(conf.paths.tmp, '/serve/app/')));
|
||||||
};
|
};
|
||||||
|
|
||||||
var buildAloneStyles = function (paths) {
|
var buildSingleScss = function (paths) {
|
||||||
var sassOptions = {
|
var sassOptions = {
|
||||||
style: 'expanded'
|
style: 'expanded'
|
||||||
};
|
};
|
||||||
|
|
|
@ -41,10 +41,19 @@
|
||||||
|
|
||||||
var staticMenuItems = [
|
var staticMenuItems = [
|
||||||
{
|
{
|
||||||
title: 'Login Page',
|
title: 'Auth Pages',
|
||||||
icon: 'ion-log-out',
|
icon: 'ion-log-out',
|
||||||
|
subMenu: [
|
||||||
|
{
|
||||||
|
title: 'Sign In',
|
||||||
root: 'auth.html'
|
root: 'auth.html'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'Sign Up',
|
||||||
|
root: 'reg.html'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '404 Page',
|
title: '404 Page',
|
||||||
icon: 'ion-document',
|
icon: 'ion-document',
|
||||||
|
|
Loading…
Reference in New Issue