asciinema.org/app/views/asciicasts/index.html.slim

33 lines
1008 B
Plaintext
Raw Normal View History

2013-11-18 17:52:34 +00:00
- content_for(:title, asciicast_list.category_name)
.asciicasts-list-page
.container
.row
.col-md-3
= render 'shared/browse_categories', current_category: asciicast_list.category
2013-08-14 16:16:03 +00:00
.col-md-9
.row
.col-md-6
h2 = asciicast_list.category_name
.col-md-6.text-right
.sorting
span Sort by
.btn-group.text-left
button.btn.btn-default.dropdown-toggle[type="button" data-toggle="dropdown"]
| #{asciicast_list.order}
span.caret
ul.dropdown-menu[role="menu"]
li
a href="?order=recency"
| recency
li
a href="?order=popularity"
| popularity
.row.asciicast-list
.col-md-12
= render 'asciicasts/previews', asciicasts: asciicast_list.items, per_row: 2
= paginate asciicast_list.items