2023-03-03 14:19:20 -05:00
|
|
|
<div id="video-header" class="row">
|
2023-03-03 15:49:09 -05:00
|
|
|
<div class="eight columns">
|
2023-03-03 14:19:20 -05:00
|
|
|
<h1 class="video-name"><%= video.name %></h1>
|
|
|
|
<h4 class="video-created">Item added at: <%= date_format(video.created_at) %></h4>
|
|
|
|
<% if video.updated_at %>
|
|
|
|
<h4 class="video-updated">Last updated at: <%= date_format(video.updated_at) %></h4>
|
|
|
|
<% end %>
|
|
|
|
|
2023-03-03 15:49:09 -05:00
|
|
|
<p class="video-description"><%= video.description %></p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="sidebar" class="four columns">
|
|
|
|
<div class="actions-bar">
|
|
|
|
<span><a href="/video/<%= video.id %>/edit">Edit <i class="fa-solid fa-pen-to-square"></i></a></span><span>
|
|
|
|
<a href="/video/<%= video.id %>/delete">Delete <i class="fa-solid fa-trash"></i></a></span>
|
|
|
|
</div>
|
|
|
|
<div class="video-channel">
|
2023-03-04 08:47:07 -05:00
|
|
|
<p>Channel: <a href="/channel/<%= video.channel.id %>"><span><%= video.channel.name %></span></a></p>
|
2023-03-03 15:49:09 -05:00
|
|
|
</div>
|
|
|
|
<div class="video-serial">
|
|
|
|
<p>Serial: <span><%= serialize(video.serial) %></span></p>
|
|
|
|
</div>
|
2023-03-03 23:22:17 -05:00
|
|
|
<div class="video-path">
|
|
|
|
<p><span><%= video.directory_path %></span></p>
|
|
|
|
</div>
|
2023-03-03 14:19:20 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-04 11:14:54 -05:00
|
|
|
|
|
|
|
<div id="video-script" class="row">
|
|
|
|
<div class="twelve columns">
|
|
|
|
<h3>Video script</h3>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<%= video.parseScript() %>
|
|
|
|
</div>
|
|
|
|
</div>
|