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