{% extends "base.html" %}

{% block title %}
  <title ng-bind="title + ' · Quay.io'">Quay - Private Docker Repository</title>
{% endblock %}

{% block added_meta %}
  <base href="/">

  <meta id="descriptionTag" name="description" content="Hosted private docker repositories. Includes full user management and history. Free for public repositories."></meta>
  <meta name="google-site-verification" content="GalDznToijTsHYmLjJvE4QaB9uk_IP16aaGDz5D75T4" />
  <meta name="fragment" content="!" />
{% endblock %}

{% block body_content %}
  <!-- Note: Must be in the <body> tag -->
  <script src="static/standalonelib/jquery.overscroll.min.js"></script>

  <div ng-view></div>

  <!-- Modal message dialog -->
  <div class="modal fade" id="sessionexpiredModal" data-backdrop="static">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <h4 class="modal-title">Session Expired</h4>
        </div>
        <div class="modal-body">
          Your user session has expired. Please <a href="javascript:void(0)" data-dismiss="modal" onclick="location = '/signin'">sign in</a> to continue.
        </div>
        <div class="modal-footer">
          <a href="javascript:void(0)" class="btn btn-primary" data-dismiss="modal" onclick="location = '/signin'">Sign In</a>
        </div>
      </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
  </div><!-- /.modal -->

  <!-- Modal message dialog -->
  <div class="modal fade" id="cannotContactService" data-backdrop="static">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <h4 class="modal-title">Cannot Contact External Service</h4>
        </div>
        <div class="modal-body">
          A connection to an external service has failed. Please reload the page to try again.
        </div>
      </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
  </div><!-- /.modal -->

{% endblock %}
