diff options
Diffstat (limited to 'src/components/GroupMaker.vue')
| -rw-r--r-- | src/components/GroupMaker.vue | 22 |
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> | ||
