Make access token textarea readonly

This commit is contained in:
Will Browning 2019-11-01 08:53:13 +00:00
parent 7c9353390f
commit 043a7ed6ad
2 changed files with 28 additions and 24 deletions

View file

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

View file

@ -1,23 +1,27 @@
<table style="width:100%;"> @if($location === 'off')
<tbody> {!! $html !!}
@if($location === 'top') @else
<tr> <table style="width:100%;">
<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%;"> <tbody>
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 @if($location === 'top')
</td> <tr>
</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%;">
@endif 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
<tr> </td>
<td style="padding:10px 0;width:100%;"> </tr>
{!! $html !!} @endif
</td> <tr>
</tr> <td style="padding:10px 0;width:100%;">
@if($location === 'bottom') {!! $html !!}
<tr> </td>
<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%;"> </tr>
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 @if($location === 'bottom')
</td> <tr>
</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%;">
@endif 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
</tbody> </td>
</table> </tr>
@endif
</tbody>
</table>
@endif