Sha256: 375f17729b36f8874b64479f5c041b7bfde2953d7703e2fa8004fd4fbfd38f36
Contents?: true
Size: 1.96 KB
Versions: 11
Compression:
Stored size: 1.96 KB
Contents
<div class="search"> <div class="column-block"> <h1>Payment Test Status</h1> <div id="payment-status-table-wrapper"> <table id="payment-status-table" class="table table-condensed table-striped mobile-data"> <thead> <tr> <th>Method</th> <th> <span>Status</span> <div class="btn-group"> <a class="btn btn-xs dropdown-toggle" data-toggle="dropdown" href="#"> Set status <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><%= link_to 'Clear all status', reset_path, :method => :post %></li> <li><%= link_to 'Configure ERROR', set_failed_state_path(:state => :ERROR), :method => :post %></li> <li><%= link_to 'Configure PENDING', set_failed_state_path(:state => :PENDING), :method => :post %></li> <li><%= link_to 'Configure CANCELED', set_failed_state_path(:state => :CANCELED), :method => :post %></li> <li><%= link_to 'Configure THROW', set_failed_state_path(:state => :THROW), :method => :post %></li> </ul> </div> </th> </tr> </thead> <tbody> <% @methods.each do |m| %> <tr> <td><%= m %></td> <td> <span class="label label-<%= @status == 'CLEAR' ? 'success' : (@status.starts_with?('SLEEP') ? 'warning' : 'danger') %>"><%= @status %></span> </td> </tr> <% end %> </tbody> </table> </div> </div> </div>
Version data entries
11 entries across 11 versions & 2 rubygems