{% extends "base.html" %}
{% block content %}
    {% block logo %}
        <div class="span-20">
            <h1><a href="https://twiki.cern.ch/twiki/bin/view/CMSPublic/RelMon">RelMon</a> Reports</h1>
        </div>
        <div class="span-3 last">
            <img class="top right" width="54" hight="54" src="http://cms-service-reldqm.web.cern.ch/cms-service-reldqm/style/CMS.gif">
        </div>
        <hr>
    {% endblock %}

    {% block images %}
    {% endblock %}


    {% block db_list %}
        <h2 class="alt">Comparison DBs</h2>
        <hr>
        {% block error %}
            {% if error %}
                <div class="error">{{ error|upper }}</div>
            {% endif %}
        {% endblock %}
        <div class="list">
        {% for db, releases in db_list %}
            {% if static_html %}
            {{ db }}.db<br>
            {% else %}
            <a href="/{{ db }}/">{{ db }}.db</a><br>
            {% endif %}
            <ul>
                {% for release, st_test in releases %}
                <li><a href="{% if static_html %}{{ base_path }}/static_html{% else %}/{{ db }}{% endif %}/{{ release }}/{{ st_test }}{% if static_html %}.html{% endif %}">{{ release }} ({{ st_test }})</a><br></li>
                {% endfor %}
            </ul>
        {% endfor %}
        </div>
    {% endblock %}

{% endblock %}
