Skip to content

Commit 90be009

Browse files
author
rajakodings
committed
update
1 parent a867eeb commit 90be009

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

src/Views/email_form.blade.php

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,37 @@
11
<html>
22
<head>
33
<title>Email Tester For Laravel</title>
4+
<style>
5+
pre {
6+
background: #000000;
7+
color: green;
8+
padding: 10px;
9+
border: 2px solid #cccccc;
10+
min-height: 100px;
11+
}
12+
table {
13+
border-collapse: collapse;
14+
}
15+
form {
16+
border: 2px solid #cccccc;
17+
box-shadow: 3px 5px 15px #aaaaaa;
18+
}
19+
input[type=submit] {
20+
border: 1px solid #aaaaaa;
21+
background: #0072d6;
22+
padding: 5px 10px 5px 10px;
23+
color: #ffffff;
24+
font-size: 20px;
25+
cursor: pointer;
26+
}
27+
</style>
428
</head>
529
<body>
630
<h2>Email Tester For Laravel</h2>
31+
<hr>
732
<form action="" method="post">
833
{!! csrf_field() !!}
9-
<table width="500px" border="1px">
34+
<table width="500px" cellpadding="5px" border="1px">
1035
<tr>
1136
<td>Driver</td><td><input type="text" name="driver" size="90" value="{{ $driver?:'smtp' }}" required ></td>
1237
</tr>
@@ -32,10 +57,12 @@
3257
<td>Subject</td><td><input type="text" name="subject" size="90" value="{{ $subject?:'Thank you for using this email tester at '.date('d F Y H:i') }}" required ></td>
3358
</tr>
3459
<tr>
35-
<td>Message</td><td><input type="text" name="content" size="90" value="{{ $content?:'Hi there, Congratulation the email has been received successfully' }}" required ></td>
60+
<td>Message</td><td>
61+
<textarea required name="content" rows="5">{{ $content?:'Hi there, Congratulation the email has been received successfully' }}</textarea>
62+
</td>
3663
</tr>
3764
<tr>
38-
<td>&nbsp;</td><td><input type="submit" value="Submit"></td>
65+
<td>&nbsp;</td><td><input type="submit" value="SUBMIT TO TEST"></td>
3966
</tr>
4067
</table>
4168
</form>
@@ -44,6 +71,10 @@
4471
<pre>
4572
{!! $debug !!}
4673
</pre>
74+
@else
75+
<pre>
76+
Ready to test!
77+
</pre>
4778
@endif
4879
</body>
4980
</html>

0 commit comments

Comments
 (0)