dash index redesigned and cleaned up
parent
2bdeb81979
commit
fc1e44ad73
File diff suppressed because one or more lines are too long
@ -0,0 +1,7 @@
|
|||||||
|
#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')
|
@ -1,24 +1,10 @@
|
|||||||
#dash-menu
|
|
||||||
a#entries(href="/@/dashboard/posts")
|
|
||||||
svg(viewBox="0 0 20 20" class="icons")
|
|
||||||
use(xlink:href='/dash/assets/images/sprite.svg#entypo-book')
|
|
||||||
label Posts
|
|
||||||
a#settings(href="/@/dashboard/settings")
|
|
||||||
svg(viewBox="0 0 20 20" class="icons")
|
|
||||||
use(xlink:href='/dash/assets/images/sprite.svg#entypo-cog')
|
|
||||||
label Settings
|
|
||||||
a#navigation(href="/@/dashboard/navigation")
|
|
||||||
svg(viewBox="0 0 20 20" class="icons")
|
|
||||||
use(xlink:href='/dash/assets/images/sprite.svg#entypo-list')
|
|
||||||
label Navigation
|
|
||||||
#dash-recent
|
#dash-recent
|
||||||
#recent-list
|
#recent-list
|
||||||
h3 Recent
|
h3 Recent
|
||||||
br
|
|
||||||
- var index = 0;
|
- var index = 0;
|
||||||
- for ( index; index < items.length; index++)
|
- var cap = 4; // number of respect posts to display
|
||||||
|
- for ( index; index < cap; index++)
|
||||||
a(href="/@/dashboard/posts/edit/"+items[index].post.uuid id=items[index].post.uuid)
|
a(href="/@/dashboard/posts/edit/"+items[index].post.uuid id=items[index].post.uuid)
|
||||||
= items[index].post.title
|
div(style="background:url("+items[index].post.feature.substr(8)+") no-repeat center center")
|
||||||
br
|
label= items[index].post.title
|
||||||
br
|
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
#dash-login.columns
|
#dash-login
|
||||||
#dash-index-one.column
|
.dash-form#dash-form
|
||||||
h1 What up
|
form(class='login', name="login" action="/@/dashboard/login" method="POST")
|
||||||
#dash-index-two.column
|
input(type='text', name='handle' class='form-control', placeholder='handle', required, autofocus)
|
||||||
.dash-form#dash-form
|
input(type='password', name='password' class='form-control', placeholder='password', required)
|
||||||
form(class='login', name="login" action="/@/dashboard/login" method="POST")
|
button(id="login-btn", class='login-btn', type='submit') SUBMIT YOUR STUFF
|
||||||
input(type='text', name='handle' class='form-control', placeholder='handle', required, autofocus)
|
|
||||||
input(type='password', name='password' class='form-control', placeholder='password', required)
|
|
||||||
button(id="login-btn", class='login-btn', type='submit') COME ON IN
|
|
@ -1,12 +1,11 @@
|
|||||||
text-drop-shadow(rgb-value, opacity, offsetX, offsetY, blur)
|
text-drop-shadow(rgb-value, opacity, offsetX, offsetY, blur)
|
||||||
text-shadow: offsetX offsetY blur rgba(rgb-value, opacity);
|
text-shadow offsetX offsetY blur rgba(rgb-value, opacity)
|
||||||
|
|
||||||
|
|
||||||
object-transitions(rate)
|
object-transitions(rate)
|
||||||
-moz-transition:all rate linear;
|
-moz-transition all rate linear
|
||||||
-webkit-transition:all rate linear;
|
-webkit-transition all rate linear
|
||||||
-o-transition:all rate linear;
|
-o-transition all rate linear
|
||||||
transition:all rate linear;
|
transition all rate linear
|
||||||
|
|
||||||
background-opacity(rgb-value, opacity)
|
background-opacity(rgb-value, opacity)
|
||||||
background: rgba(rgb-value, opacity);
|
background rgba(rgb-value, opacity)
|
||||||
|
Loading…
Reference in New Issue