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

22 lines
710 B
Text
Raw Normal View History

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"
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. -->
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
}
2024-11-10 14:30:12 +00:00
<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>
2017-02-02 15:13:46 +01:00
2017-03-17 00:02:38 +01:00
}