removes useless GroupChest component, minor style changes
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<main id="app" class="section">
|
<main id="app" class="container is-fluid">
|
||||||
<section id="content" class="columns is-desktop">
|
<section id="content" class="columns is-desktop">
|
||||||
<Player></Player>
|
<Player></Player>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<GroupChest></GroupChest>
|
<Chest :player="0"></Chest>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Player from './components/Player.vue'
|
import Player from './components/Player.vue'
|
||||||
import GroupChest from './components/GroupChest.vue'
|
import Chest from './components/Chest.vue'
|
||||||
|
|
||||||
export const store = {
|
export const store = {
|
||||||
debug: true,
|
debug: true,
|
||||||
@@ -74,7 +74,7 @@ export default {
|
|||||||
name: 'app',
|
name: 'app',
|
||||||
components: {
|
components: {
|
||||||
Player,
|
Player,
|
||||||
GroupChest
|
Chest
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
const cookie = getCookie("player_id");
|
const cookie = getCookie("player_id");
|
||||||
@@ -91,7 +91,7 @@ export default {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
#app {
|
#app {
|
||||||
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
font-family: 'Montserrat', Helvetica, Arial, sans-serif;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -1,5 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div class="container is-paddingless">
|
||||||
|
<div v-if="mainControlsDisplayed"
|
||||||
|
class="columns is-mobile is-vcentered"
|
||||||
|
>
|
||||||
|
<div class="column is-narrow">
|
||||||
|
<span class="icon is-large">
|
||||||
|
<i class="fas fa-2x fa-dragon"></i>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="column has-text-left">
|
||||||
|
<h1 class="title">Coffre de groupe</h1>
|
||||||
|
</div>
|
||||||
|
<div class="column" v-show="canAdd">
|
||||||
<div v-show="mainControlsDisplayed" class="buttons is-right">
|
<div v-show="mainControlsDisplayed" class="buttons is-right">
|
||||||
<button v-if="canAdd"
|
<button v-if="canAdd"
|
||||||
class="button is-inverted is-info"
|
class="button is-inverted is-info"
|
||||||
@@ -17,6 +29,8 @@
|
|||||||
<p>Tout vendre</p>
|
<p>Tout vendre</p>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<Loot v-if="is_adding" @done="is_adding = false"></Loot>
|
<Loot v-if="is_adding" @done="is_adding = false"></Loot>
|
||||||
<table v-else class="table is-fullwidth is-striped" >
|
<table v-else class="table is-fullwidth is-striped" >
|
||||||
<thead>
|
<thead>
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
<template>
|
|
||||||
<section id="main" class="section">
|
|
||||||
<div id="main-heading" class="columns is-mobile is-vcentered">
|
|
||||||
<div class="column is-narrow">
|
|
||||||
<span class="icon is-large"><i class="fas fa-2x fa-dragon"></i></span>
|
|
||||||
</div>
|
|
||||||
<div class="column has-text-left">
|
|
||||||
<h1 class="title">Coffre de groupe</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<Chest :player="0"></Chest>
|
|
||||||
</section>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import Chest from './Chest.vue'
|
|
||||||
|
|
||||||
export default {
|
|
||||||
components: { Chest },
|
|
||||||
data () { return {}; }
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
Reference in New Issue
Block a user