Another bunch of styling fixes

This commit is contained in:
2022-03-22 23:02:47 +01:00
parent 8246d3668c
commit a2f6857d20
20 changed files with 111 additions and 109 deletions

View File

@@ -16,7 +16,7 @@ export let reporters = []
<td>Created</td>
<td></td>
</tr>
{#each reporters as rep (rep.from_address, rep.mail_server)}
{#each reporters as rep}
<tr>
<td>
{rep.from_address}<br/>

View File

@@ -136,7 +136,7 @@ onMount(get_reporters);
</button>
</div>
{#if creating}
<div class="highlight_light">
<div class="highlight_shaded">
<form on:submit|preventDefault={create_reporter}>
<table class="form">
<tr>

View File

@@ -71,7 +71,7 @@ onMount(() => {
<p>
Paste any pixeldrain file links in here to remove them
</p>
<div class="highlight_dark">
<div class="highlight_shaded">
<Form config={block_form}></Form>
</div>
</section>

View File

@@ -162,7 +162,7 @@ onDestroy(() => {
<section>
<h3>Bandwidth usage and file views</h3>
</section>
<div class="highlight_dark" style="margin-bottom: 6px;">
<div class="highlight_shaded" style="margin-bottom: 6px;">
<button on:click={() => { loadGraph(1440, 1, true) }}>Day</button>
<button on:click={() => { loadGraph(10080, 10, false) }}>Week</button>
<button on:click={() => { loadGraph(20160, 60, false) }}>Two Weeks</button>
@@ -174,7 +174,7 @@ onDestroy(() => {
</div>
<Chart bind:this={graphBandwidth} data_type="bytes" legend={false} />
<Chart bind:this={graphViews} data_type="number" legend={false} />
<div class="highlight_dark">
<div class="highlight_shaded">
Total usage from {start_time} to {end_time}<br/>
{formatDataVolume(total_bandwidth, 3)} bandwidth,
{formatDataVolume(total_bandwidth_paid, 3)} paid bandwidth,

View File

@@ -100,7 +100,7 @@ onMount(get_bans);
</button>
</div>
{#if creating}
<div class="highlight_light">
<div class="highlight_shaded">
<form on:submit|preventDefault={create_ban}>
<table class="form">
<tr>

View File

@@ -184,17 +184,17 @@ onMount(get_coupons)
This adds credit to a user's account. You only need to enter one of
the user id, username or email.
</p>
<div class="highlight_dark">
<div class="highlight_shaded">
<Form config={credit_form}></Form>
</div>
<h2>Impersonate user</h2>
<div class="highlight_dark">
<div class="highlight_shaded">
<Form config={impersonate_form}></Form>
</div>
<h2>Create coupon codes</h2>
<div class="highlight_dark">
<div class="highlight_shaded">
<Form config={coupon_form}></Form>
</div>