cleaned up dash index styles, cleaned up header
parent
fc59ab90f6
commit
b99890d522
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 8.2 KiB |
File diff suppressed because one or more lines are too long
@ -1,7 +1,4 @@
|
||||
#dash-menu
|
||||
a#settings(href="/@/dashboard/settings")
|
||||
svg(viewBox="0 0 10 10" class="icons")
|
||||
use(xlink:href='/dash/assets/images/sprite.svg#entypo-cog')
|
||||
a#navigation(href="/@/dashboard/navigation")
|
||||
svg(viewBox="0 0 20 20" class="icons")
|
||||
use(xlink:href='/dash/assets/images/sprite.svg#entypo-list')
|
||||
a#settings(href="/@/dashboard/settings") Settings
|
||||
| .
|
||||
a#navigation(href="/@/dashboard/navigation") Navigation
|
||||
|
@ -1,11 +1,18 @@
|
||||
#dash-recent
|
||||
#recent-list
|
||||
h3 Recent
|
||||
|
||||
.recent-header
|
||||
h3 Recent
|
||||
.index-menu
|
||||
a(href='/@/dashboard/posts') View Posts
|
||||
| .
|
||||
a(href='/@/dashboard/posts/add/new') Create Post
|
||||
br
|
||||
- var index = 0;
|
||||
- var cap = 4; // number of respect posts to display
|
||||
- var cap = 5; // number of posts to display
|
||||
- for ( index; index < cap; index++)
|
||||
a(href="/@/dashboard/posts/edit/"+items[index].post.uuid id=items[index].post.uuid)
|
||||
div(style="background:url("+items[index].post.feature.substr(8)+") no-repeat center center / cover")
|
||||
label= items[index].post.title
|
||||
span= items[index].post.created
|
||||
a.post-link(href="/@/dashboard/posts/edit/"+items[index].post.uuid id=items[index].post.uuid style="background:url("+items[index].post.feature.substr(8)+") no-repeat center center / cover")
|
||||
div
|
||||
label= items[index].post.title
|
||||
span= items[index].post.created
|
||||
|
||||
|
Loading…
Reference in New Issue