Admin Page Functionally Done
This commit is contained in:
parent
3e2e5a7e63
commit
3648c093ed
3 changed files with 10 additions and 8 deletions
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Reference in a new issue