app/views/resizing/rails/videos/index.html.slim in resizing-rails-0.1.0.pre vs app/views/resizing/rails/videos/index.html.slim in resizing-rails-0.1.0.pre2
- old
+ new
@@ -1,31 +1,36 @@
h1 動画アップロード
= render 'resizing/rails/videos/upload_form'
+h1 動画一覧
+
= paginate(@videos)
.row.row-cols-1.row-cols-md-4.g-3
- @videos.each do |video|
.col
.card.h-100 data-video-url=video.data_self_url
img.js-video-thumbnail.card-img-top
.card-body
- h5.card-title = "#{video.id}:#{video.data_id}"
+ h5.card-title = "#{video.id}"
ul.list-group.list-group-flush
li.list-group-item
- | State:
- span.video-state = video.data_state
+ dl
+ dt State
+ dd.video-state
li.list-group-item
- | AVC
- a.card-link.avc-url.data-copy-url href='#'
- | Copy URL
+ dl
+ dt AVC
+ dd
+ a.card-link.avc-url.data-copy-url href='#'
+ | Copy URL
li.list-group-item
- | HEVC
- a.card-link.hevc-url.data-copy-url href='#'
- | Copy URL
- .card-footer
- small.text-muted = 'asfadf'
+ dl
+ dt HEVC
+ dd
+ a.card-link.hevc-url.data-copy-url href='#'
+ | Copy URL
.card-body
= link_to 'Show video details', video, class: 'btn btn-primary'
= paginate(@videos)