Browse Source

task email template

moell 9 months ago
parent
commit
486eb317df

+ 19 - 0
resources/views/components/email/history.blade.php

@@ -0,0 +1,19 @@
+<table  align="center" width="570" cellpadding="0" cellspacing="0" role="presentation" style="padding-bottom: 10px">
+    <tr>
+        <td  align="left">
+            <h2>History</h2>
+        </td>
+    </tr>
+    @for($i = 1; $i <= 5; $i++)
+        <tr>
+            <td  align="left" style="padding: 0 0 10px 10px;">
+                {{ $i }}. {{ uniqid() }}
+            </td>
+        </tr>
+    @endfor
+    <tr>
+        <td  align="left" style="padding: 0 0 10px 10px;">
+            <a href="">More...</a>
+        </td>
+    </tr>
+</table>

+ 18 - 5
resources/views/emails/actions/task.blade.php

@@ -1,11 +1,24 @@
 <x-mail::message>
-# Introduction
+# Task Name: 22116HK/A.I.P. No. AI-MC-022 (AR) Vibration Monitoring System
 
-The body of your message.
+<x-mail::panel>{{ date("Y-m-d H:i:s") }} approved by admin</x-mail::panel>
 
-<x-mail::button :url="''">
-Button Text
-</x-mail::button>
+## Approval Status
+Approved
+
+## State
+Shared
+
+## Assign
+admin
+
+## Suitability
+S3
+
+## Note
+This is note
+
+<x-email.history></x-email.history>
 
 Thanks,<br>
 {{ config('app.name') }}

+ 2 - 1
resources/views/vendor/mail/html/themes/default.css

@@ -39,13 +39,14 @@ a img {
 
 h1 {
     color: #3d4852;
-    font-size: 18px;
+    font-size: 20px;
     font-weight: bold;
     margin-top: 0;
     text-align: left;
 }
 
 h2 {
+    color: #3d4852;
     font-size: 16px;
     font-weight: bold;
     margin-top: 0;