Sha256: 123330ca5796ce7988af8982b6aba2fa674e4e6d9506fc0204153a08a568f460

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

<div class="row">
  <div class="section">
    <h1>Rake Tasks</h1>

    <hr />

    <div class="section">
      <%= link_to "Show all tasks", rake_tasks_path(show_all: "yes"), { class: 'btn' } %>
      <%= link_to "Show only internal tasks", rake_tasks_path, { class: 'btn' } %>
    </div>

    <div class="section">
      <p>
        Filter Table <input data-table-filter placeholder="Enter Text" />
      </p>
    </div>

    <div style="word-break: break-all">
      <table>
        <thead>
        <tr>
          <th>Actions</th>
          <th>Name </th>
        </tr>
        </thead>

        <tbody>
        <% @rake_tasks.each do |rake_task| %>
          <tr data-table-filterable="<%= rake_task.name_with_args %>">
            <td><%= link_to "Go Here", rake_task_path(rake_task.id), { class: 'btn' } %></td>
            <td>
              <%= link_to rake_task.name_with_args, rake_task_path(rake_task.id) %>

              <% if rake_task.full_comment %>
                <br />
                <p> Desc: <%= rake_task.full_comment %></p>
              <% end %>
            </td>
          </tr>
        <% end %>
        </tbody>
      </table>
    </div>
  </div>
</div>

<%= render "partials/rake_ui/table_filterable" %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rake-ui-0.1.0 app/views/rake_ui/rake_tasks/index.html.erb
rake-ui-0.0.1 app/views/rake_ui/rake_tasks/index.html.erb