Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions src/Iframes/Configuration/Components/Section.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

{#if $currentPage !== 'configuration' }
<div class="left mb-20">
<button class="btn light tw-w-1/3 tw-justify-center tw-mx-6 tw-relative tw-cursor-pointer" on:click={() => { $currentPage = $currentPage.substring(0, $currentPage.indexOf('/')) }}>&lt; Back</button>
<button class="btn light tw-w-1/3 tw-justify-center tw-mx-6 tw-relative tw-cursor-pointer" on:click={() => { $currentPage = $currentPage.substring(0, $currentPage.lastIndexOf('/')) }}>&lt; Back</button>
</div>
{/if}

Expand All @@ -34,7 +34,7 @@
{/each}
</section>
<div class="left mb-20">
<button class="btn light tw-w-1/3 tw-justify-center tw-mx-6 tw-relative tw-cursor-pointer"
<button class="btn light tw-w-1/3 tw-justify-center tw-mx-6 tw-relative tw-cursor-pointer"
on:click={() => closeCowebsite()}
>
Finish
Expand Down
4 changes: 2 additions & 2 deletions src/Iframes/Configuration/Components/Sections.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

<div class="flex-container">
{#each layers as layer}
<button class="btn light tw-w-1/3 tw-justify-center tw-mx-6 tw-relative tw-cursor-pointer" on:click={() => { $currentPage = layer.name }}>
<button class="btn light tw-w-1/3 tw-justify-center tw-mx-6 tw-relative tw-cursor-pointer" on:click={() => { $currentPage = layer.name; }}>
{ new Properties(layer.properties).getString('label') ?? layer.name }
</button>
{/each}
</div>

{#if $currentPage !== 'configuration' }
<button class="btn blue-title tw-underline tw-decoration-light-blue tw-cursor-pointe" on:click={() => { $currentPage = $currentPage.substring(0, $currentPage.indexOf('/')) }}>Back</button>
<button class="btn blue-title tw-underline tw-decoration-light-blue tw-cursor-pointe" on:click={() => { $currentPage = $currentPage.substring(0, $currentPage.lastIndexOf('/')) }}>Back</button>
{/if}

<style lang="scss">
Expand Down