yavsc/src/Org/Views/Home/Chat.cshtml
Paul Schneider 45514010f2 REORG
2026-02-14 16:54:27 +00:00

22 lines
710 B
Text

@{ ViewBag.Title = "Chat"; }
<h2>@ViewBag.Title</h2>
<label><input type="checkbox" id="mute" />Muet</label>
<div class="container disabled panel" id="chatview" data="fullchatview"
data-chans="yavsc" data-mutectl="mute" ></div>
@section scripts {
<!--Reference the autogenerated SignalR hub script. -->
<!-- SignalR script to update the chat page and send messages.-->
@if (!ViewBag.IsAuthenticated) { // Get the user name and store it to prepend to messages.
<script>
// var uname = prompt('Entrez votre nom:', '');
</script>
}
<script src="~/lib/microsoft/signalr/dist/browser/signalr.min.js" asp-append-version="true"></script>
<script src="~/js/chat.js" asp-append-version="true"></script>
}