-
Notifications
You must be signed in to change notification settings - Fork 439
/
Copy path_table.html.haml
45 lines (45 loc) · 979 Bytes
/
_table.html.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
%h2
Sort tables
%small (doesn't work well in Konqueror and IE)
.row
.span12.example
%pre(lang="js")= example("table")
.span4
%ul
%li
Sort
%strong tables
%li
Specify custom
%code placeholder
%li
Provide custom
%strong callbacks,
to change the sorting behaviour
%p= show_code_button
.span4
%h3 Sortable Rows
%table.table.table-striped.table-bordered.sorted_table
%thead
%tr
%th A Column
%th B Column
%tbody
= iterate(6) do |i, name|
%tr
%td A #{name}
%td B #{name}
.span4
%h3 Sortable column heads
%table.table.table-striped.table-bordered
%thead.sorted_head
%tr
%th A Column
%th B Column
%th C Column
%tbody
= iterate(6) do |i, name|
%tr
%td A #{name}
%td B #{name}
%td C #{name}