summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Shared/_Layout.cshtml
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-17 15:40:46 -0400
committerMichael <[email protected]>2017-05-17 15:40:46 -0400
commit3cf79e6ec82361fc617e437373354ce2feda0c66 (patch)
tree0a1f7eb4874c1af35efd0312250c16f1ece789e4 /Project-Unite/Views/Shared/_Layout.cshtml
parent4a089a398a5a8f9aa17da08958ce4c3780b34b51 (diff)
downloadproject-unite-3cf79e6ec82361fc617e437373354ce2feda0c66.tar.gz
project-unite-3cf79e6ec82361fc617e437373354ce2feda0c66.tar.bz2
project-unite-3cf79e6ec82361fc617e437373354ce2feda0c66.zip
Add Back and Reply to viewtopic
Diffstat (limited to 'Project-Unite/Views/Shared/_Layout.cshtml')
-rw-r--r--Project-Unite/Views/Shared/_Layout.cshtml30
1 files changed, 4 insertions, 26 deletions
diff --git a/Project-Unite/Views/Shared/_Layout.cshtml b/Project-Unite/Views/Shared/_Layout.cshtml
index cbc938f..0e96b54 100644
--- a/Project-Unite/Views/Shared/_Layout.cshtml
+++ b/Project-Unite/Views/Shared/_Layout.cshtml
@@ -21,32 +21,7 @@
}
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/bootstrap")
- <script src="Scripts/jquery.signalR-2.2.2-preview1.min.js"></script>
- <script src="signalr/hubs"></script>
@RenderSection("scripts", required: false)
- <script type="text/javascript">
- var mde = new SimpleMDE({forceSync: true});
- mde.options.forceSync();
- </script>
- <script type="text/javascript">
- var notificationHubProxy = $.connection.notificationHub;
- notificationHubProxy.client.sendMessage = function (message) {
- $("#notification_body").find("ul").append("<li></li>").html(message);
- $.ajax({
- url : "/API/GetNotificationCount",
- success : function(result){
- $("#notification_count").html(result);
- }
- });
- var audio = new Audio("/Content/infobox.wav");
- audio.play();
- };
- $.connection.hub.start()
- .done(function(){ console.log('Now connected, connection ID=' + $.connection.hub.id); })
- .fail(function(){ console.log('Could not Connect!'); });
- });
- </script>
-
<title>@ViewBag.Title &bull; ShiftOS</title>
@Styles.Render("~/Content/css")
@Styles.Render("~/Content/bootstrap-theme.css")
@@ -189,7 +164,10 @@
</footer>
-
+ <script type="text/javascript">
+ var mde = new SimpleMDE({forceSync: true});
+ mde.options.forceSync();
+ </script>
</body>