2017-02-02 15:13:46 +01:00
|
|
|
@{ ViewBag.Title = "Chat"; }
|
2019-05-10 09:58:09 +01:00
|
|
|
<h2>@ViewBag.Title</h2>
|
|
|
|
|
|
2017-02-02 15:13:46 +01:00
|
|
|
<label><input type="checkbox" id="mute" />Muet</label>
|
2017-02-10 10:51:08 +01:00
|
|
|
|
2019-05-10 09:58:09 +01:00
|
|
|
<div class="container disabled panel" id="chatview" data="fullchatview"
|
2019-06-06 09:28:37 +01:00
|
|
|
data-chans="yavsc" data-mutectl="mute" ></div>
|
2016-11-02 11:27:12 +01:00
|
|
|
|
2016-05-17 18:22:18 +02:00
|
|
|
@section scripts {
|
2017-02-02 15:13:46 +01:00
|
|
|
<!--Reference the autogenerated SignalR hub script. -->
|
|
|
|
|
<script src="~/api/signalr/hubs"></script>
|
2019-01-30 11:14:32 +00:00
|
|
|
<!-- SignalR script to update the chat page and send messages.-->
|
2017-03-17 01:57:20 +01:00
|
|
|
|
|
|
|
|
@if (!ViewBag.IsAuthenticated) { // Get the user name and store it to prepend to messages.
|
|
|
|
|
<script>
|
2019-05-11 02:50:19 +01:00
|
|
|
// var uname = prompt('Entrez votre nom:', '');
|
|
|
|
|
|
2017-03-17 01:57:20 +01:00
|
|
|
</script>
|
2019-05-11 02:50:19 +01:00
|
|
|
}
|
2017-03-17 21:09:24 +01:00
|
|
|
<script src="~/js/chat.js"></script>
|
2017-02-02 15:13:46 +01:00
|
|
|
|
2017-03-17 00:02:38 +01:00
|
|
|
}
|