File tree Expand file tree Collapse file tree 7 files changed +25
-19
lines changed
Expand file tree Collapse file tree 7 files changed +25
-19
lines changed Original file line number Diff line number Diff line change 145145<!-- Empty -->
146146@if (Model .BlogPosts .Count () == 0 )
147147{
148- <div class =" bf-posts -empty" >
148+ <div class =" bf-list -empty" >
149149 No posts found !
150150 </div >
151151}
152152<!-- /Empty -->
153153<!-- Pagination -->
154154@if (pgr .ShowNewer || pgr .ShowOlder )
155155{
156- <ul class =" bf-posts- pagination d-flex" >
156+ <ul class =" bf-pagination d-flex" >
157157 @if (pgr .ShowOlder )
158158 {
159- <li class =" item" ><a class =" item- link" href =" ~/@olderPage" ><i class =" fa fa-chevron-left" ></i ></a ></li >
159+ <li class =" bf-pagination- item" ><a class =" bf-pagination- link" href =" ~/@olderPage" ><i class =" bf-pagination-icon fa fa-chevron-left" ></i ></a ></li >
160160 }
161161 @if (pgr .ShowNewer )
162162 {
163- <li class =" item" ><a class =" item- link" href =" ~/@newerPage" ><i class =" fa fa-chevron-right" ></i ></a ></li >
163+ <li class =" bf-pagination- item" ><a class =" bf-pagination- link" href =" ~/@newerPage" ><i class =" bf-pagination-icon fa fa-chevron-right" ></i ></a ></li >
164164 }
165- <li class =" item" ><span class =" item -count" >@cntFrom - @cntTo out of @pgr.Total </span ></li >
165+ <li class =" bf-pagination- item" ><span class =" bf-pagination -count" >@cntFrom - @cntTo out of @pgr.Total </span ></li >
166166 </ul >
167167}
168168<!-- /Pagination -->
Original file line number Diff line number Diff line change 3333 </li >
3434 }
3535 </ul >
36+ <!-- Pagination -->
3637 @if (pgr .ShowNewer || pgr .ShowOlder )
3738 {
38- <ul class =" bf-posts- pagination" >
39+ <ul class =" bf-pagination d-flex " >
3940 @if (pgr .ShowOlder )
4041 {
41- <li class =" item" ><a class =" item- link" href =" ~/admin/settings/application?page=@pgr.Older" ><i class =" fa fa-chevron-left" ></i ></a ></li >
42+ <li class =" bf-pagination- item" ><a class =" bf-pagination- link" href =" ~/admin/settings/application?page=@pgr.Older" ><i class =" bf-pagination-icon fa fa-chevron-left" ></i ></a ></li >
4243 }
4344 @if (pgr .ShowNewer )
44- {
45- <li class =" item" ><a class =" item- link" href =" ~/admin/settings/application?page=@pgr.Newer" ><i class =" fa fa-chevron-right" ></i ></a ></li >
45+ {
46+ <li class =" bf-pagination- item" ><a class =" bf-pagination- link" href =" ~/admin/settings/application?page=@pgr.Newer" ><i class =" bf-pagination-icon fa fa-chevron-right" ></i ></a ></li >
4647 }
47- <li class =" item" ><a class =" item- count" >@cntFrom - @cntTo out of @pgr.Total </a ></li >
48+ <li class =" bf-pagination- item" ><span class =" bf-pagination- count" >@cntFrom - @cntTo out of @pgr.Total </span ></li >
4849 </ul >
4950 }
51+ <!-- /Pagination -->
5052</div >
5153
5254<!-- Create User Modal -->
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ var postsController = function(dataService) {
7373 }
7474
7575 function loading ( ) {
76- $ ( postActionButtons ) . attr ( 'disabled' , 'disabled' ) ;
77- $ ( '.spin-icon ' ) . fadeIn ( ) ;
76+ $ ( actionBtns ) . attr ( 'disabled' , 'disabled' ) ;
77+ $ ( '.loading ' ) . fadeIn ( ) ;
7878 }
7979
8080 function reload ( ) {
Original file line number Diff line number Diff line change 1- .bf-posts- pagination {
1+ .bf-pagination {
22 @include unstyled (ul);
3- padding : 0 2 rem 2rem ;
3+ padding : 2rem ;
44
5- i {
5+ & -item {}
6+
7+ & -link {}
8+
9+ & -icon {
610 width : 1rem ;
711 height : 1rem ;
812 display : inline-block ;
913 margin-right : 1rem ;
1014 }
1115 @media screen and (max-width : 991px ) {
12- padding : 0 1 rem 1rem ;
16+ padding : 1rem ;
1317 }
1418}
Original file line number Diff line number Diff line change 22@import " search" ;
33@import " list" ;
44@import " grid" ;
5- @import " pagination" ;
Original file line number Diff line number Diff line change 1919
2020// Components
2121@import " components/list" ;
22+ @import " components/pagination" ;
2223@import " components/utilities" ;
2324@import " components/button" ;
2425@import " components/dropdown" ;
You can’t perform that action at this time.
0 commit comments