<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://www.w3.org/2005/10/profile">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <link rel="icon" type="image/png" href="{{ url_for('static', file='images/sy_brown.png') }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', file='css/demo_table.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', file='css/scheduler_ui.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', file='css/context_menu.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', file='css/mx_page.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', file='css/font-awesome.css') }}">
    <script type="text/javascript" src="{{ url_for('static', file='js/jquery-2.1.3.min.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('static', file='js/jquery.dataTables-1.10.5.min.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('static', file='js/mx_utils.js') }}"></script>
    <title>Synergy Scheduler</title>
</head>

<body>
<table style="width: 100%" class="header-table">
    <thead>
    <tr>
        <th>Synergy Scheduler</th>
        <th></th>
        {%- for mx_rule, mx_name in mx_processing_context.items() -%}
        <th></th>
        {%- endfor -%}
        <th colspan="2" style="text-align: right">page rendered: {{ get_current_time() }}</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td><a href="{{ url_for('dashboard_managed') }}">dashboard jobs</a></td>
        <td><a href="{{ url_for('dashboard_freeruns') }}">dashboard freeruns</a></td>
        {%- for mx_rule, mx_page_name in mx_processing_context.items() %}
            <td><a href="/{{ mx_rule }}">{{ mx_page_name }}</a></td>
        {%- endfor -%}
        <td><a href="{{ url_for('scheduler_managed_entries') }}">scheduler managed entries</a></td>
        <td><a href="{{ url_for('scheduler_freerun_entries') }}">scheduler freerun entries</a></td>
    </tr>
    </tbody>
</table>
<br/>
<br/>

<div class="body">{% block body %}{% endblock %}</div>
<br/>

<div id="footer" style="text-align: right">
    <a href="mailto:mushkevych@users.noreply.github.com?subject=Comments to Scheduler MX page">Feedback</a>
</div>

</body>
</html>
