flamenco/web/src/components/ChatHeader.vue
Sybren A. Stüvel 96023932da SocketIO based chat client as PoC for backend/frontend communication
The chat client itself is just a throwaway project. The SocketIO system
will be used to send realtime updates about jobs, tasks, and workers to
the web frontend.
2022-02-11 14:47:26 +01:00

18 lines
487 B
Vue

<template>
<b-card title="Chat-App">
<b-form>
<label class="sr-only" for="inline-form-input-username">Username</label>
<b-input-group prepend="@" class="mb-2 mr-sm-2 mb-sm-0">
<b-form-input
id="inline-form-input-username"
placeholder="Username"
v-model.trim="username"
></b-form-input>
<b-button @click="joinRoom">Join</b-button>
</b-input-group>
</b-form>
</b-card>
</template>
<style scoped></style>