mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-10 06:08:42 +02:00
updated to be Yes/No
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<script>
|
||||
export let value = false;
|
||||
</script>
|
||||
|
||||
<td class="pl-4 w-40 text-center border: hidden;">
|
||||
<p class="font-regular text-slate-600 flex justify-center">
|
||||
<slot />
|
||||
{value ? 'Yes' : 'No'}
|
||||
</p>
|
||||
</td>
|
||||
|
||||
@@ -292,13 +292,7 @@
|
||||
</button>
|
||||
{/if}
|
||||
</TableCell>
|
||||
<TableCellCheck>
|
||||
{#if attachment.embeddedContent}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck value={attachment.embeddedContent} />
|
||||
<TableCellEmpty />
|
||||
<TableCellAction>
|
||||
<TableDropDownEllipsis>
|
||||
|
||||
@@ -533,13 +533,7 @@
|
||||
</a>
|
||||
{/if}
|
||||
</TableCell>
|
||||
<TableCellCheck>
|
||||
{#if template.isUsable}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck value={template.isUsable} />
|
||||
<TableCellEmpty />
|
||||
<TableCellAction>
|
||||
<TableDropDownEllipsis>
|
||||
|
||||
@@ -513,34 +513,10 @@
|
||||
{domain.name}
|
||||
</button>
|
||||
</TableCell>
|
||||
<TableCellCheck>
|
||||
{#if domain.hostWebsite}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck>
|
||||
{#if domain.redirectURL}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck>
|
||||
{#if domain.managedTLS}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck>
|
||||
{#if domain.ownManagedTLS}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck value={domain.hostWebsite} />
|
||||
<TableCellCheck value={!!domain.redirectURL} />
|
||||
<TableCellCheck value={domain.managedTLS} />
|
||||
<TableCellCheck value={domain.ownManagedTLS} />
|
||||
<TableCellEmpty />
|
||||
<TableCellAction>
|
||||
<TableDropDownEllipsis>
|
||||
|
||||
@@ -400,13 +400,7 @@
|
||||
</TableCell>
|
||||
<TableCell value={email.mailHeaderFrom} />
|
||||
<TableCell value={email.mailHeaderSubject} />
|
||||
<TableCellCheck>
|
||||
{#if email.addTrackingPixel}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck value={email.addTrackingPixel} />
|
||||
<TableCellEmpty />
|
||||
<TableCellAction>
|
||||
<TableDropDownEllipsis>
|
||||
|
||||
@@ -345,13 +345,7 @@
|
||||
{entry.name}
|
||||
</button>
|
||||
</TableCell>
|
||||
<TableCellCheck>
|
||||
{#if entry.allowed}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck value={entry.allowed} />
|
||||
<TableCellEmpty />
|
||||
<TableCellAction>
|
||||
<TableDropDownEllipsis>
|
||||
|
||||
@@ -438,13 +438,7 @@
|
||||
<TableCell value={recipient.phone} />
|
||||
<TableCell value={recipient.extraIdentifier} />
|
||||
<TableCell value={recipient.position} />
|
||||
<TableCellCheck>
|
||||
{#if recipient.isRepeatOffender}
|
||||
<span class="text-red-600 font-bold text-center">Yes</span>
|
||||
{:else}
|
||||
<span class="text-green-600">No</span>
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck value={recipient.isRepeatOffender} />
|
||||
<TableCell value={recipient.department} />
|
||||
<TableCell value={recipient.city} />
|
||||
<TableCell value={recipient.country} />
|
||||
|
||||
@@ -139,13 +139,7 @@
|
||||
{#each sessions as session}
|
||||
<TableRow>
|
||||
<TableCell value={session.ip} />
|
||||
<TableCellCheck>
|
||||
{#if session.current}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck value={session.current} />
|
||||
<TableCellEmpty />
|
||||
<TableCellAction>
|
||||
<TableDropDownEllipsis>
|
||||
|
||||
@@ -269,13 +269,7 @@
|
||||
>
|
||||
<TableCell value={user.email} />
|
||||
<TableCell value={user.name} />
|
||||
<TableCellCheck>
|
||||
{#if user.ssoID}
|
||||
<img class="w-6" src="/icon-true.svg" alt="true" />
|
||||
{:else}
|
||||
<img class="w-6" src="/icon-false.svg" alt="false" />
|
||||
{/if}
|
||||
</TableCellCheck>
|
||||
<TableCellCheck value={!!user.ssoID} />
|
||||
<TableCellEmpty />
|
||||
<TableCellAction>
|
||||
<TableDropDownEllipsis>
|
||||
|
||||
Reference in New Issue
Block a user