Skip to content

Commit b5acf1f

Browse files
committed
Added back button and imporved html layout
1 parent 23b28a7 commit b5acf1f

File tree

4 files changed

+30
-26
lines changed

4 files changed

+30
-26
lines changed

web/templates/login.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@
2222
</tr>
2323
<tr>
2424
<td style="padding: 12px 0 0 2px;">
25-
<?php print __('Password');?> <a tabindex="5" class="generate" href="/reset/" style="font-size: 8pt; letter-spacing: 0.1em; padding: 0 0 0 14px;"><?php print __('forgot password');?></a>
25+
<?php print __('Password');?>
26+
<span style="padding:0 0 0 14px;">
27+
<a tabindex="5" class="generate" href="/reset/" style="font-size: 8pt; letter-spacing: 0.1em;">
28+
<?php print __('forgot password');?>
29+
</a>
30+
</span>
2631
</td>
2732
</tr>
2833
<tr>
@@ -45,10 +50,10 @@
4550
</tr>
4651
<tr>
4752
<td colspan=2>
48-
<table class="login-bottom">
49-
<tr><td>.<?php if (isset($ERROR)) echo $ERROR ?></td></tr>
50-
<tr><td> <a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a></td></tr>
51-
</table>
53+
<div class="login-bottom">
54+
<div style="height:20px"><?php if (isset($ERROR)) echo $ERROR ?></div>
55+
<a class="vestacp" href="http://vestacp.com" >vestacp.com</a>
56+
</div>
5257
</td>
5358
</tr>
5459
</table>

web/templates/reset_1.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="Vesta Control Panel" /></a>
99
</td>
1010
<td style="padding: 10px 0 0 0;">
11-
<form method="post" action="/reset/" >
11+
<form method="post" action="/reset/">
1212
<table class="login-box">
1313
<tr>
1414
<td style="padding: 12px 0 0 2px;">
@@ -28,6 +28,7 @@
2828
<tr>
2929
<td style="padding: 20px 0 12px 0;">
3030
<input tabindex="2" type="submit" value="<?php print __('Submit');?>" class="button">
31+
<input type="button" class="button" value="<?php print __('Back');?>" onclick="location.href='/login/'">
3132
</td>
3233
</tr>
3334
</table>
@@ -36,10 +37,10 @@
3637
</tr>
3738
<tr>
3839
<td colspan=2>
39-
<table class="login-bottom">
40-
<tr><td>.<?php if (isset($ERROR)) echo $ERROR ?></td></tr>
41-
<tr><td><a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a></td></tr>
42-
</table>
40+
<div class="login-bottom">
41+
<div style="height:20px"><?php if (isset($ERROR)) echo $ERROR ?></div>
42+
<a class="vestacp" href="http://vestacp.com" >vestacp.com</a>
43+
</div>
4344
</td>
4445
</tr>
4546
</table>

web/templates/reset_2.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</td>
1717
</tr>
1818
<tr>
19-
<td style="padding: 12px 0 0 2px;"><?php print __('Reset Code');?></td>
19+
<td style="padding: 12px 0 0 2px;" colspan=2><?php print __('Reset Code');?></td>
2020
</tr>
2121
<tr>
2222
<td>
@@ -28,6 +28,7 @@
2828
<tr>
2929
<td style="padding: 20px 0 12px 0;">
3030
<input tabindex="2" type="submit" value="<?php print __('Confirm');?>" class="button">
31+
<input type="button" class="button" value="<?php print __('Back');?>" onclick="location.href='/reset/'">
3132
</td>
3233
</tr>
3334
</table>
@@ -36,10 +37,10 @@
3637
</tr>
3738
<tr>
3839
<td colspan=2>
39-
<table class="login-bottom">
40-
<tr><td>.<?php if (isset($ERROR)) echo $ERROR ?></td></tr>
41-
<tr><td><a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a></td></tr>
42-
</table>
40+
<div class="login-bottom">
41+
<div style="height:20px"><?php if (isset($ERROR)) echo $ERROR ?></div>
42+
<a class="vestacp" href="http://vestacp.com" >vestacp.com</a>
43+
</div>
4344
</td>
4445
</tr>
4546
</table>

web/templates/reset_3.html

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<td>
55
<table>
66
<tr>
7-
<td style="padding: 0 10 0 42; height: 280px; width: 170px;">
7+
<td style="padding: 0 10px 0 42px; height: 280px; width: 170px;">
88
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="Vesta Control Panel" /></a>
99
</td>
10-
<td style="padding: 20px 0 0 0;">
10+
<td style="padding: 10px 0 0 0;">
1111
<form method="post">
1212
<table class="login-box">
1313
<tr>
@@ -34,12 +34,9 @@
3434
</td>
3535
</tr>
3636
<tr>
37-
<td height="28px">
38-
</td>
39-
</tr>
40-
<tr>
41-
<td style="padding: 0 0 12px 0;">
37+
<td style="padding: 20px 0 12px 0;">
4238
<input tabindex="3" type="submit" value="<?php print __('Reset');?>" class="button">
39+
<input type="button" class="button" value="<?php print __('Back');?>" onclick="location.href='/login/'">
4340
</td>
4441
</tr>
4542
</table>
@@ -48,10 +45,10 @@
4845
</tr>
4946
<tr>
5047
<td colspan=2>
51-
<table class="login-bottom">
52-
<tr><td>.<?php if (isset($ERROR)) echo $ERROR ?></td></tr>
53-
<tr><td> <a tabindex="6" class="vestacp" href="http://vestacp.com" >vestacp.com</a></td></tr>
54-
</table>
48+
<div class="login-bottom">
49+
<div style="height:20px"><?php if (isset($ERROR)) echo $ERROR ?></div>
50+
<a class="vestacp" href="http://vestacp.com" >vestacp.com</a>
51+
</div>
5552
</td>
5653
</tr>
5754
</table>

0 commit comments

Comments
 (0)