-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract HTML from Rte\Routines::getParameterRow
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
- Loading branch information
1 parent
bc585d9
commit b409c83
Showing
3 changed files
with
93 additions
and
81 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<tr> | ||
<td class="dragHandle"> | ||
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> | ||
</td> | ||
<td class="routine_direction_cell{{ class }}"> | ||
<select name="item_param_dir[{{ index }}]"> | ||
{% for value in param_directions %} | ||
<option value="{{ value }}"{{ item_param_dir == value ? ' selected' }}>{{ value }}</option> | ||
{% endfor %} | ||
</select> | ||
</td> | ||
<td> | ||
<input name="item_param_name[{{ index }}]" type="text" value="{{ item_param_name }}"> | ||
</td> | ||
<td> | ||
<select name="item_param_type[{{ index }}]"> | ||
{{ supported_datatypes|raw }} | ||
</select> | ||
</td> | ||
<td> | ||
<input id="item_param_length_{{ index }}" name="item_param_length[{{ index }}]" type="text" value="{{ item_param_length }}"> | ||
<div class="enum_hint"> | ||
<a href="#" class="open_enum_editor"> | ||
{{ get_image('b_edit', '', {'title': 'ENUM/SET editor'|trans}) }} | ||
</a> | ||
</div> | ||
</td> | ||
<td class="hide no_len">---</td> | ||
<td class="routine_param_opts_text"> | ||
<select lang="en" dir="ltr" name="item_param_opts_text[{{ index }}]"> | ||
<option value="">{% trans 'Charset' %}</option> | ||
<option value=""></option> | ||
{% for charset in charsets %} | ||
<option value="{{ charset.name }}" title="{{ charset.description }}"{{ charset.is_selected ? ' selected' }}> | ||
{{- charset.name -}} | ||
</option> | ||
{% endfor %} | ||
</select> | ||
</td> | ||
<td class="hide no_opts">---</td> | ||
<td class="routine_param_opts_num"> | ||
<select name="item_param_opts_num[{{ index }}]"> | ||
<option value=""></option> | ||
{% for value in param_opts_num %} | ||
<option value="{{ value }}"{{ item_param_opts_num == value ? ' selected' }}>{{ value }}</option> | ||
{% endfor %} | ||
</select> | ||
</td> | ||
<td class="routine_param_remove{{ drop_class }}"> | ||
<a href="#" class="routine_param_remove_anchor"> | ||
{{ get_icon('b_drop', 'Drop'|trans) }} | ||
</a> | ||
</td> | ||
</tr> |
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