|
5 | 5 | <input type='hidden' id='hasSQLite' value='<?php p($_['hasSQLite']) ?>'> |
6 | 6 | <input type='hidden' id='hasPostgreSQL' value='<?php p($_['hasPostgreSQL']) ?>'> |
7 | 7 | <input type='hidden' id='hasOracle' value='<?php p($_['hasOracle']) ?>'> |
8 | | -<form action="index.php" method="post" class="guest-box"> |
| 8 | +<form action="index.php" method="post" class="guest-box install-form"> |
9 | 9 | <input type="hidden" name="install" value="true"> |
10 | 10 | <?php if (count($_['errors']) > 0): ?> |
11 | 11 | <fieldset class="warning"> |
|
34 | 34 | <?php endif; ?> |
35 | 35 | <fieldset id="adminaccount"> |
36 | 36 | <legend><?php print_unescaped($l->t('Create an <strong>admin account</strong>')); ?></legend> |
37 | | - <p class="grouptop"> |
| 37 | + <p> |
| 38 | + <label for="adminlogin"><?php p($l->t('Username')); ?></label> |
38 | 39 | <input type="text" name="adminlogin" id="adminlogin" |
39 | | - placeholder="<?php p($l->t('Username')); ?>" |
40 | 40 | value="<?php p($_['adminlogin']); ?>" |
41 | 41 | autocomplete="off" autocapitalize="none" autocorrect="off" autofocus required> |
42 | | - <label for="adminlogin" class="infield"><?php p($l->t('Username')); ?></label> |
43 | 42 | </p> |
44 | 43 | <p class="groupbottom"> |
| 44 | + <label for="adminpass"><?php p($l->t('Password')); ?></label> |
45 | 45 | <input type="password" name="adminpass" data-typetoggle="#show" id="adminpass" |
46 | | - placeholder="<?php p($l->t('Password')); ?>" |
47 | 46 | value="<?php p($_['adminpass']); ?>" |
48 | 47 | autocomplete="off" autocapitalize="none" autocorrect="off" required> |
49 | | - <label for="adminpass" class="infield"><?php p($l->t('Password')); ?></label> |
50 | 48 | <button id="show" class="toggle-password" aria-label="<?php p($l->t('Show password')); ?>"> |
51 | 49 | <img src="<?php print_unescaped(image_path('', 'actions/toggle.svg')); ?>" alt="<?php p($l->t('Toggle password visibility')); ?>"> |
52 | 50 | </button> |
|
102 | 100 | <fieldset id='databaseField'> |
103 | 101 | <div id="use_other_db"> |
104 | 102 | <p class="grouptop"> |
105 | | - <label for="dbuser" class="infield"><?php p($l->t('Database user')); ?></label> |
| 103 | + <label for="dbuser"><?php p($l->t('Database user')); ?></label> |
106 | 104 | <input type="text" name="dbuser" id="dbuser" |
107 | | - placeholder="<?php p($l->t('Database user')); ?>" |
108 | 105 | value="<?php p($_['dbuser']); ?>" |
109 | 106 | autocomplete="off" autocapitalize="none" autocorrect="off"> |
110 | 107 | </p> |
111 | 108 | <p class="groupmiddle"> |
| 109 | + <label for="dbpass"><?php p($l->t('Database password')); ?></label> |
112 | 110 | <input type="password" name="dbpass" id="dbpass" |
113 | | - placeholder="<?php p($l->t('Database password')); ?>" |
114 | 111 | value="<?php p($_['dbpass']); ?>" |
115 | 112 | autocomplete="off" autocapitalize="none" autocorrect="off"> |
116 | | - <label for="dbpass" class="infield"><?php p($l->t('Database password')); ?></label> |
117 | 113 | <button id="show" class="toggle-password" aria-label="<?php p($l->t('Show password')); ?>"> |
118 | 114 | <img src="<?php print_unescaped(image_path('', 'actions/toggle.svg')); ?>" alt="<?php p($l->t('Toggle password visibility')); ?>"> |
119 | 115 | </button> |
120 | 116 | </p> |
121 | 117 | <p class="groupmiddle"> |
122 | | - <label for="dbname" class="infield"><?php p($l->t('Database name')); ?></label> |
| 118 | + <label for="dbname"><?php p($l->t('Database name')); ?></label> |
123 | 119 | <input type="text" name="dbname" id="dbname" |
124 | | - placeholder="<?php p($l->t('Database name')); ?>" |
125 | 120 | value="<?php p($_['dbname']); ?>" |
126 | 121 | autocomplete="off" autocapitalize="none" autocorrect="off" |
127 | 122 | pattern="[0-9a-zA-Z$_-]+"> |
|
131 | 126 | <p class="groupmiddle"> |
132 | 127 | <label for="dbtablespace" class="infield"><?php p($l->t('Database tablespace')); ?></label> |
133 | 128 | <input type="text" name="dbtablespace" id="dbtablespace" |
134 | | - placeholder="<?php p($l->t('Database tablespace')); ?>" |
135 | 129 | value="<?php p($_['dbtablespace']); ?>" |
136 | 130 | autocomplete="off" autocapitalize="none" autocorrect="off"> |
137 | 131 | </p> |
138 | 132 | </div> |
139 | 133 | <?php endif; ?> |
140 | 134 | <p class="groupbottom"> |
141 | | - <label for="dbhost" class="infield"><?php p($l->t('Database host')); ?></label> |
| 135 | + <label for="dbhost"><?php p($l->t('Database host')); ?></label> |
142 | 136 | <input type="text" name="dbhost" id="dbhost" |
143 | | - placeholder="<?php p($l->t('Database host')); ?>" |
144 | 137 | value="<?php p($_['dbhost']); ?>" |
145 | 138 | autocomplete="off" autocapitalize="none" autocorrect="off"> |
146 | 139 | </p> |
|
153 | 146 | <?php endif; ?> |
154 | 147 |
|
155 | 148 | <?php if (!$_['dbIsSet'] or count($_['errors']) > 0): ?> |
156 | | - <fieldset id="sqliteInformation" class="notecard warning"> |
| 149 | + <div id="sqliteInformation" class="notecard warning"> |
157 | 150 | <legend><?php p($l->t('Performance warning'));?></legend> |
158 | 151 | <p><?php p($l->t('You chose SQLite as database.'));?></p> |
159 | 152 | <p><?php p($l->t('SQLite should only be used for minimal and development instances. For production we recommend a different database backend.'));?></p> |
160 | 153 | <p><?php p($l->t('If you use clients for file syncing, the use of SQLite is highly discouraged.')); ?></p> |
161 | | - </fieldset> |
| 154 | + </div> |
162 | 155 | <?php endif ?> |
163 | 156 |
|
164 | 157 | <div class="icon-loading-dark float-spinner"> </div> |
|
0 commit comments