summaryrefslogtreecommitdiffstats
path: root/src/components/GroupMaker.vue
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2021-12-13 15:21:21 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2021-12-13 15:21:21 +0100
commit98bec5686da0c4b7d0279b94968040b01e3218fa (patch)
tree1489bbc80965457ba77c06da57ec496802b03c3d /src/components/GroupMaker.vue
parent4b6be9f09ff56dfae1c719cb744f2312e11be317 (diff)
downloadlom_frontend-98bec5686da0c4b7d0279b94968040b01e3218fa.tar.gz
lom_frontend-98bec5686da0c4b7d0279b94968040b01e3218fa.zip
add group searcher dont work for now
Diffstat (limited to 'src/components/GroupMaker.vue')
-rw-r--r--src/components/GroupMaker.vue22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/components/GroupMaker.vue b/src/components/GroupMaker.vue
index 59f83fd..f3da293 100644
--- a/src/components/GroupMaker.vue
+++ b/src/components/GroupMaker.vue
@@ -49,11 +49,15 @@ export default {
49 "users": this.users_selection 49 "users": this.users_selection
50 }) 50 })
51 51
52 if(status === 201) 52 if(status === 201) {
53 this.$notify({ 53 this.$notify({
54 type: "success", 54 type: "success",
55 text: "Group created!" 55 text: "Group created!"
56 }) 56 })
57
58 this.close()
59 }
60
57 }, 61 },
58 62
59 async set_users() { 63 async set_users() {
@@ -77,3 +81,19 @@ export default {
77 } 81 }
78} 82}
79</script> 83</script>
84
85<style scoped>
86
87.group_maker {
88 position: absolute;
89 width: 30%;
90 height: 80%;
91 top: 50%;
92 left: 50%;
93 background-color: #202020;
94 padding: 20px;
95 border-radius: 10px;
96 transform: translate(-50%, -50%);
97 }
98
99</style>