yavsc/src/Yavsc/Views/Home/Chat.cshtml

24 lines
659 B
Plaintext

@{ ViewBag.Title = "Chat"; }
7 years ago
<h2>@ViewBag.Title</h2>
<label><input type="checkbox" id="mute" />Muet</label>
9 years ago
7 years ago
<div class="container disabled panel" id="chatview" data="fullchatview"
data-chans="yavsc" data-mutectl="mute" ></div>
@section scripts {
<!--Reference the autogenerated SignalR hub script. -->
<script src="~/api/signalr/hubs"></script>
7 years ago
<!-- SignalR script to update the chat page and send messages.-->
9 years ago
@if (!ViewBag.IsAuthenticated) { // Get the user name and store it to prepend to messages.
<script>
7 years ago
$('#chatview').data("anonuname", prompt('Entrez votre nom:', ''));
9 years ago
</script>
}
9 years ago
<script src="~/js/chat.js"></script>
7 years ago
<script>
7 years ago
</script>
}