Skip to content

Commit 1e571d8

Browse files
author
Kristan Kenney
committed
Update textbox styling for SSL certificates
1 parent 3ed8ce2 commit 1e571d8

File tree

7 files changed

+20
-15
lines changed

7 files changed

+20
-15
lines changed

web/css/src/themes/default.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2822,6 +2822,11 @@ a.vst-text:active b{
28222822
width: 360px;
28232823
}
28242824

2825+
.vst-textinput.short.console {
2826+
height: 80px;
2827+
overflow: scroll;
2828+
}
2829+
28252830
#advanced-options .console{
28262831
width: 833px;
28272832
height: 600px;

web/css/themes/default.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/templates/admin/add_web.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
</tr>
374374
<tr>
375375
<td class="step-left">
376-
<textarea size="20" class="vst-textinput short" name="v_ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
376+
<textarea size="20" class="vst-textinput short console" name="v_ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
377377
</td>
378378
</tr>
379379
<tr>
@@ -383,7 +383,7 @@
383383
</tr>
384384
<tr>
385385
<td class="step-left">
386-
<textarea size="20" class="vst-textinput short" name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
386+
<textarea size="20" class="vst-textinput short console" name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
387387
</td>
388388
</tr>
389389
<tr>
@@ -393,7 +393,7 @@
393393
</tr>
394394
<tr>
395395
<td class="step-left">
396-
<textarea size="20" class="vst-textinput short" name="v_ssl_ca"><?=htmlentities(trim($v_ssl_ca, "'"))?></textarea>
396+
<textarea size="20" class="vst-textinput short console" name="v_ssl_ca"><?=htmlentities(trim($v_ssl_ca, "'"))?></textarea>
397397
</td>
398398
</tr>
399399
</table>

web/templates/admin/edit_mail.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
</tr>
141141
<tr>
142142
<td>
143-
<textarea size="20" class="vst-textinput short" <?php if ($v_letsencrypt == 'yes') echo 'disabled' ?> name="v_ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
143+
<textarea size="20" class="vst-textinput short console" <?php if ($v_letsencrypt == 'yes') echo 'disabled' ?> name="v_ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
144144
</td>
145145
</tr>
146146
<tr>
@@ -150,7 +150,7 @@
150150
</tr>
151151
<tr>
152152
<td>
153-
<textarea size="20" class="vst-textinput short" <?php if ($v_letsencrypt == 'yes') echo 'disabled' ?> name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
153+
<textarea size="20" class="vst-textinput short console" <?php if ($v_letsencrypt == 'yes') echo 'disabled' ?> name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
154154
</td>
155155
</tr>
156156
<tr>
@@ -160,7 +160,7 @@
160160
</tr>
161161
<tr>
162162
<td>
163-
<textarea size="20" class="vst-textinput short" <?php if ($v_letsencrypt == 'yes') echo 'disabled' ?> name="v_ssl_ca"><?=htmlentities(trim($v_ssl_ca, "'"))?></textarea>
163+
<textarea size="20" class="vst-textinput short console" <?php if ($v_letsencrypt == 'yes') echo 'disabled' ?> name="v_ssl_ca"><?=htmlentities(trim($v_ssl_ca, "'"))?></textarea>
164164
</td>
165165
</tr>
166166
<?

web/templates/admin/edit_server.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@
873873
</tr>
874874
<tr>
875875
<td>
876-
<textarea size="20" class="vst-textinput" name="v_ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
876+
<textarea size="20" class="vst-textinput short console" name="v_ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
877877
</td>
878878
</tr>
879879
<tr>
@@ -883,7 +883,7 @@
883883
</tr>
884884
<tr>
885885
<td>
886-
<textarea size="20" class="vst-textinput" name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
886+
<textarea size="20" class="vst-textinput short console" name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
887887
</td>
888888
</tr>
889889
<tr>

web/templates/admin/edit_web.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
</tr>
257257
<tr>
258258
<td>
259-
<textarea size="20" class="vst-textinput short" name="v_ssl_crt" id="ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
259+
<textarea size="20" class="vst-textinput short console" name="v_ssl_crt" id="ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
260260
</td>
261261
</tr>
262262
<tr>
@@ -266,7 +266,7 @@
266266
</tr>
267267
<tr>
268268
<td>
269-
<textarea size="20" class="vst-textinput short" name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
269+
<textarea size="20" class="vst-textinput short console" name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
270270
</td>
271271
</tr>
272272
<tr>
@@ -276,7 +276,7 @@
276276
</tr>
277277
<tr>
278278
<td>
279-
<textarea size="20" class="vst-textinput short" name="v_ssl_ca"><?=htmlentities(trim($v_ssl_ca, "'"))?></textarea>
279+
<textarea size="20" class="vst-textinput short console" name="v_ssl_ca"><?=htmlentities(trim($v_ssl_ca, "'"))?></textarea>
280280
</td>
281281
</tr>
282282
<?

web/templates/user/edit_web.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
</tr>
262262
<tr>
263263
<td>
264-
<textarea size="20" class="vst-textinput short" name="v_ssl_crt" id="ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
264+
<textarea size="20" class="vst-textinput short console" name="v_ssl_crt" id="ssl_crt"><?=htmlentities(trim($v_ssl_crt, "'"))?></textarea>
265265
</td>
266266
</tr>
267267
<tr>
@@ -271,7 +271,7 @@
271271
</tr>
272272
<tr>
273273
<td>
274-
<textarea size="20" class="vst-textinput short" name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
274+
<textarea size="20" class="vst-textinput short console" name="v_ssl_key"><?=htmlentities(trim($v_ssl_key, "'"))?></textarea>
275275
</td>
276276
</tr>
277277
<tr>
@@ -281,7 +281,7 @@
281281
</tr>
282282
<tr>
283283
<td>
284-
<textarea size="20" class="vst-textinput short" name="v_ssl_ca"><?=htmlentities(trim($v_ssl_ca, "'"))?></textarea>
284+
<textarea size="20" class="vst-textinput short console" name="v_ssl_ca"><?=htmlentities(trim($v_ssl_ca, "'"))?></textarea>
285285
</td>
286286
</tr>
287287
<?

0 commit comments

Comments
 (0)