Sha256: 588b1875b268dce249893742b37d91a4243144da09c576ceb0bca13ce2e23d15

Contents?: true

Size: 1.16 KB

Versions: 16

Compression:

Stored size: 1.16 KB

Contents

<% if @experiments.any? %>
  <p class="intro">The list below contains all the registered experiments along with the number of test participants, completed and conversion rate currently in the system.</p>

  <input type="text" placeholder="Begin typing to filter" id="filter" />
  <input type="button" id="toggle-completed" value="Hide completed" />
  <input type="button" id="toggle-active" value="Hide active" />
  <input type="button" id="clear-filter" value="Clear filters" />

  <% @experiments.each do |experiment| %>
    <% if experiment.goals.empty? %>
      <%= erb :_experiment, :locals => {:goal => nil, :experiment => experiment} %>
    <% else %>
      <%= erb :_experiment_with_goal_header, :locals => {:experiment => experiment} %>
      <% experiment.goals.each do |g| %>
        <%= erb :_experiment, :locals => {:goal => g, :experiment => experiment} %>
      <% end %>
    <% end %>
  <% end %>
<% else %>
  <p class="intro">No experiments have started yet, you need to define them in your code and introduce them to your users.</p>
  <p class="intro">Check out the <a href='https://github.com/splitrb/split#readme'>Readme</a> for more help getting started.</p>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
split-3.2.0 lib/split/dashboard/views/index.erb
split-3.1.1 lib/split/dashboard/views/index.erb
split-3.1.0 lib/split/dashboard/views/index.erb
split-3.0.0 lib/split/dashboard/views/index.erb
split-2.2.0 lib/split/dashboard/views/index.erb
split-2.1.0 lib/split/dashboard/views/index.erb
split-2.0.0 lib/split/dashboard/views/index.erb
split-1.7.0 lib/split/dashboard/views/index.erb
split-1.6.0 lib/split/dashboard/views/index.erb
split-1.5.0 lib/split/dashboard/views/index.erb
split-1.4.5 lib/split/dashboard/views/index.erb
split-1.4.4 lib/split/dashboard/views/index.erb
split-1.4.3 lib/split/dashboard/views/index.erb
split-1.4.2 lib/split/dashboard/views/index.erb
split-1.4.1 lib/split/dashboard/views/index.erb
split-1.4.0 lib/split/dashboard/views/index.erb