Files
2016-01-26 18:24:31 +01:00

26 lines
522 B
Plaintext

//- table mixins
mixin table(header,data,type)
- var type = type || ""
table.table(class="#{type}")
thead
tr
each head, i in header
th #{head}
tbody
each row,j in data
tr
each col,k in row
td #{col}
mixin table-striped(header,data)
+table(header,data,"table-striped")
mixin table-bordered(header,data)
+table(header,data,"table-bordered")
mixin table-hover(header,data)
+table(header,data,"table-hover")
mixin table-condensed(header,data)
+table(header,data,"table-condensed")