Feat(SQL, UI): 1. Dog Command Links page completed with get + set functionality. \n 2. Commands page and Command Categories page completed with get + set functionality.
This commit is contained in:
@@ -10,11 +10,15 @@
|
||||
<td class="{{ model.FLAG_COMMAND }}">
|
||||
{% include 'components/dog/_preview_DDL_command.html' %}
|
||||
</td>
|
||||
<td class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION}}">
|
||||
<textarea class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}" {{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }}></textarea>
|
||||
<td class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}">
|
||||
<input type="text"
|
||||
class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}"
|
||||
{{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }} />
|
||||
</td>
|
||||
<td class="{{ model.FLAG_NOTES}}">
|
||||
<textarea class="{{ model.FLAG_NOTES }}" {{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }}></textarea>
|
||||
<td class="{{ model.FLAG_NOTES }}">
|
||||
<input type="text"
|
||||
class="{{ model.FLAG_NOTES }}"
|
||||
{{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }} />
|
||||
</td>
|
||||
{% set active = True %}
|
||||
{% include 'components/dog/_td_active.html' %}
|
||||
@@ -33,11 +37,19 @@
|
||||
<td class="{{ model.FLAG_COMMAND }}">
|
||||
{% include 'components/dog/_preview_DDL_command.html' %}
|
||||
</td>
|
||||
<td class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION}}">
|
||||
<textarea class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}" {{ model.ATTR_VALUE_CURRENT }}="{{ link.hand_signal_description|escape }}" {{ model.ATTR_VALUE_PREVIOUS }}="{{ link.hand_signal_description|escape }}">{{ link.hand_signal_description }}</textarea>
|
||||
<td class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}">
|
||||
<input type="text"
|
||||
class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}"
|
||||
{{ model.ATTR_VALUE_CURRENT }}="{{ model.format_null_string_as_blank(link.hand_signal_description)|escape }}"
|
||||
{{ model.ATTR_VALUE_PREVIOUS }}="{{ model.format_null_string_as_blank(link.hand_signal_description)|escape }}"
|
||||
value="{{ model.format_null_string_as_blank(link.hand_signal_description) }}" />
|
||||
</td>
|
||||
<td class="{{ model.FLAG_NOTES}}">
|
||||
<textarea class="{{ model.FLAG_NOTES }}" {{ model.ATTR_VALUE_CURRENT }}="{{ link.notes|escape }}" {{ model.ATTR_VALUE_PREVIOUS }}="{{ link.notes|escape }}">{{ link.notes }}</textarea>
|
||||
<td class="{{ model.FLAG_NOTES }}">
|
||||
<input type="text"
|
||||
class="{{ model.FLAG_NOTES }}"
|
||||
{{ model.ATTR_VALUE_CURRENT }}="{{ model.format_null_string_as_blank(link.notes)|escape }}"
|
||||
{{ model.ATTR_VALUE_PREVIOUS }}="{{ model.format_null_string_as_blank(link.notes)|escape }}"
|
||||
value="{{ model.format_null_string_as_blank(link.notes) }}" />
|
||||
</td>
|
||||
{% set active = link.active %}
|
||||
{% include 'components/dog/_td_active.html' %}
|
||||
|
||||
Reference in New Issue
Block a user