aboutsummaryrefslogtreecommitdiff
path: root/lava_results_app/templates/lava_results_app/query_list.html
blob: 8e2297927b278ca1d260622595c94ec236449af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends "layouts/content-bootstrap.html" %}
{% load i18n %}
{% load django_tables2 %}

{% block styles %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}lava_results_app/css/query.css"/>
{% endblock %}

{% block content %}
<h1>LAVA Results Queries</h1>

{% if user_query_table %}

<h2>Your Queries <small><a href="{% url 'lava_results_app.views.query.views.query_add' %}" class="btn btn-xs btn-info"><span class="glyphicon glyphicon-plus-sign"></span> Create</a></small></h2>

{% render_table user_query_table %}

{% else %}

<p>Please log in to see and manage your queries.</p>

{% endif %}

{% for name, group_table in group_tables.items %}
  <h2 id="{{ name }}">{{ name }}</h2>
  {% render_table group_table %}
{% endfor %}


<h2>Other Queries</h2>

{% render_table other_query_table %}

{% endblock %}

{% block scripts %}
<script type="text/javascript" src="{{ STATIC_URL }}lava_scheduler_app/js/tables.min.js"></script>
{% endblock %}