refactor: /admin is now /gamemaster
This commit is contained in:
parent
cd2ae2905d
commit
bc16941521
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<nav v-if="isGamemaster" class="gamecontrols">
|
||||
<div v-if="$route.path != '/admin'">
|
||||
<button @click="go('/admin')">admin interface</button>
|
||||
<div v-if="$route.path != '/gamemaster'">
|
||||
<button @click="go('/gamemaster')">admin interface</button>
|
||||
<button :disabled="buttonsDisabled.collect" @click="collectQuotes">Collect Quotes</button>
|
||||
<button :disabled="buttonsDisabled.start" @click="startGame">Start</button>
|
||||
<button :disabled="buttonsDisabled.continue" @click="continueGame">Continue</button>
|
||||
|
@ -1,15 +1,15 @@
|
||||
<template>
|
||||
<div class="page-admin">
|
||||
<div class="page-gamemaster">
|
||||
<template v-if="!isGamemasterOrAdmin">
|
||||
<p>You are not a game master.</p>
|
||||
</template>
|
||||
<template v-if="isGamemasterOrAdmin">
|
||||
<GameControls />
|
||||
<div class="page-admin__body">
|
||||
<div v-if="overlay.open" class="page-admin__player-overlay">
|
||||
<div class="page-gamemaster__body">
|
||||
<div v-if="overlay.open" class="page-gamemaster__player-overlay">
|
||||
<AdminEditPlayer :player="overlay.player" @close="editPlayerClose"/>
|
||||
</div>
|
||||
<div class="page-admin__tiles">
|
||||
<div class="page-gamemaster__tiles">
|
||||
<AdminTileMyself :user="user" />
|
||||
<AdminTileGameinfo :gameinfo="gameinfo" :players="players" />
|
||||
<AdminTilePlayers :gameinfo="gameinfo" :players="players" @edit="editPlayer" />
|
||||
@ -65,7 +65,7 @@ export default {
|
||||
<style lang="scss">
|
||||
@import '~/assets/css/components';
|
||||
|
||||
.page-admin {
|
||||
.page-gamemaster {
|
||||
color: #ffffff;
|
||||
width: 100%;
|
||||
height: 100%;
|
Loading…
Reference in New Issue
Block a user