diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-09 10:55:03 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-09 13:09:38 +0100 |
| commit | 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (patch) | |
| tree | 5c691241355c943a3c68ddb06b8cf8c60aa11319 /srcs/phpmyadmin/templates/rte/routines | |
| parent | 7e0d85db834d6351ed85d01e5126ac31dc510b86 (diff) | |
| download | ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.gz ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.bz2 ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.zip | |
phpmyadmin working
Diffstat (limited to 'srcs/phpmyadmin/templates/rte/routines')
| -rw-r--r-- | srcs/phpmyadmin/templates/rte/routines/parameter_row.twig | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/rte/routines/parameter_row.twig b/srcs/phpmyadmin/templates/rte/routines/parameter_row.twig new file mode 100644 index 0000000..e15ea13 --- /dev/null +++ b/srcs/phpmyadmin/templates/rte/routines/parameter_row.twig @@ -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> |
