Added pages to view the list of potential jobs

TODO: add ability to run a job & view queued jobs
This commit is contained in:
2023-05-31 16:23:18 +01:00
parent 9b2da13e3a
commit 119e932154
9 changed files with 353 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
{% extends "pages/abstract/dashboard.html.twig" %}
{% block stylesheets_page %}
<!-- Page-specific CSS asset bundle -->
{{ assets.css('css/form-widgets') | raw }}
{% endblock %}
{# Overrides blocks in head of base template #}
{% block page_title %}{{ translate("JOB", 2)}}{% endblock %}
{% block page_description %}{{ translate("JOB.PAGE_DESCRIPTION")}}{% endblock %}
{% block body_matter %}
<div class="row">
<div class="col-md-12">
<div id="widget-jobs" class="box box-primary">
<div class="box-header">
<h3 class="box-title pull-left"><i class="fas fa-jobs fa-fw"></i> {{translate('JOB', 2)}}</h3>
</div>
<div class="box-body">
{% include "tables/jobs.html.twig" with {
"table" : {
"id" : "table-jobs"
}
}
%}
</div>
</div>
</div>
</div>
{% endblock %}
{% block scripts_page %}
<!-- Include validation rules -->
<script>
{% include "pages/partials/page.js.twig" %}
</script>
<!-- Include form widgets JS -->
{{ assets.js('js/form-widgets') | raw }}
{% endblock %}