fixed flash message. better tree css

This commit is contained in:
Dmitriy Zaporozhets 2012-02-12 19:47:37 +02:00
parent 0cd873c2d3
commit 48bc4fc214
5 changed files with 22 additions and 6 deletions

View file

@ -1,9 +1,8 @@
- if alert || notice
- text = alert || notice
%div{:style => "display:none", :id => "flash_container"}
.container
%center
%h4= text
%center
%h4= text
:javascript
$(function(){
$("#flash_container").slideDown("slow");

View file

@ -19,7 +19,7 @@
= render :partial => "refs/tree_file", :locals => { :name => tree.name, :content => tree.data, :file => tree }
- else
- contents = tree.contents
%table#tree-slider.bordered-table.zebra-striped
%table#tree-slider.bordered-table
%thead
%th Name
%th Last Update