diff options
author | Peter Wilmott <p@p8952.info> | 2015-03-22 22:12:05 +0000 |
---|---|---|
committer | Peter Wilmott <p@p8952.info> | 2015-03-22 22:12:05 +0000 |
commit | f7c3fe3e0368ba5bb4109fafd40db4d92db61024 (patch) | |
tree | a0610ca53b3d71646c6a0baafc18d82ea7fa6aad /web/views/repoman/repoman_history.erb | |
parent | Use 8 threads when calculating rdeps (diff) | |
parent | Exit early if one factor is nil, force the ordering of packages (diff) | |
download | ruby-tinderbox-f7c3fe3e0368ba5bb4109fafd40db4d92db61024.tar.gz ruby-tinderbox-f7c3fe3e0368ba5bb4109fafd40db4d92db61024.tar.bz2 ruby-tinderbox-f7c3fe3e0368ba5bb4109fafd40db4d92db61024.zip |
Merge pull request #14 from p8952/new_targets
Add New Targets Page
Diffstat (limited to 'web/views/repoman/repoman_history.erb')
-rw-r--r-- | web/views/repoman/repoman_history.erb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/views/repoman/repoman_history.erb b/web/views/repoman/repoman_history.erb new file mode 100644 index 0000000..bc26cd8 --- /dev/null +++ b/web/views/repoman/repoman_history.erb @@ -0,0 +1,20 @@ +<h1 class="text-center"><%=repomans.first.package[:identifier]%></h1> + +<table id="sortable" class="table table-bordered table-condensed"> + <thead> + <tr> + <th class="width-50">Check Date</th> + <th class="width-5o">Check Result</th> + </tr> + </thead> + <%repomans.each do |repoman|%> + <tr> + <td class="width-50"> + <%=Time.at(repoman[:timestamp].to_i).strftime('%Y-%m-%d')%> + </td> + <td class="width-50 <%=repoman[:result]%>"> + <a href="/repoman_logs/<%=repoman.package[:sha1]%>/<%=repoman[:timestamp]%>"><%=repoman[:result].camelcase%></a> + </td> + </tr> + <%end%> +</table> |