Pārlūkot izejas kodu

Make access token textarea readonly

Will Browning 5 gadi atpakaļ
vecāks
revīzija
043a7ed6ad

+ 1 - 1
resources/js/components/passport/PersonalAccessTokens.vue

@@ -149,7 +149,7 @@
           v-model="accessToken"
           class="w-full appearance-none bg-grey-100 border border-transparent text-grey-700 focus:outline-none rounded p-3 text-sm"
           rows="10"
-          disabled
+          readonly
         >
         </textarea>
         <div class="mt-6">

+ 27 - 23
resources/views/emails/forward/html.blade.php

@@ -1,23 +1,27 @@
-<table style="width:100%;">
-  <tbody>
-    @if($location === 'top')
-      <tr>
-        <td style="padding:10px 20px;background-color:#fff;text-align:center;line-height:1.5;border-bottom:1px solid #cbd2d9;font-size:12px;width:100%;">
-          This email was sent to {{ $aliasEmail }} from {{ $fromEmail }}{{ $replacedSubject }} and has been forwarded by <a href="https://anonaddy.com" style="color:#2d3a8c;text-decoration:underline;" target="_blank">AnonAddy</a><br>Click <a href="{{ $deactivateUrl }}" style="color:#2d3a8c;text-decoration:underline;" target="_blank">here</a> to deactivate this alias
-        </td>
-      </tr>
-    @endif
-    <tr>
-      <td style="padding:10px 0;width:100%;">
-        {!! $html !!}
-      </td>
-    </tr>
-    @if($location === 'bottom')
-      <tr>
-        <td style="padding:10px 20px;background-color:#fff;text-align:center;line-height:1.5;border-top:1px solid #cbd2d9;font-size:12px;width:100%;">
-          This email was sent to {{ $aliasEmail }} from {{ $fromEmail }}{{ $replacedSubject }} and has been forwarded by <a href="https://anonaddy.com" style="color:#2d3a8c;text-decoration:underline;" target="_blank">AnonAddy</a><br>Click <a href="{{ $deactivateUrl }}" style="color:#2d3a8c;text-decoration:underline;" target="_blank">here</a> to deactivate this alias
-        </td>
-      </tr>
-    @endif
-  </tbody>
-</table>
+@if($location === 'off')
+    {!! $html !!}
+@else
+    <table style="width:100%;">
+        <tbody>
+            @if($location === 'top')
+            <tr>
+                <td style="padding:10px 20px;background-color:#fff;text-align:center;line-height:1.5;border-bottom:1px solid #cbd2d9;font-size:12px;width:100%;">
+                This email was sent to {{ $aliasEmail }} from {{ $fromEmail }}{{ $replacedSubject }} and has been forwarded by <a href="https://anonaddy.com" style="color:#2d3a8c;text-decoration:underline;" target="_blank" rel="noreferrer noopener nofollow">AnonAddy</a><br>Click <a href="{{ $deactivateUrl }}" style="color:#2d3a8c;text-decoration:underline;" target="_blank" rel="noreferrer noopener nofollow">here</a> to deactivate this alias
+                </td>
+            </tr>
+            @endif
+            <tr>
+                <td style="padding:10px 0;width:100%;">
+                    {!! $html !!}
+                </td>
+            </tr>
+            @if($location === 'bottom')
+            <tr>
+                <td style="padding:10px 20px;background-color:#fff;text-align:center;line-height:1.5;border-top:1px solid #cbd2d9;font-size:12px;width:100%;">
+                This email was sent to {{ $aliasEmail }} from {{ $fromEmail }}{{ $replacedSubject }} and has been forwarded by <a href="https://anonaddy.com" style="color:#2d3a8c;text-decoration:underline;" target="_blank" rel="noreferrer noopener nofollow">AnonAddy</a><br>Click <a href="{{ $deactivateUrl }}" style="color:#2d3a8c;text-decoration:underline;" target="_blank" rel="noreferrer noopener nofollow">here</a> to deactivate this alias
+                </td>
+            </tr>
+            @endif
+        </tbody>
+    </table>
+@endif