Sha256: 9c4695bb1af8f1640c7088c2f7f6f27b5778d7addcde4c8388d981e650ac09c9

Contents?: true

Size: 1.12 KB

Versions: 20

Compression:

Stored size: 1.12 KB

Contents

<% redcar_css = File.expand_path(File.join(Redcar.root, %w(plugins html_view views default.css))) %>
<% watermark  = File.expand_path(File.join(Redcar.root, %w(plugins html_view views watermark-48.png))) %>
<link rel="stylesheet" href="file://<%= redcar_css %>" type="text/css" media="screen">

<div id="top">
  <img src="file://<%=watermark%>" id="watermark"/>
  <h3>Command History</h3>
  <a href="controller/index">Refresh</a>
</div>
<div class="main">
  <table>
    <tr>
      <th>Completed</th>
      <th>Description</th>
    </tr>
    <% Redcar.app.history.reverse.each do |command| %>
      <tr class="<%= "error" if command.error %>">
        <td><%#= command.completed_time.strftime("%X") %></td>
        <td><%= CGI.escapeHTML(command.class.to_s) %></td>
      </tr>
      <% if e = command.error %>
        <tr>
          <td colspan="3">
            <strong><%= e.class %></strong>
            <%= CGI.escapeHTML(e.message) %>
            <br /><br />
            <% e.backtrace.each do |line| %>
              <%= line %><br />
            <% end %>
          </td>
        </tr>
      <% end %>
    <% end %>
  </table>
</div>

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
redcar-0.13 plugins/redcar_debug/views/index.html.erb
redcar-dev-0.13.5dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.13.4dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.13.3dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.13.2dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.13.1dev plugins/redcar_debug/views/index.html.erb
redcar-0.12.1 plugins/redcar_debug/views/index.html.erb
redcar-dev-0.13.0dev plugins/redcar_debug/views/index.html.erb
redcar-0.12 plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.27dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.26dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.25dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.24dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.23dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.22dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.21dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.20dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.19dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.18dev plugins/redcar_debug/views/index.html.erb
redcar-dev-0.12.17dev plugins/redcar_debug/views/index.html.erb