refactor(build): build changes so it would be possible to deploy template

pull/3/head
Vladimir Lugovsky 2016-01-06 17:21:17 +03:00
parent 7826b4c679
commit 03288fe6fb
13 changed files with 29 additions and 21 deletions

View File

@ -84,7 +84,15 @@
"main": "./jquery.slimscroll.js" "main": "./jquery.slimscroll.js"
}, },
"font-awesome": { "font-awesome": {
"main": "css/font-awesome.css" "main": [
"css/font-awesome.css",
"fonts/FontAwesome.otf",
"fonts/fontawesome-webfont.eot",
"fonts/fontawesome-webfont.svg",
"fonts/fontawesome-webfont.ttf",
"fonts/fontawesome-webfont.woff",
"fonts/fontawesome-webfont.woff2"
]
} }
} }
} }

View File

@ -19,7 +19,7 @@ gulp.task('partials', function () {
quotes: true quotes: true
})) }))
.pipe($.angularTemplatecache('templateCacheHtml.js', { .pipe($.angularTemplatecache('templateCacheHtml.js', {
module: '123', module: 'BlurAdmin',
root: 'app' root: 'app'
})) }))
.pipe(gulp.dest(conf.paths.tmp + '/partials/')); .pipe(gulp.dest(conf.paths.tmp + '/partials/'));
@ -85,7 +85,7 @@ gulp.task('other', function () {
return gulp.src([ return gulp.src([
path.join(conf.paths.src, '/**/*'), path.join(conf.paths.src, '/**/*'),
path.join('!' + conf.paths.src, '/**/*.{html,css,js,scss}') path.join('!' + conf.paths.src, '/**/*.{html,css,js,scss,md}')
]) ])
.pipe(fileFilter) .pipe(fileFilter)
.pipe(gulp.dest(path.join(conf.paths.dist, '/'))); .pipe(gulp.dest(path.join(conf.paths.dist, '/')));

View File

@ -2,38 +2,38 @@
<div class="row"> <div class="row">
<div class="col-lg-6 col-md-12"> <div class="col-lg-6 col-md-12">
<blur-panel title="Hover Rows" class-container="with-scroll table-panel"> <div ba-panel ba-panel-title="Hover Rows" ba-panel-class="with-scroll table-panel">
<div include-with-scope="app/pages/tables/widgets/hoverRows.html"></div> <div include-with-scope="app/pages/tables/widgets/hoverRows.html"></div>
</blur-panel> </div>
</div> </div>
<div class="col-lg-6 col-md-12"> <div class="col-lg-6 col-md-12">
<blur-panel title="Bordered Table" class-container="with-scroll table-panel"> <div ba-panel ba-panel-title="Bordered Table" ba-panel-class="with-scroll table-panel">
<div include-with-scope="app/pages/tables/widgets/borderedTable.html"></div> <div include-with-scope="app/pages/tables/widgets/borderedTable.html"></div>
</blur-panel> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-lg-6 col-md-12"> <div class="col-lg-6 col-md-12">
<blur-panel title="Condensed Table" class-container="with-scroll table-panel"> <div ba-panel ba-panel-title="Condensed Table" ba-panel-class="with-scroll table-panel">
<div include-with-scope="app/pages/tables/widgets/condensedTable.html"></div> <div include-with-scope="app/pages/tables/widgets/condensedTable.html"></div>
</blur-panel> </div>
</div> </div>
<div class="col-lg-6 col-md-12"> <div class="col-lg-6 col-md-12">
<blur-panel title="Striped Rows" class-container="with-scroll table-panel"> <div ba-panel ba-panel-title="Striped Rows" ba-panel-class="with-scroll table-panel">
<div include-with-scope="app/pages/tables/widgets/stripedRows.html"></div> <div include-with-scope="app/pages/tables/widgets/stripedRows.html"></div>
</blur-panel> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-lg-6 col-md-12"> <div class="col-lg-6 col-md-12">
<blur-panel title="Contextual Table" class-container="with-scroll table-panel"> <div ba-panel ba-panel-title="Contextual Table" ba-panel-class="with-scroll table-panel">
<div include-with-scope="app/pages/tables/widgets/contextualTable.html"></div> <div include-with-scope="app/pages/tables/widgets/contextualTable.html"></div>
</blur-panel> </div>
</div> </div>
<div class="col-lg-6 col-md-12"> <div class="col-lg-6 col-md-12">
<blur-panel title="Responsive Table" class-container="with-scroll table-panel"> <div ba-panel-title="Responsive Table" ba-panel-class="with-scroll table-panel">
<div include-with-scope="app/pages/tables/widgets/responsiveTable.html"></div> <div include-with-scope="app/pages/tables/widgets/responsiveTable.html"></div>
</blur-panel> </div>
</div> </div>
</div> </div>

View File

@ -2,25 +2,25 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<blur-panel title="Smart Table With Filtering, Sorting And Pagination" class-container="with-scroll"> <div ba-panel ba-panel-title="Smart Table With Filtering, Sorting And Pagination" ba-panel-class="with-scroll">
<div include-with-scope="app/pages/tables/widgets/smartTable.html"></div> <div include-with-scope="app/pages/tables/widgets/smartTable.html"></div>
</blur-panel> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<blur-panel title="Editable Cells" class-container="with-scroll"> <div ba-panel ba-panel-title="Editable Cells" ba-panel-class="with-scroll">
<div include-with-scope="app/pages/tables/widgets/editableTable.html"></div> <div include-with-scope="app/pages/tables/widgets/editableTable.html"></div>
</blur-panel> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<blur-panel title="Editable Rows" class-container="with-scroll"> <div ba-panel ba-panel-title="Editable Rows" ba-panel-class="with-scroll">
<div include-with-scope="app/pages/tables/widgets/editableRowTable.html"></div> <div include-with-scope="app/pages/tables/widgets/editableRowTable.html"></div>
</blur-panel> </div>
</div> </div>
</div> </div>

View File

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

View File

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View File

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

View File

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

View File

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

Before

Width:  |  Height:  |  Size: 394 B

After

Width:  |  Height:  |  Size: 394 B

View File

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 442 B

View File

Before

Width:  |  Height:  |  Size: 507 B

After

Width:  |  Height:  |  Size: 507 B