Feat(SQL, UI): Logic for Get-Many SQL Stored Procedures refactored to use Calc Stored Procedures and Dog Command Links page styling improved.
This commit is contained in:
@@ -5,9 +5,18 @@
|
||||
{#
|
||||
<input class="{{ model.FLAG_ACTIVE }}" type="checkbox" {% if active %}checked{% endif %} {{ model.ATTR_VALUE_CURRENT }}="{{ active | lower }}" {{ model.ATTR_VALUE_PREVIOUS }}="{{ active | lower }}">
|
||||
#}
|
||||
{#
|
||||
<button type="button" class="{{ model.FLAG_ACTIVE }} {% if active %}{{ model.FLAG_DELETE }}{% endif %}"
|
||||
{{ model.ATTR_VALUE_CURRENT }}="{{ active | lower }}"
|
||||
{{ model.ATTR_VALUE_PREVIOUS }}="{{ active | lower }}"
|
||||
>{% if active %}x{% else %}+{% endif %}</button>
|
||||
#}
|
||||
{% if active %}
|
||||
{% set colour = model.COLOUR_ERROR %}
|
||||
{% include 'components/common/buttons/_icon_trash.html' %}
|
||||
{% else %}
|
||||
{% set colour = model.COLOUR_PRIMARY %}
|
||||
{% include 'components/common/buttons/_icon_add.html' %}
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endwith %}
|
||||
Reference in New Issue
Block a user