mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
cleanup
This commit is contained in:
parent
8d2fab7dea
commit
5aeb49641b
3 changed files with 3 additions and 22 deletions
|
|
@ -82,7 +82,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
{#if uninstall != null}
|
{#if uninstall != null}
|
||||||
<Row class="centre m-3">
|
<Row class="centre m-3">
|
||||||
<button class="btn btn-primary" onclick={uninstall}>
|
<button class="btn btn-primary" onclick={uninstall}>
|
||||||
{$tr.launcherUninstall()} (TODO)
|
{$tr.launcherUninstall()}
|
||||||
</button>
|
</button>
|
||||||
</Row>
|
</Row>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
{setError(e)}
|
{setError(e)}
|
||||||
<Warning warning={$tr.launcherFailedToSync()} className="alert-danger" />
|
<Warning warning={$tr.launcherFailedToSync()} className="alert-danger" />
|
||||||
{/await}
|
{/await}
|
||||||
|
|
||||||
{#if error != null}
|
{#if error != null}
|
||||||
<Row>
|
<Row>
|
||||||
<pre>{error.message}</pre>
|
<pre>{error.message}</pre>
|
||||||
|
|
@ -132,30 +133,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
|
||||||
max-width: 50px;
|
|
||||||
margin-inline-end: 1em;
|
|
||||||
|
|
||||||
-webkit-user-drag: none;
|
|
||||||
user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
:global(.centre) {
|
:global(.centre) {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
white-space: pre-wrap; /* Since CSS 2.1 */
|
white-space: pre-wrap;
|
||||||
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
|
||||||
white-space: -pre-wrap; /* Opera 4-6 */
|
|
||||||
white-space: -o-pre-wrap; /* Opera 7 */
|
|
||||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
// Copyright: Ankitects Pty Ltd and contributors
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
import type { GetLangsResponse_Pair, GetMirrorsResponse_Pair, GetVersionsResponse } from "@generated/anki/launcher_pb";
|
|
||||||
import * as _tr from "@generated/ftl-launcher";
|
import * as _tr from "@generated/ftl-launcher";
|
||||||
import { writable } from "svelte/store";
|
import { writable } from "svelte/store";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue