fix change template mode; fix schedule view; minor fixes
This commit is contained in:
@@ -3,20 +3,27 @@
|
||||
<input type="hidden" name="token" value="{{ csrf_token('report-status') }}">
|
||||
<div class="btn-group" role="group" aria-label="Todos">
|
||||
{% for todo in reportToDoList %}
|
||||
<input onchange="this.form.submit()"
|
||||
name="{{ todo.value }}"
|
||||
type="checkbox"
|
||||
class="btn-check"
|
||||
id="checkboxToDo{{ todo.value }}Id{{ report.id }}"
|
||||
{% if report.isReportsTodo(todo) %}
|
||||
checked="checked"
|
||||
{% endif %}
|
||||
{% if not is_granted('reportEdit') %}
|
||||
disabled
|
||||
{% endif %}
|
||||
autocomplete="off"
|
||||
>
|
||||
<label class="btn btn-outline-{{ reportEnum.checkboxColor }} d-flex align-items-center"
|
||||
<button type="submit" class="btn-check" name="{{ todo.value }}" value='1' id="checkboxToDo{{ todo.value }}Id{{ report.id }}"></button>
|
||||
{# <input onchange="this.form.submit()"#}
|
||||
{# name="{{ todo.value }}"#}
|
||||
{# type="checkbox"#}
|
||||
{# class="btn-check"#}
|
||||
{# id="checkboxToDo{{ todo.value }}Id{{ report.id }}"#}
|
||||
{# {% if report.isReportsTodo(todo) %}#}
|
||||
{# checked="checked"#}
|
||||
{# {% endif %}#}
|
||||
{# {% if not is_granted('reportEdit') %}#}
|
||||
{# disabled#}
|
||||
{# {% endif %}#}
|
||||
{# autocomplete="off"#}
|
||||
{# >#}
|
||||
<label class="btn
|
||||
{% if report.isReportsTodo(todo) %}
|
||||
btn-{{ reportEnum.checkboxColor }}
|
||||
{% else %}
|
||||
btn-outline-{{ reportEnum.checkboxColor }}
|
||||
{% endif %}
|
||||
d-flex align-items-center"
|
||||
for="checkboxToDo{{ todo.value }}Id{{ report.id }}"
|
||||
data-toggle="tooltip" data-placement="bottom" title="{{ todo.takeLang }}">
|
||||
<i class="fa fa-solid fa-{{ todo.takeIcon }}"> </i>
|
||||
|
||||
Reference in New Issue
Block a user