"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.1.0-english/templates/create_tracking_version.twig" (24 Feb 2021, 3790 Bytes) of package /linux/www/phpMyAdmin-5.1.0-english.zip:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "create_tracking_version.twig": 5.0.4-english_vs_5.1.0-english.

    1 <div id="div_create_version">
    2     <form method="post" action="{{ url(route, url_params) }}">
    3         {{ get_hidden_inputs(db) }}
    4         {% for selected_table in selected %}
    5             <input type="hidden" name="selected[]" value="{{ selected_table }}">
    6         {% endfor %}
    7 
    8         <fieldset>
    9             <legend>
   10                 {% if selected|length == 1 %}
   11                     {{ 'Create version %1$s of %2$s'|trans|format(
   12                         last_version + 1,
   13                         db ~ '.' ~ selected[0]
   14                     ) }}
   15                 {% else %}
   16                     {{ 'Create version %1$s'|trans|format(last_version + 1) }}
   17                 {% endif %}
   18             </legend>
   19             <input type="hidden" name="version" value="{{ last_version + 1 }}">
   20             <p>{% trans 'Track these data definition statements:' %}</p>
   21 
   22             {% if type == 'both' or type == 'table' %}
   23                 <input type="checkbox" name="alter_table" value="true"
   24                     {{- 'ALTER TABLE' in default_statements ? ' checked="checked"' }}>
   25                 ALTER TABLE<br>
   26                 <input type="checkbox" name="rename_table" value="true"
   27                     {{- 'RENAME TABLE' in default_statements ? ' checked="checked"' }}>
   28                 RENAME TABLE<br>
   29                 <input type="checkbox" name="create_table" value="true"
   30                     {{- 'CREATE TABLE' in default_statements ? ' checked="checked"' }}>
   31                 CREATE TABLE<br>
   32                 <input type="checkbox" name="drop_table" value="true"
   33                     {{- 'DROP TABLE' in default_statements ? ' checked="checked"' }}>
   34                 DROP TABLE<br>
   35             {% endif %}
   36             {% if type == 'both' %}
   37                 <br>
   38             {% endif %}
   39             {% if type == 'both' or type == 'view' %}
   40                 <input type="checkbox" name="alter_view" value="true"
   41                     {{- 'ALTER VIEW' in default_statements ? ' checked="checked"' }}>
   42                 ALTER VIEW<br>
   43                 <input type="checkbox" name="create_view" value="true"
   44                     {{- 'CREATE VIEW' in default_statements ? ' checked="checked"' }}>
   45                 CREATE VIEW<br>
   46                 <input type="checkbox" name="drop_view" value="true"
   47                     {{- 'DROP VIEW' in default_statements ? ' checked="checked"' }}>
   48                 DROP VIEW<br>
   49             {% endif %}
   50             <br>
   51 
   52             <input type="checkbox" name="create_index" value="true"
   53                 {{- 'CREATE INDEX' in default_statements ? ' checked="checked"' }}>
   54             CREATE INDEX<br>
   55             <input type="checkbox" name="drop_index" value="true"
   56                 {{- 'DROP INDEX' in default_statements ? ' checked="checked"' }}>
   57             DROP INDEX<br>
   58 
   59             <p>{% trans 'Track these data manipulation statements:' %}</p>
   60             <input type="checkbox" name="insert" value="true"
   61                 {{- 'INSERT' in default_statements ? ' checked="checked"' }}>
   62             INSERT<br>
   63             <input type="checkbox" name="update" value="true"
   64                 {{- 'UPDATE' in default_statements ? ' checked="checked"' }}>
   65             UPDATE<br>
   66             <input type="checkbox" name="delete" value="true"
   67                 {{- 'DELETE' in default_statements ? ' checked="checked"' }}>
   68             DELETE<br>
   69             <input type="checkbox" name="truncate" value="true"
   70                 {{- 'TRUNCATE' in default_statements ? ' checked="checked"' }}>
   71             TRUNCATE<br>
   72         </fieldset>
   73 
   74         <fieldset class="tblFooters">
   75             <input type="hidden" name="submit_create_version" value="1">
   76             <input class="btn btn-primary" type="submit" value="{% trans 'Create version' %}">
   77         </fieldset>
   78     </form>
   79 </div>