hq-log-monitor-server 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -154,6 +154,13 @@ class Script
|
|
154
154
|
]
|
155
155
|
html << "</tr>\n"
|
156
156
|
|
157
|
+
html << "<tr>\n"
|
158
|
+
html << "<th>Type</th>\n"
|
159
|
+
html << "<td>%s</td>\n" % [
|
160
|
+
esc_ht(event["type"]),
|
161
|
+
]
|
162
|
+
html << "</tr>\n"
|
163
|
+
|
157
164
|
html << "<tr>\n"
|
158
165
|
html << "<th>Filename</th>\n"
|
159
166
|
html << "<td>%s</td>\n" % [
|
@@ -89,6 +89,7 @@ class Script
|
|
89
89
|
html << "<th>File</th>\n"
|
90
90
|
html << "<th>Line</th>\n"
|
91
91
|
html << "<th>Type</th>\n"
|
92
|
+
html << "<th>Status</th>\n"
|
92
93
|
html << "<th>View</th>\n"
|
93
94
|
html << "</tr>\n"
|
94
95
|
|
@@ -109,13 +110,17 @@ class Script
|
|
109
110
|
]
|
110
111
|
|
111
112
|
html << "<td class=\"line\">%s</td>\n" % [
|
112
|
-
esc_ht(event["location"]["line"].to_s),
|
113
|
+
esc_ht((event["location"]["line"] + 1).to_s),
|
113
114
|
]
|
114
115
|
|
115
116
|
html << "<td class=\"type\">%s</td>\n" % [
|
116
117
|
esc_ht(event["type"]),
|
117
118
|
]
|
118
119
|
|
120
|
+
html << "<td class=\"status\">%s</td>\n" % [
|
121
|
+
esc_ht(event["status"]),
|
122
|
+
]
|
123
|
+
|
119
124
|
html << "<td class=\"view\">%s</td>\n" % [
|
120
125
|
"<a href=\"%s\">view</a>" % [
|
121
126
|
"/event/%s" % [
|