Sha256: 30b2820455561e5a03d5a0570b5f1a6b3157e42e4a1e6e73a02f605c67bb7aa8

Contents?: true

Size: 767 Bytes

Versions: 8

Compression:

Stored size: 767 Bytes

Contents

<%= content_for :head do %>
    <%= stylesheet_link_tag 'ns_settings_ui/settings' -%>
    <%= javascript_include_tag 'ns_settings_ui/application' -%>
<% end %>
<div id="ns_settings_ui">
  <div class="panel panel-default">
    <div class="panel-heading">
      <span>Filter: </span>
      <input class="form-control" id="filter-input" type="text" value=""> (regular expressions are available)
    </div>
    <div class="panel-body">
      <table class="table table-striped table-bordered">
        <%= render partial: 'setting_row', collection: @settings, as: 'setting' -%>
      </table>
    </div>
  </div>
</div>

<%= javascript_tag do -%>
    $('#ns_settings_ui').liveFilter('#ns_settings_ui #filter-input', 'tr', {filterChildSelector: '.setting_key'});
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ns_settings_ui-1.5.3 app/views/ns_settings_ui/settings/index.html.erb
ns_settings_ui-1.5.2 app/views/ns_settings_ui/settings/index.html.erb
ns_settings_ui-1.5.1 app/views/ns_settings_ui/settings/index.html.erb
ns_settings_ui-1.4.0 app/views/ns_settings_ui/settings/index.html.erb
ns_settings_ui-1.3.0 app/views/ns_settings_ui/settings/index.html.erb
ns_settings_ui-1.2.0 app/views/ns_settings_ui/settings/index.html.erb
ns_settings_ui-1.1.0 app/views/ns_settings_ui/settings/index.html.erb
ns_settings_ui-1.0.0 app/views/ns_settings_ui/settings/index.html.erb