<div class="jumbotron landing">
  <div class="container">
    <div class="row messages">
      <div class="col-md-7">
        <div ng-show="user.anonymous">
          <h1>Secure hosting for <b>private</b> Docker<a class="disclaimer-link" href="/disclaimer" target="_self">*</a> repositories</h1>
          <h3>Use the Docker images <b>your team</b> needs with the safety of <b>private</b> repositories</h3>
          <div class="sellcall"><a href="/plans/">Private repository plans starting at $7/mo</a></div>
        </div>

        <div ng-show="!user.anonymous">
          <div ng-show="loadingmyrepos">
            <i class="fa fa-spinner fa-spin fa-3x"></i>
          </div>
          <span class="namespace-selector" user="user" namespace="namespace" ng-show="!loadingmyrepos && user.organizations"></span>
          <div ng-show="!loadingmyrepos && myrepos.length > 0">
            <h2>Top Repositories</h2>
            <div class="repo-listing" ng-repeat="repository in myrepos">
              <span class="repo-circle no-background" repo="repository"></span>
              <a ng-href="/repository/{{ repository.namespace }}/{{ repository.name }}">{{repository.namespace}}/{{repository.name}}</a>
              <div class="markdown-view description" content="repository.description" first-line-only="true"></div>
            </div>
          </div>
          <div ng-show="!loadingmyrepos && myrepos.length == 0">
            <div class="sub-message" style="margin-top: 20px">
              <span ng-show="namespace != user.username">You don't have access to any repositories in this organization yet.</span>
              <span ng-show="namespace == user.username">You don't have any repositories yet!</span>
              <div class="options">
                <a class="btn btn-primary" href="/repository/">Browse all repositories</a>
                <a class="btn btn-success" href="/new/" ng-show="canCreateRepo(namespace)">Create a new repository</a>
              </div>
            </div>
          </div>
        </div>
      </div> <!-- col -->

      <div class="col-md-4 col-md-offset-1">
        <div ng-show="user.anonymous">
          <form class="form-signup" name="signupForm" ng-submit="register()" data-trigger="manual" data-content="{{ registerError }}" data-placement="left" ng-show="!awaitingConfirmation && !registering">
            <input type="text" class="form-control" placeholder="Create a username" name="username" ng-model="newUser.username" autofocus required>
            <input type="email" class="form-control" placeholder="Email address" ng-model="newUser.email" required>
            <input type="password" class="form-control" placeholder="Create a password" ng-model="newUser.password" required>
            <input type="password" class="form-control" placeholder="Verify your password" ng-model="newUser.repeatPassword" match="newUser.password" required>
            <div class="form-group signin-buttons">
              <button class="btn btn-primary btn-block landing-signup-button" ng-disabled="signupForm.$invalid" type="submit" analytics-on analytics-event="register">Sign Up for Free!</button>
              <span class="landing-social-alternate">
                <i class="fa fa-circle"></i>
                <span class="inner-text">OR</span>
              </span>
              <a href="https://github.com/login/oauth/authorize?client_id={{ githubClientId }}&scope=user:email{{ github_state_clause }}" class="btn btn-primary btn-block"><i class="fa fa-github fa-lg"></i> Sign In with GitHub</a>
              <p class="help-block">No credit card required.</p>
            </div>
          </form>
          <div ng-show="registering" style="text-align: center">
            <span class="spin" color="#fff" style="display: inline-block"></span>
          </div>
          <div ng-show="awaitingConfirmation">
            <div class="sub-message">Thank you for registering! We have sent you an activation email. You must <b>verify your email address</b> before you can continue.</div>
          </div>
        </div>
        <div ng-show="!user.anonymous" class="user-welcome">
          <img class="gravatar" src="//www.gravatar.com/avatar/{{ user.gravatar }}?s=128&d=identicon" />
          <div class="sub-message">Welcome <b>{{ user.username }}</b>!</div>
          <a ng-show="myrepos" class="btn btn-primary" href="/repository/">Browse all repositories</a>
          <a ng-show="myrepos" class="btn btn-success" href="/new/">Create a new repository</a>
        </div>
      </div> <!-- col -->
    </div> <!-- row -->

    <div class="row" ng-show="user.anonymous">
      <div class="col-md-4 shoutout">
        <i class="fa fa-lock"></i>
        <b>Secure</b>
        <span class="shoutout-expand">
          Your data is transferred using <strong>SSL at all times</strong> and <strong>encrypted</strong> when at rest. More information available in our <a href="/security/">security guide</a>
        </span>
      </div>

      <div class="col-md-4 shoutout">
        <i class="fa fa-group"></i>
        <b>Shareable</b>
        <span class="shoutout-expand">
          Have to share a repository? No problem! Share with anyone you choose
        </span>
      </div>

      <div class="col-md-4 shoutout">
        <i class="fa fa-cloud"></i>
        <b>Cloud Hosted</b>
        <span class="shoutout-expand">
          Accessible from anywhere, anytime
        </span>
      </div>
    </div> <!-- row -->
  </div> <!-- container -->
</div> <!-- jumbotron -->

<div class="product-tour container" ng-show="user.anonymous">
  <div class="tour-header row">
    <div class="tour-shoutout-header"><i class="fa fa-chevron-circle-down"></i></div>
    <div class="tour-shoutout">Take a tour of Quay</div>
  </div>

  <div class="tour-section row">
    <div class="col-md-7"><img src="/static/img/user-home.png" title="User Home - Quay" data-screenshot-url="https://quay.io/" class="img-responsive"></div>
    <div class="col-md-5">
      <div class="tour-section-title">Customized for you</div>
      <div class="tour-section-description">
        Your personal home screen shows those repositories most important to you, ordered by recent activity.
      </div>
      <div class="tour-section-description">Keep up to date on the status of those repositories you deem important.</div>
    </div>
  </div>

  <div class="tour-section row">
    <div class="col-md-7 col-md-push-5"><img src="/static/img/repo-view.png" title="Repository View - Quay" data-screenshot-url="https://quay.io/repository/devtable/complex" class="img-responsive"></div>
    <div class="col-md-5 col-md-pull-7">
      <div class="tour-section-title">Useful views of respositories</div>
      <div class="tour-section-description">
        Each repository is presented with the maximum amount of useful information, including its image history, <b>markdown</b>-based description, and tags.
      </div>
    </div>
  </div>

  <div class="tour-section row">
    <div class="col-md-7"><img src="/static/img/repo-changes.png" title="View Image - Quay" data-screenshot-url="https://quay.io/repository/devtable/image/..." class="img-responsive"></div>
    <div class="col-md-5">
      <div class="tour-section-title">Docker diff in the cloud</div>
      <div class="tour-section-description">
        We wanted to know what was changing in each image of our repositories just as much as you do. So we added diffs. Now you can see exactly which files were <b>added</b>, <b>changed</b>, or <b>removed</b> for each image. We've also provided two awesome ways to view your changes, either in a filterable list, or in a drill down tree view.
      </div>
    </div>
  </div>
  
  <div class="tour-section row">
    <div class="col-md-7 col-md-push-5"><img src="/static/img/repo-admin.png" title="Repository Admin - Quay" data-screenshot-url="https://quay.io/repository/devtable/complex/admin" class="img-responsive"></div>
    <div class="col-md-5 col-md-pull-7">
      <div class="tour-section-title">Share at your control</div>
      <div class="tour-section-description">
        Share any repository with as many (or as few) users as you choose.
      </div>
      <div class="tour-section-description">Need a repository only for your team? Easily <b>share</b> with your team members.</div>
      <div class="tour-section-description">Need finer grain control? Mark a user as <b>read-only</b> or <b>read/write</b>.</div>
      <div class="tour-section-description">Have a build script or a deploy process that needs access? Generate an <b>access token</b> to grant revocable access for pushing or pulling.</div>
      <div class="tour-section-description">Want to share with the world? Make your repository <b>fully public</b>.</div>
    </div>
  </div>
</div>