Sha256: f00e2d6337529563ad97af61fe567e852f2bbc2edfb3dddc4ede1aaf4ceae34e

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

<!DOCTYPE html>
<html data-controller="<%= controller_name %>" data-action="<%= action_name %>">
<head>
  <title><%= [Shipit.app_name, @stack.try!(:repo_name)].compact.join(' - ') %></title>
  <%= stylesheet_link_tag :shipit, media: 'all' %>
  <%= javascript_include_tag :shipit %>

  <%= csrf_meta_tags %>
</head>
<body>
  <% flash.each do |name, msg| %>
    <%= content_tag :div, msg, class: ["flash-#{name}", :flash] %>
  <% end %>
  <div class="notice notifications hidden">
    <div class="message">
      <h3>Desktop notifications</h3>
      <p>Desktop notifications are used to let you know the status of your deploy.</p>
    </div>
    <div class="cta">
      <button class="btn">Manage notifications</button>
    </div>
  </div>
  <div class="layout">
    <header class="sidebar">
      <div class="inner-sidebar">
        <a href="/" class="logo header"><i></i><span>Ship it</span></a>

        <% if can_login? %>
          <%= link_to "Login with Github", github_authentication_path(origin: request.original_url) %>
        <% end %>

      </div>
      <div class="sidebar-plugins-outer">
        <%= yield :inner_sidebar %>
        <div class="sidebar-plugins"></div>
      </div>
    </header>
    <div class="main">
      <%= yield %>
    </div>
  </div>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shipit-engine-0.0.1.pre app/views/layouts/shipit.html.erb