summaryrefslogtreecommitdiffstats
path: root/src/components/group/GroupView.vue
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2021-12-14 09:06:45 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2021-12-14 09:06:45 +0100
commitfb8cd8aa895d2b7ee609bb84f23ab52c37d4a01f (patch)
tree5c56de50d9b59d156a46e072b2d434a06d7be41a /src/components/group/GroupView.vue
parent193a6b59425ab45004f4178fc3f5b5bad5b4c660 (diff)
downloadlom_frontend-fb8cd8aa895d2b7ee609bb84f23ab52c37d4a01f.tar.gz
lom_frontend-fb8cd8aa895d2b7ee609bb84f23ab52c37d4a01f.zip
clean up project tree
Diffstat (limited to 'src/components/group/GroupView.vue')
-rw-r--r--src/components/group/GroupView.vue47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/components/group/GroupView.vue b/src/components/group/GroupView.vue
new file mode 100644
index 0000000..1608cf4
--- /dev/null
+++ b/src/components/group/GroupView.vue
@@ -0,0 +1,47 @@
1<template>
2 <div class="group_view">
3 Group maker
4 <form @submit="send_message">
5 <inout type="text" ref="input" />
6 </form>
7 </div>
8</template>
9
10<script>
11import ChatService from "@/services/ChatService.js"
12
13export default {
14 data() {
15 return {
16 }
17 },
18
19 methods: {
20 close() {
21 this.$emit('close')
22 },
23 },
24
25 created() {
26 this.$nextTick(function () {
27 this.$refs.input.focus()
28 })
29 }
30}
31</script>
32
33<style scoped>
34
35.group_view {
36 position: absolute;
37 width: 30%;
38 height: 80%;
39 top: 50%;
40 left: 50%;
41 background-color: #202020;
42 padding: 20px;
43 border-radius: 10px;
44 transform: translate(-50%, -50%);
45 }
46
47</style>