@@ -49,9 +51,10 @@
// Reference the auto-generated proxy for the hub.
var chat = new signalR.HubConnectionBuilder().withUrl("/hubs/crawlHub").build();
// Create a function that the hub can call back to display messages.
- chat.on("writeStatus", function(message) {
- stream.addMessage(message);
- });
+ chat.on("writeStatus",
+ function(message) {
+ stream.addMessage(message);
+ });
chat.start().then(function() {
diff --git a/src/WebCrawler.Web/Views/Shared/Error.cshtml b/src/WebCrawler.Web/Views/Shared/Error.cshtml
index 6ffa1be..e4f8459 100644
--- a/src/WebCrawler.Web/Views/Shared/Error.cshtml
+++ b/src/WebCrawler.Web/Views/Shared/Error.cshtml
@@ -1,5 +1,4 @@
@page
-@using Views.Shared
@model Views.Shared.ErrorModel
@{
ViewData["Title"] = "Error";
@@ -21,4 +20,4 @@
Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application.
-
+
\ No newline at end of file
diff --git a/src/WebCrawler.Web/Views/Shared/Error.cshtml.cs b/src/WebCrawler.Web/Views/Shared/Error.cshtml.cs
index 8efbfe1..05984c1 100644
--- a/src/WebCrawler.Web/Views/Shared/Error.cshtml.cs
+++ b/src/WebCrawler.Web/Views/Shared/Error.cshtml.cs
@@ -1,3 +1,9 @@
+// -----------------------------------------------------------------------
+//
+// Copyright (C) 2015 - 2019 Petabridge, LLC
+//
+// -----------------------------------------------------------------------
+
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc.RazorPages;
@@ -14,4 +20,4 @@ public void OnGet()
RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/WebCrawler.Web/Views/Shared/_Layout.cshtml b/src/WebCrawler.Web/Views/Shared/_Layout.cshtml
index 86f197b..8ff56b0 100644
--- a/src/WebCrawler.Web/Views/Shared/_Layout.cshtml
+++ b/src/WebCrawler.Web/Views/Shared/_Layout.cshtml
@@ -1,71 +1,77 @@
-
-
+
+
@ViewData["Title"] - WebCrawler.Web
-
-
+
+
-
+ asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute"/>
+
-