Skip to content

Commit 2af84ac

Browse files
authored
Remove invalid and unnecessary "border" attribute on login page <img> (hestiacp#2884)
Global `img { border: 0 }` is also already set in normalize.css.
1 parent 57d20df commit 2af84ac

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

web/templates/pages/login/login.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<table>
66
<tr>
77
<td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
8-
<a href="/"><img border=0 src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
8+
<a href="/"><img src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
99
</td>
1010
<td style="padding: 40px 60px 0 0;">
1111
<form method="post" action="/login/" id="form_login">
@@ -54,4 +54,4 @@
5454
<script src="/inc/jquery/jquery-3.6.0.min.js"></script>
5555
</body>
5656

57-
</html>
57+
</html>

web/templates/pages/login/login_1.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<table>
66
<tr>
77
<td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
8-
<a href="/"><img border=0 src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
8+
<a href="/"><img src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
99
</td>
1010
<td style="padding: 40px 60px 0 0;" class="animated fadeIn">
1111
<form method="post" action="/login/" id="form_login">
@@ -62,4 +62,4 @@
6262
<script src="/inc/jquery/jquery-3.6.0.min.js"></script>
6363
</body>
6464

65-
</html>
65+
</html>

web/templates/pages/login/login_2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<table>
66
<tr>
77
<td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
8-
<a href="/"><img border=0 src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
8+
<a href="/"><img src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
99
</td>
1010
<td style="padding: 40px 60px 0 0;" class="animated fadeIn">
1111
<form method="post" action="/login/" id="form_login">
@@ -60,4 +60,4 @@
6060
<script src="/inc/jquery/jquery-3.6.0.min.js"></script>
6161
</body>
6262

63-
</html>
63+
</html>

web/templates/pages/login/login_a.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<table>
66
<tr>
77
<td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
8-
<a href="/"><img border=0 src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
8+
<a href="/"><img src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
99
</td>
1010
<td style="padding: 40px 60px 0 0;">
1111
<form method="post" action="/login/" id="form_login">
@@ -71,4 +71,4 @@
7171
<script src="/inc/jquery/jquery-3.6.0.min.js"></script>
7272
</body>
7373

74-
</html>
74+
</html>

web/templates/pages/login/reset2fa.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<table>
66
<tr>
77
<td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
8-
<a href="/"><img border=0 src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
8+
<a href="/"><img src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
99
</td>
1010
<td style="padding: 40px 60px 0 0;" class="animated fadeIn">
1111
<?php if ($success) {?>
@@ -75,4 +75,4 @@
7575
</center>
7676
</body>
7777

78-
</html>
78+
</html>

web/templates/pages/login/reset_1.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<table>
66
<tr>
77
<td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
8-
<a href="/"><img border=0 src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
8+
<a href="/"><img src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
99
</td>
1010
<td style="padding: 40px 60px 0 0;" class="animated fadeIn">
1111
<form method="post" action="/reset/">
@@ -60,4 +60,4 @@
6060
</center>
6161
</body>
6262

63-
</html>
63+
</html>

web/templates/pages/login/reset_2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<table>
66
<tr>
77
<td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
8-
<a href="/"><img border=0 src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
8+
<a href="/"><img src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
99
</td>
1010
<td style="padding: 40px 60px 0 0;" class="animated fadeIn">
1111
<form method="get" action="/reset/">
@@ -55,4 +55,4 @@
5555
</center>
5656
</body>
5757

58-
</html>
58+
</html>

web/templates/pages/login/reset_3.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<table>
66
<tr>
77
<td style="padding: 22px 30px 0 42px; height: 280px; width: 170px;">
8-
<a href="/"><img border=0 src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
8+
<a href="/"><img src="/images/logo.svg" title="<?=_('Hestia Control Panel');?>" style="margin-top: 70px;" /></a>
99
</td>
1010
<td style="padding: 40px 60px 0 0;" class="animated fadeIn">
1111
<form method="post">
@@ -63,4 +63,4 @@
6363
</center>
6464
</body>
6565

66-
</html>
66+
</html>

0 commit comments

Comments
 (0)