Skip to content

Commit

Permalink
Make access token textarea readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
willbrowningme committed Nov 1, 2019
1 parent 7c93533 commit 043a7ed
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
2 changes: 1 addition & 1 deletion resources/js/components/passport/PersonalAccessTokens.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
50 changes: 27 additions & 23 deletions resources/views/emails/forward/html.blade.php
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 043a7ed

Please sign in to comment.