Sha256: 673db10d4bf87e3ed1d3b5652c757d9bcd31cac45eee10d52cd665f46de4828d

Contents?: true

Size: 1.49 KB

Versions: 31

Compression:

Stored size: 1.49 KB

Contents

<% if @show_blank_slate %>
  <div class="blankslate">
    <span class="mega-octicon octicon-plus"></span>
    <span class="mega-octicon octicon-list-unordered"></span>
    <span class="mega-octicon octicon-zap"></span>
    <h3>But I've got a blank space baby...</h3>
    <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="panel panel-default">
    <div class="panel-heading">
      <h3 class="panel-title">Features</h3>
    </div>

    <table class="table">
      <thead>
        <tr>
          <th class="feature-state">
            <span class="octicon octicon-squirrel"></span>
          </th>
          <th>Feature</th>
          <th class="feature-enabled-gates">Enabled Gates</th>
        </tr>
      </thead>
      <tbody>
        <% @features.each do |feature| %>
          <tr>
            <td class="feature-state">
              <span class="octicon octicon-squirrel <%= feature.color_class %>"></span>
            </td>
            <td>
              <a href="<%= "#{script_name}/features/#{feature.key}" %>">
                <%= feature.key %></a>
            </td>
            <td class="feature-enabled-gates">
              <%= feature.pretty_enabled_gate_names %>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
flipper-ui-0.12.2 lib/flipper/ui/views/features.erb
flipper-ui-0.12.1 lib/flipper/ui/views/features.erb
flipper-ui-0.12.0 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.rc1 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.beta9 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.beta8 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.beta7 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.beta6 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.beta5 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.beta4 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.beta3 lib/flipper/ui/views/features.erb
flipper-ui-0.11.0.beta1 lib/flipper/ui/views/features.erb
flipper-ui-0.10.2 lib/flipper/ui/views/features.erb
flipper-ui-0.10.1 lib/flipper/ui/views/features.erb
flipper-ui-0.10.0 lib/flipper/ui/views/features.erb
flipper-ui-0.9.2 lib/flipper/ui/views/features.erb
flipper-ui-0.9.1 lib/flipper/ui/views/features.erb
flipper-ui-0.9.0 lib/flipper/ui/views/features.erb
flipper-ui-0.9.0.beta1 lib/flipper/ui/views/features.erb