Merge pull request #1795 from lksnyder0/admin_nav

Admin nav
This commit is contained in:
Maxwell Salzberg 2011-08-25 16:35:09 -07:00
commit 8dfb278509
4 changed files with 40 additions and 10 deletions

View file

@ -0,0 +1,8 @@
#admin_nav
%h2
Pages
%ul
%li= link_to 'User Search', user_search_path
%li= link_to 'Pod Stats', pod_stats_path

View file

@ -1,7 +1,10 @@
.span-24
= render :partial => 'admins/admin_bar.haml'
%br
%br
.span-24.last
%br
%br
%h1
Usage Statistics
%div{:style => "float:right;"}
@ -68,7 +71,7 @@
/#stats_graph{:style => "text-align:right;position:relative;vertical-align:bottom;background-color:#eee;"}
/ = @posts_per_day.inspect
/ /- @posts_per_day.each do |key, val|
/ / .asdo{:style => "display:inline-block;width:35px;vertical-align:bottom;background-color:#666;height:#{(val/@most_posts_within)*200}px;"}
/ /.asdo{:style => "display:inline-block;width:35px;vertical-align:bottom;background-color:#666;height:#{(val/@most_posts_within)*200}px;"}
%br

View file

@ -1,4 +1,9 @@
.span-24
= render :partial => 'admins/admin_bar.haml'
%br
%br
%h3
= form_tag 'admin_inviter', :method => :get do
email to invite:

View file

@ -3369,10 +3369,24 @@ ul#getting_started
.green
:color green
// .resend
// :color black
// &:hover
// :text-decoration none
// :color black
// &:hover
// :text-decoration none
.resend
:color black
&:hover
:text-decoration none
:color black
&:hover
:text-decoration none
#admin_nav
:font-size 1em
:border
:bottom 2px solid #777
:margin
:bottom 20px
ul
:display inline
li
:font-size 0.8em
:display inline
:margin
:right 0.5em