mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
ran: formatter.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
</script>
|
||||
|
||||
<Form isModal {onSubmit} bind:this={formComponent}>
|
||||
<Modal {size} {title} bind:open={show} {hideFooter} {dismissible} >
|
||||
<Modal {size} {title} bind:open={show} {hideFooter} {dismissible}>
|
||||
<slot slot="description" name="description" />
|
||||
{#if error}
|
||||
<div bind:this={alert}>
|
||||
|
||||
@@ -317,4 +317,4 @@
|
||||
margin-inline-start: 0.5rem;
|
||||
padding-inline: 1rem !important;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -113,14 +113,14 @@
|
||||
bind:id
|
||||
bind:region>
|
||||
<svelte:fragment slot="submit"
|
||||
><Layout.Stack direction="row" justifyContent="flex-end"
|
||||
><Button.Button
|
||||
type="button"
|
||||
variant="primary"
|
||||
size="s"
|
||||
on:click={createProject}>
|
||||
Create</Button.Button>
|
||||
</Layout.Stack></svelte:fragment>
|
||||
><Layout.Stack direction="row" justifyContent="flex-end"
|
||||
><Button.Button
|
||||
type="button"
|
||||
variant="primary"
|
||||
size="s"
|
||||
on:click={createProject}>
|
||||
Create</Button.Button>
|
||||
</Layout.Stack></svelte:fragment>
|
||||
</CreateProject>
|
||||
</Card.Base>
|
||||
{/if}
|
||||
|
||||
@@ -67,10 +67,9 @@
|
||||
bind:projectName={$createProject.name}
|
||||
bind:region={$createProject.region}
|
||||
{regions}>
|
||||
|
||||
<svelte:fragment slot="footer"
|
||||
><Button.Button type="button" variant="primary" size="s" on:click={create}>
|
||||
Create</Button.Button
|
||||
></svelte:fragment>
|
||||
</CreateProject>
|
||||
<svelte:fragment slot="footer"
|
||||
><Button.Button type="button" variant="primary" size="s" on:click={create}>
|
||||
Create</Button.Button
|
||||
></svelte:fragment>
|
||||
</CreateProject>
|
||||
</Modal>
|
||||
|
||||
@@ -7,11 +7,7 @@
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import Container from '$lib/layout/container.svelte';
|
||||
import { protocol } from '$routes/(console)/store.js';
|
||||
import {
|
||||
IconDotsHorizontal,
|
||||
IconPlus,
|
||||
IconTrash
|
||||
} from '@appwrite.io/pink-icons-svelte';
|
||||
import { IconDotsHorizontal, IconPlus, IconTrash } from '@appwrite.io/pink-icons-svelte';
|
||||
import {
|
||||
ActionMenu,
|
||||
Card,
|
||||
|
||||
+1
-1
@@ -10,6 +10,6 @@
|
||||
</script>
|
||||
|
||||
<Container>
|
||||
<ChangeOrganization domain={data.domain} organizations={organizations} />
|
||||
<ChangeOrganization domain={data.domain} {organizations} />
|
||||
<DeleteDomain domain={data.domain} />
|
||||
</Container>
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { Button } from '$lib/elements/forms';
|
||||
import {
|
||||
PaginationWithLimit,
|
||||
ViewSelector,
|
||||
EmptyFilter,
|
||||
} from '$lib/components';
|
||||
import { PaginationWithLimit, ViewSelector, EmptyFilter } from '$lib/components';
|
||||
import { Container } from '$lib/layout';
|
||||
import type { PageData } from './$types';
|
||||
import Table from './table.svelte';
|
||||
|
||||
+1
-6
@@ -9,9 +9,4 @@
|
||||
export let attribute: Models.AttributeUrl;
|
||||
</script>
|
||||
|
||||
<InputEmail
|
||||
{id}
|
||||
{label}
|
||||
placeholder="Enter URL"
|
||||
required={attribute.required}
|
||||
bind:value />
|
||||
<InputEmail {id} {label} placeholder="Enter URL" required={attribute.required} bind:value />
|
||||
|
||||
+2
-1
@@ -215,7 +215,8 @@
|
||||
<div class="u-text-center">
|
||||
No targets have been selected.
|
||||
<p>
|
||||
Need a hand? Check out our <Button href="https://appwrite.io/docs/products/messaging/targets">
|
||||
Need a hand? Check out our <Button
|
||||
href="https://appwrite.io/docs/products/messaging/targets">
|
||||
documentation</Button
|
||||
>.
|
||||
</p>
|
||||
|
||||
+2
-1
@@ -137,7 +137,8 @@
|
||||
<div class="u-text-center">
|
||||
No topics have been selected.
|
||||
<p>
|
||||
Need a hand? Check out our <Button href="https://appwrite.io/docs/products/messaging/topics">
|
||||
Need a hand? Check out our <Button
|
||||
href="https://appwrite.io/docs/products/messaging/topics">
|
||||
documentation</Button
|
||||
>.
|
||||
</p>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="apple" type="color" />
|
||||
<SvgIcon name="apple" type="color" />
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="firebase" type="color" />
|
||||
<SvgIcon name="firebase" type="color" />
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="mailgun" type="color" />
|
||||
<SvgIcon name="mailgun" type="color" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="msg91" type="color" />
|
||||
<SvgIcon name="msg91" type="color" />
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="sendgrid" type="color" />
|
||||
<SvgIcon name="sendgrid" type="color" />
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="telesign" type="color" />
|
||||
<SvgIcon name="telesign" type="color" />
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="textmagic" type="color" />
|
||||
<SvgIcon name="textmagic" type="color" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="twilio" type="color" />
|
||||
<SvgIcon name="twilio" type="color" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { SvgIcon } from '$lib/components';
|
||||
import { SvgIcon } from '$lib/components';
|
||||
</script>
|
||||
|
||||
<SvgIcon name="vonage" type="color" />
|
||||
<SvgIcon name="vonage" type="color" />
|
||||
|
||||
@@ -163,8 +163,7 @@
|
||||
name="provider"
|
||||
{value}
|
||||
bind:group={$provider}
|
||||
icon={option.classIcon ?? option.imageIcon}
|
||||
>
|
||||
icon={option.classIcon ?? option.imageIcon}>
|
||||
<svelte:fragment slot="title">{option.title}</svelte:fragment>
|
||||
{#if option.description}
|
||||
{option.description}
|
||||
|
||||
@@ -108,11 +108,7 @@
|
||||
placeholder="Search by subscriber ID, target ID, user ID, or type">
|
||||
<div class="u-flex u-gap-16 is-not-mobile">
|
||||
<Filters query={data.query} {columns} analyticsSource="messaging_topics" />
|
||||
<ViewSelector
|
||||
view={View.Table}
|
||||
{columns}
|
||||
hideView
|
||||
allowNoColumns />
|
||||
<ViewSelector view={View.Table} {columns} hideView allowNoColumns />
|
||||
<Button on:click={() => (showAdd = true)} event="create_subscriber">
|
||||
<Icon icon={IconPlus} slot="start" size="s" />
|
||||
Add subscriber
|
||||
@@ -122,11 +118,7 @@
|
||||
<div class="u-flex u-gap-16 is-only-mobile u-margin-block-start-16">
|
||||
<div class="u-flex-basis-50-percent">
|
||||
<!-- TODO: fix width -->
|
||||
<ViewSelector
|
||||
view={View.Table}
|
||||
{columns}
|
||||
hideView
|
||||
allowNoColumns />
|
||||
<ViewSelector view={View.Table} {columns} hideView allowNoColumns />
|
||||
</div>
|
||||
<div class="u-flex-basis-50-percent">
|
||||
<!-- TODO: fix width -->
|
||||
|
||||
@@ -6,10 +6,7 @@
|
||||
export let handleDisableAll;
|
||||
</script>
|
||||
|
||||
<Modal
|
||||
title="Disable all services"
|
||||
bind:show
|
||||
onSubmit={handleDisableAll}>
|
||||
<Modal title="Disable all services" bind:show onSubmit={handleDisableAll}>
|
||||
<p class="text" data-private>
|
||||
Are you sure you want to disable all services? This will disable API requests to this
|
||||
project for all Client SDKs.
|
||||
|
||||
+1
-6
@@ -4,12 +4,7 @@
|
||||
import { Submit, trackEvent, trackError } from '$lib/actions/analytics';
|
||||
import { CardGrid } from '$lib/components';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import {
|
||||
Button,
|
||||
Form,
|
||||
InputPassword,
|
||||
InputText
|
||||
} from '$lib/elements/forms';
|
||||
import { Button, Form, InputPassword, InputText } from '$lib/elements/forms';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdk } from '$lib/stores/sdk';
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
-1
@@ -23,7 +23,6 @@
|
||||
|
||||
export let data;
|
||||
|
||||
|
||||
onMount(() => {
|
||||
if ($deployment.status === 'ready') {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user