summaryrefslogtreecommitdiff
path: root/src/marlin.web/Views/Shared/DisplayTemplates/LogEventRecords.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'src/marlin.web/Views/Shared/DisplayTemplates/LogEventRecords.cshtml')
-rw-r--r--src/marlin.web/Views/Shared/DisplayTemplates/LogEventRecords.cshtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/marlin.web/Views/Shared/DisplayTemplates/LogEventRecords.cshtml b/src/marlin.web/Views/Shared/DisplayTemplates/LogEventRecords.cshtml
new file mode 100644
index 0000000..044a672
--- /dev/null
+++ b/src/marlin.web/Views/Shared/DisplayTemplates/LogEventRecords.cshtml
@@ -0,0 +1,9 @@
+@model IEnumerable<LogEventRecord>
+
+
+<div class="log-view">
+ @foreach (var line in Model)
+ {
+ <span class="log-line @(line.Error ? "error" : "")">[@line.At.ToString("HH:mm:ss")] [@line.StepId] @line.Message</span>
+ }
+</div> \ No newline at end of file