Initial commit
This commit is contained in:
13
app/views/video_analyses/_video_status_updated.html.erb
Normal file
13
app/views/video_analyses/_video_status_updated.html.erb
Normal file
@@ -0,0 +1,13 @@
|
||||
<% # TODO: Is there a way to consolidate this with the main template? %>
|
||||
<% if video.analysis_pending? %>
|
||||
<div class="p-3 text-center text-muted">
|
||||
<%= fa_icon "cog spin" %> Video is still being analyzed
|
||||
</div>
|
||||
<% else %>
|
||||
<div class="border p-3 text-center text-muted">
|
||||
<p>Video analysis has completed!</p>
|
||||
<%= link_to "", class: "btn btn-sm btn-success" do %>
|
||||
<%= fa_icon "refresh" %> Refresh
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user