Admin Page Functionally Done

This commit is contained in:
Neshura 2023-09-09 19:17:36 +02:00
parent 3e2e5a7e63
commit 3648c093ed
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
3 changed files with 10 additions and 8 deletions

View file

@ -80,8 +80,10 @@
.dropdown-container { .dropdown-container {
list-style-type: none; list-style-type: none;
width: max-content; z-index: 100;
height: fit-content; min-width: max-content;
max-height: 20vh;
overflow-y: auto;
position: absolute; position: absolute;
top: 100%; top: 100%;
background: rgba(0, 0, 0, 0.8); background: rgba(0, 0, 0, 0.8);

View file

@ -11,11 +11,11 @@
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
max-width: 100%; max-width: 100%;
min-width: fit-content; min-width: max-content;
margin: 10% auto; margin: 10% auto;
margin-left: 0; margin-left: 0;
background: #3f3f3f; background: #3f3f3f;
height: 100%; height: fit-content;
font-weight: 700; font-weight: 700;
font-size: 0.8rem; font-size: 0.8rem;
letter-spacing: 0.1em; letter-spacing: 0.1em;

View file

@ -183,12 +183,12 @@
</script> </script>
{#if newEmpire && newEmpirePrepared} {#if newEmpire && newEmpirePrepared}
<div> <!-- <div>
ID: {empire.id} ID: {empire.id}
</div> </div>
<div> <div>
Game ID: {empire.game} Game ID: {empire.game}
</div> </div> -->
<DropDown dropdownTitle={'Group*: ' + groups[empire.group].name} dropdownId={groupDropdownId}> <DropDown dropdownTitle={'Group*: ' + groups[empire.group].name} dropdownId={groupDropdownId}>
{#each Object.values(groups) as group} {#each Object.values(groups) as group}
{#if group} {#if group}
@ -278,12 +278,12 @@
{:else if !newEmpire} {:else if !newEmpire}
<div> <div>
{#if empire} {#if empire}
<div> <!-- <div>
ID: {empire.id} ID: {empire.id}
</div> </div>
<div> <div>
Game ID: {empire.game} Game ID: {empire.game}
</div> </div> -->
<DropDown dropdownTitle={'Group: ' + groups[empire.group].name} dropdownId={groupDropdownId}> <DropDown dropdownTitle={'Group: ' + groups[empire.group].name} dropdownId={groupDropdownId}>
{#each Object.values(groups) as group} {#each Object.values(groups) as group}
{#if group} {#if group}