c73ffcd4353ac708c819720c302e6d901387ddb4
[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 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 You have two options:
19
20 <form method="post" id="stepInstaller-databaseSelect">
21 <p>&nbsp;</p>
22 <div class="row">
23 <div class="col-md-6">
24 <div class="radio">
25 <label for="t3-install-form-db-select-type-existing">
26 <input id="t3-install-form-db-select-type-existing" type="radio" name="install[values][type]" value="existing" class="radio" checked="checked" />
27 Use an existing empty database:
28 </label>
29 </div>
30 <div class="form-group">
31 <select
32 id="t3-install-step-database-existing"
33 name="install[values][existing]"
34 class="form-control"
35 onfocus="document.getElementById('t3-install-form-db-select-type-existing').checked=true;"
36 >
37 <option value="">-- Select database --</option>
38 <f:for each="{databaseList}" as="database">
39 <f:if condition="{database.tables}">
40 <f:then>
41 <option value="{database.name}" disabled="disabled">{database.name} ({database.tables} Tables)</option>
42 </f:then>
43 <f:else>
44 <option value="{database.name}">{database.name}</option>
45 </f:else>
46 </f:if>
47 </f:for>
48 </select>
49 </div>
50 <div class="radio">
51 <label for="t3-install-step-database-new">
52 <input
53 id="t3-install-form-db-select-type-new"
54 type="radio"
55 name="install[values][type]"
56 value="new"
57 class="radio"
58 />
59 OR create a new database:
60 </label>
61 </div>
62 <div class="form-group">
63 <p>
64 <em>Attention: The database user must have sufficient privileges to create the whole structure.</em>
65 <br />
66 Enter a name for your TYPO3 database.
67 </p>
68 <input
69 id="t3-install-step-database-new"
70 class="t3-install-form-input-text form-control"
71 type="text"
72 name="install[values][new]"
73 checked="checked"
74 onfocus="document.getElementById('t3-install-form-db-select-type-new').checked=true;"
75 />
76 </div>
77
78 <div class="form-group">
79 <button class="btn btn-success t3js-installer-databaseSelect-execute">
80 Continue
81 </button>
82 </div>
83 </div>
84 </div>
85 </form>