|
|
|
@ -7,12 +7,14 @@
|
|
|
|
<input type="button" id="sendmessage" value="Send" />
|
|
|
|
<input type="button" id="sendmessage" value="Send" />
|
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" id="displayname" />
|
|
|
|
<input type="hidden" id="displayname" />
|
|
|
|
|
|
|
|
@if (ViewBag.Contacts!=null) {
|
|
|
|
<select id="to" >
|
|
|
|
<select id="to" >
|
|
|
|
|
|
|
|
|
|
|
|
@foreach (var contact in ViewBag.Contacts) {
|
|
|
|
@foreach (var contact in ViewBag.Contacts) {
|
|
|
|
<option>@contact.UserName</option>
|
|
|
|
<option>@contact.UserName</option>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
}
|
|
|
|
<ul id="discussion">
|
|
|
|
<ul id="discussion">
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<ul id="private">
|
|
|
|
<ul id="private">
|
|
|
|
@ -22,7 +24,7 @@
|
|
|
|
<!--Script references. -->
|
|
|
|
<!--Script references. -->
|
|
|
|
<!--The jQuery library is required and is referenced by default in _Layout.cshtml. -->
|
|
|
|
<!--The jQuery library is required and is referenced by default in _Layout.cshtml. -->
|
|
|
|
<!--Reference the SignalR library. -->
|
|
|
|
<!--Reference the SignalR library. -->
|
|
|
|
<script src="~/js/jquery.signalR-2.2.0.js"></script>
|
|
|
|
<script src="~/js/jquery.signalR-2.2.1.min.js"></script>
|
|
|
|
<!--Reference the autogenerated SignalR hub script. -->
|
|
|
|
<!--Reference the autogenerated SignalR hub script. -->
|
|
|
|
<script src="~/signalr/hubs"></script>
|
|
|
|
<script src="~/signalr/hubs"></script>
|
|
|
|
<!--SignalR script to update the chat page and send messages.-->
|
|
|
|
<!--SignalR script to update the chat page and send messages.-->
|
|
|
|
|