Skip to content

Commit 3962530

Browse files
author
Kristan Kenney
committed
Correct position of page titles on CSR generation pages
Add status icons to message text on CSR page Adjust page title label for CSR page
1 parent 99ab1d4 commit 3962530

File tree

3 files changed

+25
-15
lines changed

3 files changed

+25
-15
lines changed

web/inc/i18n/en.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
'Adding IP address' => 'Add IP Address',
133133
'Editing IP Address' => 'Edit IP Address',
134134
'Editing Backup Exclusions' => 'Edit Backup Exclusions',
135-
'Generating CSR' => 'Generate New Self-Signed SSL Certificate',
135+
'Generating CSR' => 'New Self-Signed SSL Certificate',
136136
'Listing' => 'Listing',
137137
'Search Results' => 'Search Results',
138138
'Adding Firewall Rule' => 'Add Firewall Rule',

web/templates/admin/generate_ssl.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
</table>
4040
</td>
4141
<td class="data-dotted">
42-
<table>
42+
<table class="data-col2">
4343
<tr>
44-
<td><span class="step-top page-title"><?=__('Generating CSR')?></span></td>
44+
<td class="step-top">
45+
<span class="page-title"><?=__('Generating CSR')?></span>
46+
</td>
4547
</tr>
46-
</table>
47-
<table class="data-col2">
4848
<tr>
4949
<td class="vst-text" style="padding: 24px 0 0 0;">
5050
<?php print __('Domain');?>

web/templates/admin/list_ssl.html

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
<div class="l-center">
22
<div class="l-sort clearfix noselect">
33
<div class="l-sort-toolbar clearfix float-left">
4-
<span class="title"><b><?=__('Generating CSR')?></b></span>
5-
<?php
6-
if (!empty($_SESSION['error_msg'])) {
7-
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
8-
} else {
9-
if (!empty($_SESSION['ok_msg'])) {
10-
echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
11-
}
12-
}
13-
?>
4+
145
</div>
156
</div>
167
</div>
@@ -41,6 +32,25 @@
4132
</td>
4233
<td class="data-dotted">
4334
<table class="data-col2">
35+
<tr>
36+
<td class="step-top">
37+
<span class="page-title"><?=__('Generating CSR')?></span>
38+
</td>
39+
<tr>
40+
<td>
41+
<?php
42+
if (!empty($_SESSION['error_msg'])) {
43+
echo "<span class=\"vst-error\"><i class=\"fas fa-exclamation-circle status-icon red\"></i> ".$_SESSION['error_msg']."</span>";
44+
} else {
45+
if (!empty($_SESSION['ok_msg'])) {
46+
echo "<span class=\"vst-ok\"><i class=\"fas fa-check-circle status-icon green\"></i> ".$_SESSION['ok_msg']."</span>";
47+
}
48+
}
49+
?>
50+
</td>
51+
52+
</tr>
53+
</tr>
4454
<tr>
4555
<td class="vst-text" style="padding: 12px 0 0 0;"><?php print __('SSL Certificate');?>
4656
</td>

0 commit comments

Comments
 (0)