|
|
@ -4,19 +4,19 @@ block main-content
|
|
|
|
#post-index-wrapper
|
|
|
|
#post-index-wrapper
|
|
|
|
#post-index-menu
|
|
|
|
#post-index-menu
|
|
|
|
- if(postFilter=='all')
|
|
|
|
- if(postFilter=='all')
|
|
|
|
a.current-filter(href="/@/dashboard/posts/all")= "All Posts ("+page_info.all+")"
|
|
|
|
a.current-filter(href="/@/dashboard/posts/list/all")= "All Posts ("+page_info.all+")"
|
|
|
|
- else
|
|
|
|
- else
|
|
|
|
a(href="/@/dashboard/posts/all")= "All Posts ("+page_info.all+")"
|
|
|
|
a(href="/@/dashboard/posts/list/all")= "All Posts ("+page_info.all+")"
|
|
|
|
| .
|
|
|
|
| .
|
|
|
|
- if(postFilter=='published')
|
|
|
|
- if(postFilter=='published')
|
|
|
|
a.current-filter(href="/@/dashboard/posts/published")= "Published ("+page_info.published+")"
|
|
|
|
a.current-filter(href="/@/dashboard/posts/list/published")= "Published ("+page_info.published+")"
|
|
|
|
- else
|
|
|
|
- else
|
|
|
|
a(href="/@/dashboard/posts/published")= "Published ("+page_info.published+")"
|
|
|
|
a(href="/@/dashboard/posts/list/published")= "Published ("+page_info.published+")"
|
|
|
|
| .
|
|
|
|
| .
|
|
|
|
- if(postFilter=='deleted')
|
|
|
|
- if(postFilter=='deleted')
|
|
|
|
a.current-filter(href="/@/dashboard/posts/deleted")= "Deleted ("+page_info.deleted+")"
|
|
|
|
a.current-filter(href="/@/dashboard/posts/list/deleted")= "Deleted ("+page_info.deleted+")"
|
|
|
|
- else
|
|
|
|
- else
|
|
|
|
a(href="/@/dashboard/posts/deleted")= "Deleted ("+page_info.deleted+")"
|
|
|
|
a(href="/@/dashboard/posts/list/deleted")= "Deleted ("+page_info.deleted+")"
|
|
|
|
|
|
|
|
|
|
|
|
a.add-new-post(href="/@/dashboard/posts/add/new") + Create New Post
|
|
|
|
a.add-new-post(href="/@/dashboard/posts/add/new") + Create New Post
|
|
|
|
#posts-list
|
|
|
|
#posts-list
|
|
|
@ -34,13 +34,13 @@ block main-content
|
|
|
|
- if(prev <= 0) prev = page_count
|
|
|
|
- if(prev <= 0) prev = page_count
|
|
|
|
|
|
|
|
|
|
|
|
br
|
|
|
|
br
|
|
|
|
a.page-btns(href="/@/dashboard/posts/"+postFilter+"/"+prev)
|
|
|
|
a.page-btns(href="/@/dashboard/posts/list/"+postFilter+"/"+prev)
|
|
|
|
svg(viewBox="0 0 20 20" class="icons")
|
|
|
|
svg(viewBox="0 0 20 20" class="icons")
|
|
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-chevron-left')
|
|
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-chevron-left')
|
|
|
|
|
|
|
|
|
|
|
|
span.paginate= "PAGE "+page_index+" OF "+page_count
|
|
|
|
span.paginate= "PAGE "+page_index+" OF "+page_count
|
|
|
|
|
|
|
|
|
|
|
|
a.page-btns(href="/@/dashboard/posts/"+postFilter+"/"+next)
|
|
|
|
a.page-btns(href="/@/dashboard/posts/list/"+postFilter+"/"+next)
|
|
|
|
svg(viewBox="0 0 20 20" class="icons")
|
|
|
|
svg(viewBox="0 0 20 20" class="icons")
|
|
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-chevron-right')
|
|
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-chevron-right')
|
|
|
|
|
|
|
|
|
|
|
|