refactor: renamed AdminTile to InfoTile
This commit is contained in:
parent
9df82190c5
commit
82772d6292
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<AdminTile title="Game">
|
||||
<InfoTile title="Game">
|
||||
<table class="gameinfo-tile__table">
|
||||
<tr class="gameinfo-tile__row">
|
||||
<td>{{ $t('name') }}:</td>
|
||||
@ -44,7 +44,7 @@
|
||||
<td colspan="3">{{ gameinfo.id }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</AdminTile>
|
||||
</InfoTile>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<AdminTile title="Players" icon-bottom="add" @icon-click="addPlayer">
|
||||
<InfoTile title="Players" icon-bottom="add" @icon-click="addPlayer">
|
||||
<table class="players-tile__table">
|
||||
<tr>
|
||||
<th class="players-tile__table-head">{{ $t('name') }}:</th>
|
||||
@ -20,7 +20,7 @@
|
||||
<td class="players-tile__cell">{{ player.lastLoggedIn === 0 ? '-' : datetime(player.lastLoggedIn) }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</AdminTile>
|
||||
</InfoTile>
|
||||
<AdminPlayerDialog v-if="showPlayerDialog" :title="playerDialogTitle" :buttons="playerDialogButtons"
|
||||
:player="playerDialogPlayer" @close="showPlayerDialog = false" @submit="playerDialogSubmit" />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user