Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help link in the Server Manager popup #211

Merged
merged 1 commit into from
Aug 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion frontend/src/lib/components/modals/ServerManager.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { mdiAlert, mdiEyeOffOutline, mdiEyeOutline, mdiLoading, mdiServerNetwork, mdiTrashCan } from '@mdi/js';
import { mdiAlert, mdiEyeOffOutline, mdiEyeOutline, mdiLoading, mdiServerNetwork, mdiTrashCan, mdiWeb } from '@mdi/js';
import { getTranslate } from '@tolgee/svelte';
import _ from 'lodash';

Expand All @@ -12,6 +12,7 @@
import { installsMetadata, remoteServers } from '$lib/store/ficsitCLIStore';
import { AddRemoteServer, FetchRemoteServerMetadata, GetNextRemoteLauncherName, RemoveRemoteServer } from '$wailsjs/go/ficsitcli/ficsitCLI';
import { ficsitcli } from '$wailsjs/go/models';
import { BrowserOpenURL } from '$wailsjs/runtime/runtime';

export let parent: { onClose: () => void };

Expand Down Expand Up @@ -173,6 +174,15 @@
<header class="card-header font-bold text-2xl text-center">
<T defaultValue="Dedicated Servers" keyName="server-manager.title" />
</header>
<section class="p-4 flex-auto space-y-4 overflow-y-auto flex">
<button class="btn flex-auto h-12 text-sm bg-surface-200-700-token" on:click={() => BrowserOpenURL('https://docs.ficsit.app/satisfactory-modding/latest/ForUsers/DedicatedServerSetup.html')}>
<T defaultValue="Get help connecting to servers" keyName="server-manager.get-help" />
<div class="grow" />
<SvgIcon
class="h-5 w-5"
icon={mdiWeb} />
</button>
</section>
<section class="p-4 flex-auto space-y-4 overflow-y-auto flex">
<div class="flex-auto w-full overflow-x-auto overflow-y-auto">
<table class="table">
Expand Down