Use class instead id for css styles
This commit is contained in:
parent
69751aac32
commit
b82cb2630c
4 changed files with 12 additions and 23 deletions
|
@ -8,12 +8,12 @@
|
|||
%li= link
|
||||
.clear
|
||||
%div.tree_progress
|
||||
#tree-content-holder
|
||||
%div#tree-content-holder.tree-content-holder
|
||||
- if tree.is_blob?
|
||||
= render partial: "tree/tree_file", locals: { name: tree.name, content: tree.data, file: tree }
|
||||
- else
|
||||
- contents = tree.contents
|
||||
%table#tree-slider{class: "table_#{@hex_path}" }
|
||||
%table#tree-slider{class: "table_#{@hex_path} tree-table" }
|
||||
%thead
|
||||
%th Name
|
||||
%th Last Update
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
= render "head"
|
||||
#tree-holder= render partial: "tree", locals: {commit: @commit, tree: @tree}
|
||||
%div#tree-holder.tree-holder
|
||||
= render "tree", commit: @commit, tree: @tree
|
||||
|
||||
:javascript
|
||||
$(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue