Sha256: edbb946f9db818957c7fbeca5e259f5a4dd69129f443569f73f77bb21cfb8b5e

Contents?: true

Size: 1.44 KB

Versions: 7

Compression:

Stored size: 1.44 KB

Contents

<% if @show_blank_slate %>
  <div class="jumbotron text-center">
    <span class="mega-octicon octicon-plus"></span>
    <span class="mega-octicon octicon-list-unordered"></span>
    <span class="mega-octicon octicon-zap"></span>
    <h4>But I've got a blank space baby...</h4>
    <p>And I'll flip your features.</p>
    <div class="embed-responsive embed-responsive-16by9">
      <iframe class="embed-responsive-item" width="560" height="315" src="https://www.youtube.com/embed/e-ORhEE9VVg" frameborder="0" allowfullscreen></iframe>
    </div>
  </div>
<% else %>
  <div class="card">
    <h4 class="card-header">Features</h4>
    <table class="table">
      <thead>
        <tr class="d-flex">
          <th class="col-1">
            <span class="octicon octicon-squirrel"></span>
          </th>
          <th class="col">Feature</th>
          <th class="col">Enabled Gates</th>
        </tr>
      </thead>
      <tbody>
        <% @features.each do |feature| %>
          <tr class="d-flex">
            <td class="col-1">
              <span class="octicon octicon-squirrel <%= feature.color_class %>"></span>
            </td>
            <td class="col">
              <a href="<%= "#{script_name}/features/#{feature.key}" %>">
                <%= feature.key %></a>
            </td>
            <td class="col">
              <%= feature.pretty_enabled_gate_names %>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flipper-ui-0.16.2 lib/flipper/ui/views/features.erb
flipper-ui-0.16.1 lib/flipper/ui/views/features.erb
flipper-ui-0.16.0 lib/flipper/ui/views/features.erb
flipper-ui-0.15.0 lib/flipper/ui/views/features.erb
flipper-ui-0.14.0 lib/flipper/ui/views/features.erb
flipper-ui-0.13.0 lib/flipper/ui/views/features.erb
flipper-ui-0.13.0.beta1 lib/flipper/ui/views/features.erb