Initial styling and links
This commit is contained in:
parent
1b5698c1f5
commit
b62801bd64
4 changed files with 35 additions and 10 deletions
7
app/views/admins/_admin_bar.haml
Normal file
7
app/views/admins/_admin_bar.haml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#admin_nav
|
||||||
|
%h3
|
||||||
|
%ul
|
||||||
|
%li= link_to 'User Search', user_search_path
|
||||||
|
%li= link_to 'Pod Stats', pod_stats_path
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
|
|
||||||
|
.span-24
|
||||||
|
= render :partial => 'admins/admin_bar.haml'
|
||||||
|
%br
|
||||||
|
%br
|
||||||
|
|
||||||
.span-24.last
|
.span-24.last
|
||||||
%br
|
|
||||||
%br
|
|
||||||
%h1
|
%h1
|
||||||
Usage Statistics
|
Usage Statistics
|
||||||
%div{:style => "float:right;"}
|
%div{:style => "float:right;"}
|
||||||
|
|
@ -68,7 +71,7 @@
|
||||||
/#stats_graph{:style => "text-align:right;position:relative;vertical-align:bottom;background-color:#eee;"}
|
/#stats_graph{:style => "text-align:right;position:relative;vertical-align:bottom;background-color:#eee;"}
|
||||||
/ = @posts_per_day.inspect
|
/ = @posts_per_day.inspect
|
||||||
/ /- @posts_per_day.each do |key, val|
|
/ /- @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
|
%br
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
|
|
||||||
|
.span-24
|
||||||
|
= render :partial => 'admins/admin_bar.haml'
|
||||||
|
%br
|
||||||
|
%br
|
||||||
|
|
||||||
%h3
|
%h3
|
||||||
= form_tag 'admin_inviter', :method => :get do
|
= form_tag 'admin_inviter', :method => :get do
|
||||||
email to invite:
|
email to invite:
|
||||||
|
|
|
||||||
|
|
@ -3397,10 +3397,20 @@ ul#getting_started
|
||||||
|
|
||||||
.green
|
.green
|
||||||
:color green
|
:color green
|
||||||
// .resend
|
.resend
|
||||||
// :color black
|
:color black
|
||||||
// &:hover
|
&:hover
|
||||||
// :text-decoration none
|
:text-decoration none
|
||||||
// :color black
|
:color black
|
||||||
// &:hover
|
&:hover
|
||||||
// :text-decoration none
|
:text-decoration none
|
||||||
|
|
||||||
|
#admin_nav
|
||||||
|
:float left
|
||||||
|
:font-size 1em
|
||||||
|
ul
|
||||||
|
:display inline-block
|
||||||
|
li
|
||||||
|
:display inline
|
||||||
|
:margin
|
||||||
|
:right 1em
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue