{% extends "master.html" %}

{% block title %}Anitya{% endblock %}

{% block body %}
  <div class="intro">
      <h3>
        <span class="glyphicon glyphicon-eye-open"></span>
        Watch for releases of your favorite projects
      </h3>
      <p>We all have our favorite projects and we all like to use their
      latest versions with their latest features. However, it is hard
      to keep in touch with all of them and be informed when they
      release a new version.  Anitya can help!</p>
  </div>

<div class="container marketing">
  <!-- Three columns of text below the carousel -->
  <div class="row">
    <div class="col-md-4 col-md-offset-2">
      <h2><span class="glyphicon glyphicon-bullhorn"></span> Announce</h2>
      <p>We monitor upstream releases and broadcast them on
      <a href="https://fedora-messaging.readthedocs.io/en/latest">Fedora messaging</a> bus. </p>
    </div>
    <div class="col-md-4">
      <h2><span class="glyphicon glyphicon-search"></span> Search</h2>
      <p>Currently {{ total }} projects are being monitored by Anitya.
      Your project of interest might be there, or not. To check it
      <a href="{{ url_for('anitya_ui.projects') }}">browse the list of all projects</a>
      or simply search for them!</p>
      <form action="{{ url_for('anitya_ui.projects_search') }}" role="form" class="form-inline">
        <div class="form-group">
          <input id="searchbox" type="text" name="pattern" placeholder="Project name" class="form-control input-sm"/>
          <button type="submit" class="btn btn-sm btn-default">Search</button>
          <p><small>You may use * to search for pattern (ie: py*).</small></p>
        </div><!-- /.form-group -->
      </form>
    </div>
  </div><!-- /.row -->
</div>

{% endblock %}

{% block jscript %}

{% endblock %}
