Sha256: 7e83a92eed2fb41660ea6b162c3876aaa80f9a192d439fa61dbc5f4b4a818fe8

Contents?: true

Size: 878 Bytes

Versions: 2

Compression:

Stored size: 878 Bytes

Contents

<div class="grid_12 content">
  <header>
    <div class="buttons">
      <a class="icon-plus" href="/remap/new?type=#{@type}" title="Add new rule"></a>
    </div>
    <h2>#{@headline}</h2>
  </header>
  <p>
    <ul class="remap">
      <?r @traffic_server.remap_entries.get_type(@type.to_sym).each do |entry| ?>
        <li>
          <span class="url from"><a href="#{entry.from}">#{remap_url_highlight_scheme(entry.from)}</a></span>
          <span class="arrow icon-chevron-right"></span>
          <span class="url to"><a href="#{entry.to}">#{remap_url_highlight_scheme(entry.to)}</a></span>
          <span class="buttons">
            <a class="icon-pencil" href="/remap/edit?id=#{entry.id}" title="Edit"></a>
            <a class="icon-trash" href="/remap/delete?id=#{entry.id}" title="Delete"></a>
          </span>
        </li>
      <?r end ?>
    </ul>
  </p>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ts-admin-0.2.5 view/remap/list.xhtml
ts-admin-0.2.4 view/remap/list.xhtml