mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-05-31 20:01:35 +02:00
improve proxy editor UI
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -505,7 +505,7 @@ portal.example.com:
|
||||
<h3 class="text-base font-medium text-pc-darkblue dark:text-white mb-3">
|
||||
Basic Information
|
||||
</h3>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
||||
<div class="grid grid-cols-1 md:grid-cols-[1fr_2fr_2fr] gap-4">
|
||||
<div>
|
||||
<TextField
|
||||
required
|
||||
@@ -516,22 +516,21 @@ portal.example.com:
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
<TextField optional maxLength={255} bind:value={formValues.description}
|
||||
>Description</TextField
|
||||
>
|
||||
</div>
|
||||
<div class="flex justify-end">
|
||||
<TextField
|
||||
required
|
||||
minLength={3}
|
||||
maxLength={255}
|
||||
bind:value={formValues.startURL}
|
||||
placeholder="https://login.example.com/auth"
|
||||
toolTipText="The starting URL where the Proxy attack begins - domain must be in YAML mappings"
|
||||
>Start URL</TextField
|
||||
toolTipText="Domain must be in proxy configuration">Start URL</TextField
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-6">
|
||||
<TextField optional maxLength={255} bind:value={formValues.description}
|
||||
>Description</TextField
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Proxy Configuration Section -->
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<script>
|
||||
import Headline from '$lib/components/Headline.svelte';
|
||||
import HeadTitle from '$lib/components/HeadTitle.svelte';
|
||||
import { AppStateService } from '$lib/service/appState';
|
||||
import { hideIsLoading, showIsLoading } from '$lib/store/loading';
|
||||
import { onMount } from 'svelte';
|
||||
import { api } from '$lib/api/apiProxy.js';
|
||||
|
||||
Reference in New Issue
Block a user