Changed dashboard breadcrumb separator to angle icon

This commit is contained in:
Victoria Wang 2014-10-24 19:47:16 -07:00
parent 230a6b4b0d
commit 51bc2b3fae
2 changed files with 9 additions and 2 deletions

View file

@ -160,6 +160,13 @@
float: left; float: left;
font-weight:bold; font-weight:bold;
margin-top: 4px; margin-top: 4px;
a {
color: white;
}
.fa-angle-right {
font-size: 1.3em;
margin: 0 .2em 0 .2em;
}
} }
.files .actions { .files .actions {
float: right; float: right;
@ -292,7 +299,7 @@
display: block; display: block;
padding-top: 35px; padding-top: 35px;
font-size: 14px; font-size: 14px;
color: #bbb; color: #C0C0C0;
font-weight: bold; font-weight: bold;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;

View file

@ -92,7 +92,7 @@
<% dir_array = @dir.split '/' %> <% dir_array = @dir.split '/' %>
<% dir_array.each_with_index do |dir,i| %> <% dir_array.each_with_index do |dir,i| %>
<% if i+1 < dir_array.length %> <% if i+1 < dir_array.length %>
<a href="/dashboard?dir=<%= Rack::Utils.escape dir %>"><%= dir %></a> / <a href="/dashboard?dir=<%= Rack::Utils.escape dir %>"><%= dir %></a> <i class="fa fa-angle-right"></i>
<% else %> <% else %>
<%= dir %> <%= dir %>
<% end %> <% end %>