summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI.Web/Views/LogParser/Index.cshtml2
-rw-r--r--src/SMAPI.Web/wwwroot/Content/css/log-parser.css14
-rw-r--r--src/SMAPI.Web/wwwroot/Content/js/log-parser.js2
3 files changed, 9 insertions, 9 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml
index d90f1e35..705ed961 100644
--- a/src/SMAPI.Web/Views/LogParser/Index.cshtml
+++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml
@@ -23,7 +23,7 @@
@if (Model.PasteID != null)
{
<h2>Parsed log</h2>
- <ul id="tabs">
+ <ul id="filters">
<li>TRACE</li>
<li>DEBUG</li>
<li class="active">INFO</li>
diff --git a/src/SMAPI.Web/wwwroot/Content/css/log-parser.css b/src/SMAPI.Web/wwwroot/Content/css/log-parser.css
index 975e9c2e..9affa79e 100644
--- a/src/SMAPI.Web/wwwroot/Content/css/log-parser.css
+++ b/src/SMAPI.Web/wwwroot/Content/css/log-parser.css
@@ -124,7 +124,7 @@ input[type="button"] {
color: green;
}
-#tabs {
+#filters {
border-bottom: 0;
display: block;
margin: 0;
@@ -132,7 +132,7 @@ input[type="button"] {
background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(210, 235, 249, 1) 100%);
}
-#tabs li {
+#filters li {
margin: 5px 1px 0 0;
height: 25px;
display: inline-block;
@@ -152,24 +152,24 @@ input[type="button"] {
box-shadow: inset 0px 0px 1px 1px rgba(0, 0, 0, .2);
}
-#tabs li:hover {
+#filters li:hover {
background-color: #fee;
}
-#tabs li:first-child {
+#filters li:first-child {
margin-left: 5px;
}
-#tabs li.active {
+#filters li.active {
background: #cfc;
border-color: #008800;
}
-#tabs li.active:hover {
+#filters li.active:hover {
background: #efe;
}
-#tabs li.notice {
+#filters li.notice {
color: #000000;
background: transparent;
border: 0;
diff --git a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js
index d5c6974a..b2bea673 100644
--- a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js
+++ b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js
@@ -27,7 +27,7 @@ smapi.logParser = function(sectionUrl, pasteID) {
regexDate = /\[\d{2}:\d{2}:\d{2} TRACE SMAPI\] Log started at (.*?) UTC/g,
regexPath = /\[\d{2}:\d{2}:\d{2} DEBUG SMAPI\] Mods go here: (.*?)(?:\n|$)/g;
- $("#tabs li:not(.notice)").on("click", function(evt) {
+ $("#filters li").on("click", function(evt) {
var t = $(evt.currentTarget);
t.toggleClass("active");
$("#output").toggleClass(t.text().toLowerCase());