X-Git-Url: https://git.auder.net/assets/%7B%7B%20path%28%27mixstore_store_usecase_delete%27%2C%20%7B%20id:%20ucs.id%20%7D%29%20%7D%7D?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChat.vue;h=8c1e059a15b8e258b59313394bc23ce50f6b826b;hb=9a3049f3a48fa4b3627ef26ccdf213a8e550d478;hp=2dc68428d5c04259cdf6d76c87c7643c10e30c8e;hpb=cd0d7743323309fcfd241ccba959df81a77970c7;p=vchess.git
diff --git a/client/src/components/Chat.vue b/client/src/components/Chat.vue
index 2dc68428..8c1e059a 100644
--- a/client/src/components/Chat.vue
+++ b/client/src/components/Chat.vue
@@ -1,71 +1,58 @@
-.row
- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- // TODO: Chat modal sur petit écran, dans la page pour grand écran
- .card.smallpad
- h4 Chat
- p(v-for="chat in chats" :class="classObject(chat)" v-html="chat.msg")
- input#inputChat(type="text" :placeholder="st.tr['Type here']"
- @keyup.enter="sendChat")
- button#sendChatBtn(@click="sendChat") {{ st.tr["Send"] }}
+div
+ input#inputChat(type="text" :placeholder="st.tr['Type here']"
+ @keyup.enter="sendChat()")
+ button(@click="sendChat()") {{ st.tr["Send"] }}
+ p(v-for="chat in chats.concat(pastChats)")
+ span.name {{ chat.name }} :
+ span(:class="classObject(chat)" v-html="chat.msg")
-