diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-25 15:28:58 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-25 15:28:58 +0200 |
commit | 44b7b0b25befea64ab85d7da8eb93aa905c76e08 (patch) | |
tree | 797137cdd13b247790514dfa083ee2670f1e5298 | |
parent | made the lastactivity section PRETTY. OH SO PRETTY (diff) | |
download | Divid-44b7b0b25befea64ab85d7da8eb93aa905c76e08.tar.gz |
been working on the last activity list. made it more pretty.
-rw-r--r-- | public/css/shame.less | 6 | ||||
-rw-r--r-- | views/dashboard.ejs | 28 | ||||
-rw-r--r-- | views/project.ejs | 10 |
3 files changed, 21 insertions, 23 deletions
diff --git a/public/css/shame.less b/public/css/shame.less index dc5e7d7..023aedd 100644 --- a/public/css/shame.less +++ b/public/css/shame.less @@ -197,12 +197,12 @@ div.lastactivity .activity .details { .lastactivity .activity .date { width: 30px; } -.lastactivity .activity .date .row-fluid .row-fluid { text-align: center; } -.lastactivity .activity .date .row-fluid .row-fluid:first-child { +.lastactivity .activity .date .row-fluid { text-align: center; } +.lastactivity .activity .date .row-fluid:first-child { background-color: @gray; color: @white; } -.lastactivity .activity .date .row-fluid .row-fluid:nth-child(2) { +.lastactivity .activity .date .row-fluid:nth-child(2) { background-color: @grayLight; color: @black; line-height: 12px; diff --git a/views/dashboard.ejs b/views/dashboard.ejs index e9df301..9009686 100644 --- a/views/dashboard.ejs +++ b/views/dashboard.ejs @@ -104,7 +104,11 @@ <h1>Siste aktivitet</h1> <div class="lastactivity"> <div class="row-fluid act443 activity"> - <div class="span8"> + <div class="span1 date"> + <div class="row-fluid">12</div> + <div class="row-fluid info">MAR</div> + </div> + <div class="span7"> <div class="row-fluid"> <div class="span2 info text-right">prosjekt</div> <div class="span10"><a href="/turidl/Kosekveldene">turidl/<strong>Kosekveldene</strong></a></div> @@ -118,18 +122,16 @@ <div class="span10">Mer kaviar</div> </div> </div> - <div class="span4"> - <div class="row-fluid"> - <div class="span3 info text-right">når</div> - <div class="span9">2013-04-15 22:45</div> - </div> - <div class="row-fluid"> - <div class="span12"> </div> - </div> - <div class="row-fluid"> - <div class="span1"> </div> - <div class="span4 info text-right">sum</div> - <div class="span7">24 kr</div> + <div class="span1"> + <div class="row-fluid"> </div> + <div class="row-fluid"> </div> + <div class="row-fluid"><a href="http://i.minus.com/iJvlaTeLavINR.gif"><i class="icon-picture"></i></a></div> + </div> + <div class="span2"> + <div class="row-fluid"> </div> + <div class="row-fluid"> + <div class="span4 info text-right smallfullwidth">sum </div> + <div class="span7 smallfullwidth"><strong>24 kr</strong></div> </div> </div> </div> diff --git a/views/project.ejs b/views/project.ejs index bcb87fa..4bee9fd 100644 --- a/views/project.ejs +++ b/views/project.ejs @@ -152,13 +152,9 @@ <div class="row-fluid act443 activity"> <div class="row-fluid"> <div class="span1 date"> - <div class="row-fluid"> - <div class="span12"> - <div class="row-fluid">24</div> - <div class="row-fluid info">APR</div> - <div class="row-fluid"><a href="#details-443" data-toggle="collapse" class="no-text-decoration" data-parent="#lastactivity">▼</a></div> - </div> - </div> + <div class="row-fluid">24</div> + <div class="row-fluid info">APR</div> + <div class="row-fluid"><a href="#details-443" data-toggle="collapse" class="no-text-decoration" data-parent="#lastactivity">▼</a></div> </div> <div class="span6"> <div class="row-fluid"> |