Sha256: 32987177883af272e12dc64e1d9aea5ff7761ef68ca63abe0723c20c465a20e4

Contents?: true

Size: 1.99 KB

Versions: 6

Compression:

Stored size: 1.99 KB

Contents

<!DOCTYPE html>
<html class="no-js" dir="ltr" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Preview: <%= @page_title %></title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=0.5">
  <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
  <meta content="authenticity_token" name="csrf-param">
  <link href="/assets/public.css" media="screen" rel="stylesheet" type="text/css">
  <!--[if IE 6]>
      <link href="https://universal-ie6-css.googlecode.com/files/ie6.0.3.css" media="screen" rel="stylesheet" type="text/css" />
      <![endif]-->
  <style>
    .heroku-header-container {
      max-width: 732px !important;
    }
    .cli-preview-error, .cli-preview-error h4 {
      color: red;
      line-height: 1.8em;
    }
    .cli-save {
      margin: 2em 0;
    }
    .cli-save textarea {
      display:none;
    }
    .cli-save input {
      padding: 1em 2em;
    }
    .preview {
      font-family: Helvetica, Arial;
      padding: .4em;
      font-size: 18px;
      color: #74d0f4;
    }
  </style>
  <script>
  try {
    var es = new EventSource('/stream');
    es.onmessage = function(e) {
      document.location.reload();
    };
    es.onerror = function(error) {
      es.close();
    }
  } catch (error) {
    console.log("ERROR:");
    console.log(error);
  }
  </script>
</head>

  <body>
    <div class="heroku-header">
    <div class="heroku-header-container container">

      <div class="heroku-header-hgroup">
        <a href="/">
          heroku
          <strong>dev center</strong>
        </a>
      </div>

      <div class="heroku-header-nav">
        <p class="preview">Local Preview</p>
      </div>
    </div>
    </div>

    <div id="sheet">
      <div class="sheet-container container">
        <div class="select-secondary-nav">
          <select class="js-select-nav"></select>
        </div>
        <ul class="secondary-nav nocontent"></ul>

        <%= yield %>
      </div>
    </div>
  </body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devcenter-1.0.3 lib/devcenter/previewer/views/layout.erb
devcenter-1.0.1 lib/devcenter/previewer/views/layout.erb
devcenter-1.0.0 lib/devcenter/previewer/views/layout.erb
devcenter-0.0.14 lib/devcenter/previewer/views/layout.erb
devcenter-0.0.13 lib/devcenter/previewer/views/layout.erb
devcenter-0.0.12 lib/devcenter/previewer/views/layout.erb