Sha256: e528c89e5f5a586a52ba982439dff9ef366ace1909d4a24fd5ea0d152a50e35c

Contents?: true

Size: 1.83 KB

Versions: 5

Compression:

Stored size: 1.83 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>Delayed Job Web</title>
    <link rel="stylesheet" type="text/css" href="stylesheets/reset.css" />
    <link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
  </head>
  <body>
    <div class="header">
      <ul class="nav">
        <% tabs.each do |tab| %>
          <li class="<%= request.path_info == tab[:path] ? 'current' : '' %>">
            <a class="tab" href="<%= u(tab[:path]) %>">
              <%=h tab[:name] %>
            </a>
          </li>
        <% end %>
        <li>
          <form method="get" class="header-queues" action="" style="display:inline; width: 100%;">
            <input name="queues" type="text" value="<%=h @queues.join(", ") %>" style="width: 300px;" placeholder="Filter jobs by queue name (e.g. queue1, queue2)" />
            <input type="submit" value="Filter" />
          </form>
        </li>
        <li>
          <form method="get" class="header-queues" action="" style="display:inline;">
            <input name="queues" type="hidden" value="" />
            <input type="submit" value="Reset" />
          </form>
        </li>
      </ul>
    </div>
    <div id="main">
      <%= yield %>
    </div>
    <div id="footer">
      <p>
        Powered by
        <a href="https://github.com/collectiveidea/delayed_job">delayed_job</a>
        &amp;
        <a href="https://github.com/ejschmitt/delayed_job_web">delayed_job_web</a>
      </p>
    </div>
    <script src="<%= u("javascripts/jquery-1.7.1.min.js") %>" type="text/javascript"></script>
    <script src="<%= u("javascripts/jquery.relatize_date.js") %>" type="text/javascript"></script>
    <script src="<%= u("javascripts/application.js") %>" type="text/javascript"></script>
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
delayed_job_web-1.4.4 lib/delayed_job_web/application/views/layout.erb
delayed_job_web-1.4.3 lib/delayed_job_web/application/views/layout.erb
delayed_job_web-1.4.2 lib/delayed_job_web/application/views/layout.erb
delayed_job_web-1.4 lib/delayed_job_web/application/views/layout.erb
delayed_job_web-1.3 lib/delayed_job_web/application/views/layout.erb