ass
This commit is contained in:
46
frontend/src/vues/GameTable.vue
Normal file
46
frontend/src/vues/GameTable.vue
Normal file
@@ -0,0 +1,46 @@
|
||||
<template>
|
||||
|
||||
<div>"butts"{{gameList}}</div>
|
||||
|
||||
<!-- <v-table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left">ID</th>
|
||||
<th class="text-left">Title</th>
|
||||
<th class="text-left">Staus</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="game in gameList">
|
||||
<td>
|
||||
<a v-bind:href="`/#/games/${game.id}`">{{ game.id }}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a v-bind:href="`/#/games/${game.id}`">{{ game.title }}</a>
|
||||
</td>
|
||||
<td>{{ game.status }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</v-table> -->
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.game-title-box {
|
||||
margin-top: 25px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.gm-title-box {
|
||||
margin-top: 5px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.result-box {
|
||||
margin: 10px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps(['gameList'])
|
||||
</script>
|
||||
Reference in New Issue
Block a user