"Fossies" - the Fresh Open Source Software Archive 
Member "phpMyAdmin-5.1.0-all-languages/templates/table/operations/view.twig" (24 Feb 2021, 1538 Bytes) of package /linux/www/phpMyAdmin-5.1.0-all-languages.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.
1 <div class="container-fluid">
2 <form method="post" action="{{ url('/view/operations') }}">
3 {{ get_hidden_inputs(db, table) }}
4 <input type="hidden" name="reload" value="1">
5 <input type="hidden" name="submitoptions" value="1">
6
7 <div class="card mb-2">
8 <div class="card-header">{% trans 'Operations' %}</div>
9 <div class="card-body">
10 <div class="form-inline">
11 <label for="newNameInput">{% trans 'Rename view to' %}</label>
12 <input id="newNameInput" class="form-control ml-2" type="text" name="new_name" onfocus="this.select()" value="{{ table }}" required>
13 </div>
14 </div>
15 <div class="card-footer text-right">
16 <input class="btn btn-primary" type="submit" value="{% trans 'Go' %}">
17 </div>
18 </div>
19 </form>
20
21 <div class="card mb-2">
22 <div class="card-header">{% trans 'Delete data or table' %}</div>
23 <div class="card-body">
24 <div class="card-text">
25 {{ link_or_button(
26 url('/sql', url_params|merge({
27 'sql_query': 'DROP VIEW ' ~ backquote(table),
28 'goto': url('/table/structure'),
29 'reload': true,
30 'purge': true,
31 'message_to_show': 'View %s has been dropped.'|trans|format(table)|e,
32 'table': table
33 })),
34 'Delete the view (DROP)'|trans,
35 {
36 'id': 'drop_view_anchor',
37 'class': 'text-danger ajax'
38 }
39 ) }}
40 {{ show_mysql_docu('DROP VIEW') }}
41 </div>
42 </div>
43 </div>
44 </div>