Added methods to create a new teams

This commit is contained in:
kolaente 2018-09-14 19:19:50 +02:00
parent 912e451038
commit 61867fc787
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
4 changed files with 91 additions and 5 deletions

View file

@ -1,5 +1,8 @@
<template>
<div class="content">
<router-link :to="{name:'newTeam'}" class="button is-success button-right" >
New Team
</router-link>
<h1>Teams</h1>
<ul class="teams box">
<li v-for="t in teams" :key="t.id">
@ -57,6 +60,10 @@
</script>
<style lang="scss" scoped>
.button-right{
float: right;
}
ul.teams{
padding: 0;