[TASK] Store System Maintenance tokens in data attributes
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Installer / ShowDatabaseSelect.html
1 <div class="t3js-module-content" data-installer-database-select-execute-token="{executeDatabaseSelectToken}">
2 <h3>Select a database</h3>
3
4 <div class="t3js-installer-databaseSelect-output"></div>
5
6 <f:if condition="{errors -> f:count()}">
7 <f:for each="{errors}" as="error">
8 <div class="alert alert-danger">
9 <h4>Exception</h4>
10 <p>{error}</p>
11 </div>
12 </f:for>
13 </f:if>
14
15 <form method="post" id="stepInstaller-databaseSelect">
16 <div class="row">
17 <div class="col-md-6">
18 <div class="radio">
19 <label for="t3-install-form-db-select-type-existing">
20 <input id="t3-install-form-db-select-type-existing" type="radio" name="install[values][type]" value="existing" class="radio" checked="checked" />
21 Use an existing empty database:
22 </label>
23 </div>
24 <div class="form-group">
25 <select
26 id="t3-install-step-database-existing"
27 name="install[values][existing]"
28 class="form-control"
29 onfocus="document.getElementById('t3-install-form-db-select-type-existing').checked=true;"
30 >
31 <option value="">-- Select database --</option>
32 <f:for each="{databaseList}" as="database">
33 <f:if condition="{database.tables}">
34 <f:then>
35 <option value="{database.name}" disabled="disabled">{database.name} ({database.tables} Tables)</option>
36 </f:then>
37 <f:else>
38 <option value="{database.name}">{database.name}</option>
39 </f:else>
40 </f:if>
41 </f:for>
42 </select>
43 </div>
44 <div class="radio">
45 <label for="t3-install-step-database-new">
46 <input
47 id="t3-install-form-db-select-type-new"
48 type="radio"
49 name="install[values][type]"
50 value="new"
51 class="radio"
52 />
53 Create a new database:
54 </label>
55 </div>
56 <div class="form-group">
57 <p>
58 Specify a name for your TYPO3 database.
59 </p>
60 <input
61 id="t3-install-step-database-new"
62 class="t3-install-form-input-text form-control"
63 type="text"
64 name="install[values][new]"
65 checked="checked"
66 onfocus="document.getElementById('t3-install-form-db-select-type-new').checked=true;"
67 />
68 </div>
69
70 <div class="form-group">
71 <button class="btn btn-success t3js-installer-databaseSelect-execute">
72 Continue
73 </button>
74 </div>
75 </div>
76 </div>
77 </form>
78 </div>