diff options
Diffstat (limited to 'web/views/build_history.erb')
-rw-r--r-- | web/views/build_history.erb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/web/views/build_history.erb b/web/views/build_history.erb deleted file mode 100644 index fde2445..0000000 --- a/web/views/build_history.erb +++ /dev/null @@ -1,24 +0,0 @@ -<h1 class="text-center"><%=builds.first[:package_id]%></h1> - -<table id="sortable" class="table table-bordered table-condensed"> - <thead> - <tr> - <th class="width-50">Build Date</th> - <th class="width-50">Build Result</th> - </tr> - </thead> - <%builds.each do |build|%> - <%next if build.nil?%> - <%result = 'success' if build[:result] == 'succeeded'%> - <%result = 'info' if build[:result] == 'timed out'%> - <%result = 'danger' if build[:result] == 'failed'%> - <tr> - <td class="width-50"> - <%=Time.at(build[:time].to_i).strftime('%Y-%m-%d')%> - </td> - <td class="width-50 <%=result%>"> - <a href="/build_logs/<%=build[:package_id]%>/<%=build[:time]%>"><%=build[:result].camelcase%></a> - </td> - </tr> - <%end%> -</table> |