Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract the HTML from RteList::get method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
- Loading branch information
1 parent
8279afd
commit 39e567f
Showing
7 changed files
with
180 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<form id="rteListForm" class="ajax" action="{{ url('/database/events') }}"> | ||
{{ get_hidden_inputs(db, table) }} | ||
|
||
<fieldset> | ||
<legend> | ||
{% trans 'Events' %} | ||
{{ show_mysql_docu('EVENTS') }} | ||
</legend> | ||
|
||
<div id="nothing2display"{{ items is not empty ? ' class="hide"' }}> | ||
{% trans 'There are no events to display.' %} | ||
</div> | ||
|
||
<table class="data{{ items is empty ? ' hide' }}"> | ||
<tr> | ||
<th></th> | ||
<th>{% trans 'Name' %}</th> | ||
<th>{% trans 'Status' %}</th> | ||
<th colspan="3">{% trans 'Action' %}</th> | ||
<th>{% trans 'Type' %}</th> | ||
</tr> | ||
<tr class="hide">{% for i in 0..6 %}<td></td>{% endfor %}</tr> | ||
|
||
{{ rows|raw }} | ||
</table> | ||
|
||
{% if items is not empty %} | ||
<div class="withSelected"> | ||
<img class="selectallarrow" src="{{ select_all_arrow_src }}" width="38" height="22" alt="{% trans 'With selected:' %}"> | ||
<input type="checkbox" id="rteListForm_checkall" class="checkall_box" title="{% trans 'Check all' %}"> | ||
<label for="rteListForm_checkall">{% trans 'Check all' %}</label> | ||
<em class="with-selected">{% trans 'With selected:' %}</em> | ||
|
||
{{ get_button_or_image('submit_mult', 'mult_submit', 'Export'|trans, 'b_export', 'export') }} | ||
{{ get_button_or_image('submit_mult', 'mult_submit', 'Drop'|trans, 'b_drop', 'drop') }} | ||
</div> | ||
{% endif %} | ||
</fieldset> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<form id="rteListForm" class="ajax" action="{{ url('/database/routines') }}"> | ||
{{ get_hidden_inputs(db, table) }} | ||
|
||
<fieldset> | ||
<legend> | ||
{% trans 'Routines' %} | ||
{{ show_mysql_docu('STORED_ROUTINES') }} | ||
</legend> | ||
|
||
<div id="nothing2display"{{ items is not empty ? ' class="hide"' }}> | ||
{% trans 'There are no routines to display.' %} | ||
</div> | ||
|
||
<table class="data{{ items is empty ? ' hide' }}"> | ||
<tr> | ||
<th></th> | ||
<th>{% trans 'Name' %}</th> | ||
<th colspan="4">{% trans 'Action' %}</th> | ||
<th>{% trans 'Type' %}</th> | ||
<th>{% trans 'Returns' %}</th> | ||
</tr> | ||
<tr class="hide">{% for i in 0..7 %}<td></td>{% endfor %}</tr> | ||
|
||
{{ rows|raw }} | ||
</table> | ||
|
||
{% if items is not empty %} | ||
<div class="withSelected"> | ||
<img class="selectallarrow" src="{{ select_all_arrow_src }}" width="38" height="22" alt="{% trans 'With selected:' %}"> | ||
<input type="checkbox" id="rteListForm_checkall" class="checkall_box" title="{% trans 'Check all' %}"> | ||
<label for="rteListForm_checkall">{% trans 'Check all' %}</label> | ||
<em class="with-selected">{% trans 'With selected:' %}</em> | ||
|
||
{{ get_button_or_image('submit_mult', 'mult_submit', 'Export'|trans, 'b_export', 'export') }} | ||
{{ get_button_or_image('submit_mult', 'mult_submit', 'Drop'|trans, 'b_drop', 'drop') }} | ||
</div> | ||
{% endif %} | ||
</fieldset> | ||
</form> |
Oops, something went wrong.