Site para o estudio Velvet Design em São Paulo. http://velvetdesign.com.br

dashboard.html.erb 1.4KB

    <div class="row"> <%= render 'admin_panel/sidebar_nav' %> <div class="span9"> <div class="hero-unit well" style="margin-top: 20px; padding-top: 20px; padding-bottom: 30px;"> <h1> <span class="fa-stack fa-lg"> <i class="fa fa-square-o fa-stack-2x"></i> <i class="fa fa-tachometer fa-stack-1x"></i> </span> <%= t "admin_panel.dashboard" %></h1> </div> <%= bootstrap_flash %> <div class="well summary"> <ul> <li style="width: 25%"> <a href="<%= admin_contact_messages_path %>"><span class="count"><%= (@new_messages.length.to_s + '/' + @contact_messages.length.to_s) %></span> <% if @new_messages.length > 1 %> <% t "admin_panel.new_messages" %> <%= t "admin_panel.contact_messages" %> <% elsif @new_messages.length == 1 %> <% t "admin_panel.new" %> <%= t "admin_panel.message" %> <% else %> <%= t "admin_panel.contact_messages" %> <% end %> </a> </li> <li style="width: 25%"> <a href="<%= admin_users_path %>"><span class="count"><%= @users.length %></span> <%= t "admin_panel.users" %></a> </li> <li style="width: 25%"> <a href="<%= admin_files_path %>"><span class="count"><%= @files.length %></span> <%= t "admin_panel.files" %></a> </li> <li class="last" style="width: 25%"> <a href="<%= admin_posts_path %>"><span class="count"><%= @posts.length %></span> <%= t "admin_panel.posts" %></a> </li> </ul> </div> </div> </div>