logster 1.2.11 → 1.3.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +18 -17
- data/.travis.yml +15 -16
- data/CHANGELOG.md +130 -130
- data/Gemfile +4 -4
- data/Guardfile +8 -8
- data/LICENSE.txt +22 -22
- data/README.md +99 -96
- data/Rakefile +24 -23
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +639 -639
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/images/Icon-144_rounded.png +0 -0
- data/assets/images/Icon-144_square.png +0 -0
- data/assets/images/icon_144x144.png +0 -0
- data/assets/images/icon_64x64.png +0 -0
- data/assets/javascript/client-app.js +81 -0
- data/assets/javascript/vendor.js +5302 -0
- data/assets/stylesheets/client-app.css +1 -0
- data/assets/stylesheets/vendor.css +4 -0
- data/build_client_app.sh +12 -0
- data/client-app/.editorconfig +20 -0
- data/client-app/.ember-cli +9 -0
- data/client-app/.eslintignore +19 -0
- data/client-app/.eslintrc.js +46 -0
- data/client-app/.gitignore +23 -0
- data/client-app/.travis.yml +27 -0
- data/client-app/.watchmanconfig +3 -0
- data/client-app/README.md +57 -0
- data/client-app/app/app.js +14 -0
- data/client-app/app/components/message-info.js +18 -0
- data/client-app/app/components/message-row.js +45 -0
- data/client-app/app/components/panel-resizer.js +75 -0
- data/client-app/app/components/tab-contents.js +27 -0
- data/client-app/app/components/tab-link.js +5 -0
- data/client-app/app/components/tabbed-section.js +32 -0
- data/client-app/app/components/time-formatter.js +25 -0
- data/client-app/app/components/update-time.js +21 -0
- data/client-app/app/controllers/index.js +83 -0
- data/client-app/app/controllers/show.js +13 -0
- data/client-app/app/index.html +29 -0
- data/client-app/app/initializers/app-init.js +55 -0
- data/client-app/app/lib/preload.js +14 -0
- data/client-app/app/lib/utilities.js +140 -0
- data/client-app/app/models/message-collection.js +158 -0
- data/client-app/app/models/message.js +99 -0
- data/client-app/app/resolver.js +3 -0
- data/client-app/app/router.js +14 -0
- data/client-app/app/routes/index.js +53 -0
- data/client-app/app/routes/show.js +14 -0
- data/{assets/stylesheets → client-app/app/styles}/app.css +387 -390
- data/{assets/javascript → client-app/app}/templates/application.hbs +2 -2
- data/client-app/app/templates/components/message-info.hbs +44 -0
- data/{assets/javascript → client-app/app/templates}/components/message-row.hbs +17 -17
- data/client-app/app/templates/components/tabbed-section.hbs +10 -0
- data/client-app/app/templates/components/time-formatter.hbs +1 -0
- data/{assets/javascript → client-app/app}/templates/index.hbs +57 -57
- data/{assets/javascript → client-app/app}/templates/show.hbs +4 -4
- data/client-app/config/environment.js +51 -0
- data/client-app/config/optional-features.json +3 -0
- data/client-app/config/targets.js +18 -0
- data/client-app/ember-cli-build.js +29 -0
- data/client-app/package-lock.json +11365 -0
- data/client-app/package.json +56 -0
- data/client-app/testem.js +25 -0
- data/client-app/tests/index.html +34 -0
- data/client-app/tests/integration/components/message-info-test.js +26 -0
- data/client-app/tests/integration/components/message-row-test.js +26 -0
- data/client-app/tests/integration/components/panel-resizer-test.js +26 -0
- data/client-app/tests/integration/components/tab-contents-test.js +26 -0
- data/client-app/tests/integration/components/tab-link-test.js +26 -0
- data/client-app/tests/integration/components/tabbed-section-test.js +26 -0
- data/client-app/tests/integration/components/time-formatter-test.js +26 -0
- data/client-app/tests/integration/components/update-time-test.js +26 -0
- data/client-app/tests/test-helper.js +8 -0
- data/client-app/tests/unit/controllers/index-test.js +12 -0
- data/client-app/tests/unit/controllers/show-test.js +12 -0
- data/client-app/tests/unit/initializers/app-init-test.js +31 -0
- data/client-app/tests/unit/routes/index-test.js +11 -0
- data/client-app/tests/unit/routes/show-test.js +11 -0
- data/lib/examples/sidekiq_logster_reporter.rb +21 -21
- data/lib/logster.rb +54 -54
- data/lib/logster/base_store.rb +130 -130
- data/lib/logster/configuration.rb +25 -25
- data/lib/logster/ignore_pattern.rb +65 -65
- data/lib/logster/logger.rb +102 -101
- data/lib/logster/message.rb +227 -226
- data/lib/logster/middleware/debug_exceptions.rb +26 -26
- data/lib/logster/middleware/reporter.rb +56 -54
- data/lib/logster/middleware/viewer.rb +220 -251
- data/lib/logster/rails/railtie.rb +58 -58
- data/lib/logster/redis_store.rb +481 -477
- data/lib/logster/version.rb +3 -3
- data/lib/logster/web.rb +14 -14
- data/logster.gemspec +34 -33
- data/test/examples/test_sidekiq_reporter_example.rb +46 -46
- data/test/fake_data/Gemfile +4 -4
- data/test/fake_data/generate.rb +10 -10
- data/test/logster/middleware/test_reporter.rb +21 -21
- data/test/logster/middleware/test_viewer.rb +96 -70
- data/test/logster/test_base_store.rb +147 -147
- data/test/logster/test_ignore_pattern.rb +41 -41
- data/test/logster/test_logger.rb +74 -74
- data/test/logster/test_message.rb +34 -34
- data/test/logster/test_redis_rate_limiter.rb +230 -230
- data/test/logster/test_redis_store.rb +427 -414
- data/test/test_helper.rb +38 -37
- data/vendor/assets/javascripts/logster.js.erb +39 -39
- metadata +83 -24
- data/assets/javascript/app.js +0 -817
- data/assets/javascript/components/message-info.hbs +0 -47
- data/assets/javascript/components/panel-resizer.hbs +0 -0
- data/assets/javascript/components/tab-contents.hbs +0 -1
- data/assets/javascript/components/tab-link.hbs +0 -1
- data/assets/javascript/components/tabbed-section.hbs +0 -6
- data/assets/javascript/external/ember-template-compiler.js +0 -22346
- data/assets/javascript/external/ember.js +0 -58500
- data/assets/javascript/external/ember.min.js +0 -17
- data/assets/javascript/external/jquery.min.js +0 -5
- data/assets/javascript/external/lodash.min.js +0 -87
- data/assets/javascript/external/moment.min.js +0 -6
- data/assets/stylesheets/font-awesome.min.css +0 -4
- data/bower.json +0 -25
@@ -0,0 +1,99 @@
|
|
1
|
+
import { ajax, buildHashString } from "client-app/lib/utilities";
|
2
|
+
import Preload from "client-app/lib/preload";
|
3
|
+
import { computed } from "@ember/object";
|
4
|
+
|
5
|
+
export default Em.Object.extend({
|
6
|
+
MAX_LEN: 200,
|
7
|
+
|
8
|
+
expand() {
|
9
|
+
this.set("expanded", true);
|
10
|
+
},
|
11
|
+
|
12
|
+
solve() {
|
13
|
+
return ajax("/solve/" + this.get("key"), { type: "PUT" });
|
14
|
+
},
|
15
|
+
|
16
|
+
destroy() {
|
17
|
+
return ajax("/message/" + this.get("key"), { type: "DELETE" });
|
18
|
+
},
|
19
|
+
|
20
|
+
protect() {
|
21
|
+
this.set("protected", true);
|
22
|
+
return ajax("/protect/" + this.get("key"), { type: "PUT" });
|
23
|
+
},
|
24
|
+
unprotect() {
|
25
|
+
this.set("protected", false);
|
26
|
+
return ajax("/unprotect/" + this.get("key"), { type: "DELETE" });
|
27
|
+
},
|
28
|
+
|
29
|
+
showCount: computed("count", function() {
|
30
|
+
return this.get("count") > 1;
|
31
|
+
}),
|
32
|
+
|
33
|
+
hasMore: computed("message", "expanded", function() {
|
34
|
+
const message = this.get("message");
|
35
|
+
const expanded = this.get("expanded");
|
36
|
+
|
37
|
+
return !expanded && message.length > this.MAX_LEN;
|
38
|
+
}),
|
39
|
+
|
40
|
+
shareUrl: computed("key", function() {
|
41
|
+
return Preload.get("rootPath") + "/show/" + this.get("key");
|
42
|
+
}),
|
43
|
+
|
44
|
+
displayMessage: computed("message", "expanded", function() {
|
45
|
+
let message = this.get("message");
|
46
|
+
const expanded = this.get("expanded");
|
47
|
+
|
48
|
+
if (!expanded && message.length > this.MAX_LEN) {
|
49
|
+
message = message.substr(0, this.MAX_LEN);
|
50
|
+
}
|
51
|
+
return message;
|
52
|
+
}),
|
53
|
+
|
54
|
+
updateFromObject(other) {
|
55
|
+
// XXX Only updatable property is count right now
|
56
|
+
this.set("count", other.get("count"));
|
57
|
+
},
|
58
|
+
|
59
|
+
canSolve: computed(function() {
|
60
|
+
const backtrace = this.get("backtrace");
|
61
|
+
return (
|
62
|
+
this.get("env.application_version") && backtrace && backtrace.length > 0
|
63
|
+
);
|
64
|
+
}),
|
65
|
+
|
66
|
+
envTable: computed("env", function() {
|
67
|
+
return buildHashString(this.get("env"));
|
68
|
+
}),
|
69
|
+
|
70
|
+
rowClass: computed("severity", function() {
|
71
|
+
switch (this.get("severity")) {
|
72
|
+
case 0:
|
73
|
+
return "debug";
|
74
|
+
case 1:
|
75
|
+
return "info";
|
76
|
+
case 2:
|
77
|
+
return "warn";
|
78
|
+
case 3:
|
79
|
+
return "error";
|
80
|
+
case 4:
|
81
|
+
return "fatal";
|
82
|
+
}
|
83
|
+
}),
|
84
|
+
|
85
|
+
glyph: computed("severity", function() {
|
86
|
+
switch (this.get("severity")) {
|
87
|
+
case 0:
|
88
|
+
return "";
|
89
|
+
case 1:
|
90
|
+
return "";
|
91
|
+
case 2:
|
92
|
+
return "<i class='fa fa-exclamation-circle warning'></i>";
|
93
|
+
case 3:
|
94
|
+
return "<i class='fa fa-times-circle error'></i>";
|
95
|
+
case 4:
|
96
|
+
return "<i class='fa fa-times-circle fatal'></i>";
|
97
|
+
}
|
98
|
+
})
|
99
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import EmberRouter from '@ember/routing/router';
|
2
|
+
import config from './config/environment';
|
3
|
+
|
4
|
+
const Router = EmberRouter.extend({
|
5
|
+
location: config.locationType,
|
6
|
+
rootURL: config.rootURL
|
7
|
+
});
|
8
|
+
|
9
|
+
Router.map(function() {
|
10
|
+
this.route("index", { path: "/" });
|
11
|
+
this.route("show", { path: "/show/:id" });
|
12
|
+
});
|
13
|
+
|
14
|
+
export default Router;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import Route from "@ember/routing/route";
|
2
|
+
import MessageCollection from "client-app/models/message-collection";
|
3
|
+
import { isHidden } from "client-app/lib/utilities";
|
4
|
+
|
5
|
+
export default Route.extend({
|
6
|
+
model() {
|
7
|
+
// TODO from preload json?
|
8
|
+
return MessageCollection.create();
|
9
|
+
},
|
10
|
+
|
11
|
+
setupController(controller, model) {
|
12
|
+
this._super(controller, model);
|
13
|
+
controller.setProperties({
|
14
|
+
showDebug: true,
|
15
|
+
showInfo: true,
|
16
|
+
showWarn: true,
|
17
|
+
showErr: true,
|
18
|
+
showFatal: true,
|
19
|
+
search: "",
|
20
|
+
initialized: true
|
21
|
+
});
|
22
|
+
model.reload();
|
23
|
+
|
24
|
+
let times = 0;
|
25
|
+
let backoff = 1;
|
26
|
+
|
27
|
+
this.refreshInterval = setInterval(() => {
|
28
|
+
times += 1;
|
29
|
+
const hidden = isHidden();
|
30
|
+
let load = !hidden;
|
31
|
+
|
32
|
+
if (hidden) {
|
33
|
+
if (times % backoff === 0) {
|
34
|
+
load = true;
|
35
|
+
if (backoff < 20) {
|
36
|
+
backoff++;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
// refresh a lot less aggressively in background
|
41
|
+
if (load) {
|
42
|
+
model.loadMore();
|
43
|
+
if (!hidden) {
|
44
|
+
backoff = 1;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}, 3000);
|
48
|
+
},
|
49
|
+
|
50
|
+
deactivate() {
|
51
|
+
clearInterval(this.refreshInterval);
|
52
|
+
}
|
53
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import Route from "@ember/routing/route";
|
2
|
+
import Message from "client-app/models/message";
|
3
|
+
import { preloadOrAjax } from "client-app/lib/utilities";
|
4
|
+
|
5
|
+
export default Route.extend({
|
6
|
+
model(params) {
|
7
|
+
return preloadOrAjax("/show/" + params.id + ".json");
|
8
|
+
},
|
9
|
+
|
10
|
+
setupController(controller, model) {
|
11
|
+
this._super(...arguments);
|
12
|
+
controller.set("model", Message.create(model));
|
13
|
+
}
|
14
|
+
});
|
@@ -1,390 +1,387 @@
|
|
1
|
-
body {
|
2
|
-
font-family:
|
3
|
-
font-size: 12px;
|
4
|
-
}
|
5
|
-
|
6
|
-
pre {
|
7
|
-
|
8
|
-
}
|
9
|
-
|
10
|
-
table.env-table tbody tr td {
|
11
|
-
border-top: none;
|
12
|
-
line-height: 18px;
|
13
|
-
vertical-align: top;
|
14
|
-
}
|
15
|
-
|
16
|
-
table.env-table,
|
17
|
-
|
18
|
-
border-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
font-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
.message-actions {
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
}
|
196
|
-
|
197
|
-
.message-actions button {
|
198
|
-
margin-right: 7px;
|
199
|
-
}
|
200
|
-
|
201
|
-
.message-actions .share {
|
202
|
-
text-decoration: none;
|
203
|
-
color: #333;
|
204
|
-
}
|
205
|
-
|
206
|
-
.divider {
|
207
|
-
position: fixed;
|
208
|
-
bottom: 310px;
|
209
|
-
left: 0;
|
210
|
-
right: 0;
|
211
|
-
height: 10px;
|
212
|
-
border-top: 1px solid #ddd;
|
213
|
-
border-bottom: 1px solid #ddd;
|
214
|
-
background-color: #fafafa;
|
215
|
-
cursor: row-resize;
|
216
|
-
z-index: 1;
|
217
|
-
}
|
218
|
-
|
219
|
-
.divider div {
|
220
|
-
margin: auto;
|
221
|
-
width: 24px;
|
222
|
-
height: 1px;
|
223
|
-
background-color: #ccc;
|
224
|
-
position: relative;
|
225
|
-
}
|
226
|
-
|
227
|
-
.divider .line-1 {
|
228
|
-
top: 3px;
|
229
|
-
}
|
230
|
-
|
231
|
-
.divider .line-2 {
|
232
|
-
top: 4px;
|
233
|
-
}
|
234
|
-
|
235
|
-
.divider .line-3 {
|
236
|
-
top: 5px;
|
237
|
-
}
|
238
|
-
|
239
|
-
#top-panel {
|
240
|
-
position: fixed;
|
241
|
-
top: 0;
|
242
|
-
left: 0;
|
243
|
-
right: 0;
|
244
|
-
bottom: 320px;
|
245
|
-
overflow: auto;
|
246
|
-
}
|
247
|
-
|
248
|
-
.message-info {
|
249
|
-
position: absolute;
|
250
|
-
border-bottom: 1px solid #
|
251
|
-
bottom: 35px;
|
252
|
-
top: 0;
|
253
|
-
left: 0;
|
254
|
-
right: 0;
|
255
|
-
overflow: auto;
|
256
|
-
}
|
257
|
-
|
258
|
-
.action-panel {
|
259
|
-
position: absolute;
|
260
|
-
left: 0;
|
261
|
-
right: 0;
|
262
|
-
bottom: 0;
|
263
|
-
height: 30px;
|
264
|
-
font-weight: bold;
|
265
|
-
}
|
266
|
-
.action-panel input {
|
267
|
-
position: relative;
|
268
|
-
top: -1px;
|
269
|
-
margin-left: 20px;
|
270
|
-
vertical-align: sub;
|
271
|
-
}
|
272
|
-
|
273
|
-
.action-panel .clear {
|
274
|
-
position: absolute;
|
275
|
-
right: 30px;
|
276
|
-
vertical-align: middle;
|
277
|
-
}
|
278
|
-
|
279
|
-
#log-table {
|
280
|
-
border-collapse:collapse;
|
281
|
-
margin: auto;
|
282
|
-
width: 99%;
|
283
|
-
table-layout: fixed;
|
284
|
-
}
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
border:
|
344
|
-
border-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
background-color: #c63c1b;
|
389
|
-
color: #EEE;
|
390
|
-
}
|
1
|
+
body {
|
2
|
+
font-family: "Roboto", Arial, "Liberation Sans", "DejaVu Sans", sans-serif;
|
3
|
+
font-size: 12px;
|
4
|
+
}
|
5
|
+
|
6
|
+
pre {
|
7
|
+
font-family: "Roboto Mono", Consolas, Monaco, Ubuntu Mono, monospace;
|
8
|
+
}
|
9
|
+
|
10
|
+
table.env-table tbody tr td {
|
11
|
+
border-top: none;
|
12
|
+
line-height: 18px;
|
13
|
+
vertical-align: top;
|
14
|
+
}
|
15
|
+
|
16
|
+
table.env-table,
|
17
|
+
table.env-table table {
|
18
|
+
border-spacing: 0;
|
19
|
+
border-collapse: collapse;
|
20
|
+
}
|
21
|
+
|
22
|
+
table.env-table td {
|
23
|
+
padding-right: 5px;
|
24
|
+
}
|
25
|
+
|
26
|
+
tbody tr {
|
27
|
+
width: 98%;
|
28
|
+
}
|
29
|
+
|
30
|
+
tbody tr td {
|
31
|
+
border-top: 1px #e9e9e9 solid;
|
32
|
+
line-height: 25px;
|
33
|
+
}
|
34
|
+
|
35
|
+
.message-row:hover {
|
36
|
+
background-color: #f8f8f8;
|
37
|
+
cursor: pointer;
|
38
|
+
}
|
39
|
+
|
40
|
+
.message-row.selected {
|
41
|
+
background-color: #dfdfdf;
|
42
|
+
}
|
43
|
+
|
44
|
+
th {
|
45
|
+
text-align: left;
|
46
|
+
padding-right: 10px;
|
47
|
+
font-size: 12px;
|
48
|
+
color: #222;
|
49
|
+
padding-bottom: 8px;
|
50
|
+
}
|
51
|
+
|
52
|
+
td.time {
|
53
|
+
font-size: 12px;
|
54
|
+
color: #999;
|
55
|
+
vertical-align: top;
|
56
|
+
}
|
57
|
+
.message {
|
58
|
+
font-size: 13px;
|
59
|
+
overflow: hidden;
|
60
|
+
white-space: nowrap;
|
61
|
+
text-overflow: ellipsis;
|
62
|
+
padding-right: 10px;
|
63
|
+
}
|
64
|
+
|
65
|
+
th.count {
|
66
|
+
width: 20px;
|
67
|
+
}
|
68
|
+
|
69
|
+
th.severity {
|
70
|
+
width: 15px;
|
71
|
+
}
|
72
|
+
|
73
|
+
th.time {
|
74
|
+
width: 90px;
|
75
|
+
text-align: right;
|
76
|
+
padding-right: 20px;
|
77
|
+
}
|
78
|
+
|
79
|
+
td.time {
|
80
|
+
text-align: right;
|
81
|
+
padding-right: 8px;
|
82
|
+
}
|
83
|
+
|
84
|
+
th.protected {
|
85
|
+
width: 10px;
|
86
|
+
}
|
87
|
+
|
88
|
+
i.fatal {
|
89
|
+
color: #e00;
|
90
|
+
}
|
91
|
+
|
92
|
+
i.error {
|
93
|
+
color: #900;
|
94
|
+
}
|
95
|
+
|
96
|
+
i.warning {
|
97
|
+
color: #feb800;
|
98
|
+
}
|
99
|
+
|
100
|
+
.debug {
|
101
|
+
color: #777;
|
102
|
+
}
|
103
|
+
|
104
|
+
td.count {
|
105
|
+
text-align: right;
|
106
|
+
padding-right: 4px;
|
107
|
+
}
|
108
|
+
|
109
|
+
.count span {
|
110
|
+
font-size: 11px;
|
111
|
+
font-weight: bold;
|
112
|
+
}
|
113
|
+
|
114
|
+
.action-panel .search input {
|
115
|
+
border: 1px solid #ddd;
|
116
|
+
padding: 3px;
|
117
|
+
vertical-align: middle;
|
118
|
+
}
|
119
|
+
|
120
|
+
.regex input {
|
121
|
+
margin-left: 2px !important;
|
122
|
+
}
|
123
|
+
|
124
|
+
tr.show-more {
|
125
|
+
text-align: center;
|
126
|
+
height: 30px;
|
127
|
+
text-decoration: none;
|
128
|
+
background-color: #ddd;
|
129
|
+
cursor: pointer;
|
130
|
+
font-size: 12px;
|
131
|
+
}
|
132
|
+
|
133
|
+
#bottom-panel {
|
134
|
+
position: fixed;
|
135
|
+
bottom: 0;
|
136
|
+
left: 0;
|
137
|
+
right: 100%;
|
138
|
+
height: 300px;
|
139
|
+
width: 100%;
|
140
|
+
background-color: #f1f1f1;
|
141
|
+
padding: 8px;
|
142
|
+
font-size: 12px;
|
143
|
+
}
|
144
|
+
|
145
|
+
#bottom-panel.full {
|
146
|
+
position: static;
|
147
|
+
background-color: inherit;
|
148
|
+
height: 90%;
|
149
|
+
}
|
150
|
+
|
151
|
+
#bottom-panel.full > div {
|
152
|
+
padding-bottom: 40px;
|
153
|
+
}
|
154
|
+
#bottom-panel.full .tabs {
|
155
|
+
display: none;
|
156
|
+
}
|
157
|
+
|
158
|
+
#bottom-panel.full .message-info {
|
159
|
+
position: static;
|
160
|
+
}
|
161
|
+
|
162
|
+
#bottom-panel.full .message-info .content {
|
163
|
+
display: block;
|
164
|
+
position: static;
|
165
|
+
}
|
166
|
+
|
167
|
+
#bottom-panel.full .save,
|
168
|
+
#bottom-panel.full .share {
|
169
|
+
bottom: 10px;
|
170
|
+
}
|
171
|
+
|
172
|
+
#bottom-panel.full button.delete {
|
173
|
+
display: none;
|
174
|
+
}
|
175
|
+
|
176
|
+
#bottom-panel.full .message-actions {
|
177
|
+
position: fixed;
|
178
|
+
height: 40px;
|
179
|
+
width: 100%;
|
180
|
+
left: 0;
|
181
|
+
bottom: 0;
|
182
|
+
background-color: #eee;
|
183
|
+
border-top: 1px solid #dfdfdf;
|
184
|
+
padding-left: 10px;
|
185
|
+
}
|
186
|
+
|
187
|
+
#bottom-panel.full .message-actions button {
|
188
|
+
margin-top: 10px;
|
189
|
+
}
|
190
|
+
|
191
|
+
.message-actions {
|
192
|
+
position: absolute;
|
193
|
+
bottom: 3px;
|
194
|
+
right: 30px;
|
195
|
+
}
|
196
|
+
|
197
|
+
.message-actions button {
|
198
|
+
margin-right: 7px;
|
199
|
+
}
|
200
|
+
|
201
|
+
.message-actions .share {
|
202
|
+
text-decoration: none;
|
203
|
+
color: #333;
|
204
|
+
}
|
205
|
+
|
206
|
+
.divider {
|
207
|
+
position: fixed;
|
208
|
+
bottom: 310px;
|
209
|
+
left: 0;
|
210
|
+
right: 0;
|
211
|
+
height: 10px;
|
212
|
+
border-top: 1px solid #ddd;
|
213
|
+
border-bottom: 1px solid #ddd;
|
214
|
+
background-color: #fafafa;
|
215
|
+
cursor: row-resize;
|
216
|
+
z-index: 1;
|
217
|
+
}
|
218
|
+
|
219
|
+
.divider div {
|
220
|
+
margin: auto;
|
221
|
+
width: 24px;
|
222
|
+
height: 1px;
|
223
|
+
background-color: #ccc;
|
224
|
+
position: relative;
|
225
|
+
}
|
226
|
+
|
227
|
+
.divider .line-1 {
|
228
|
+
top: 3px;
|
229
|
+
}
|
230
|
+
|
231
|
+
.divider .line-2 {
|
232
|
+
top: 4px;
|
233
|
+
}
|
234
|
+
|
235
|
+
.divider .line-3 {
|
236
|
+
top: 5px;
|
237
|
+
}
|
238
|
+
|
239
|
+
#top-panel {
|
240
|
+
position: fixed;
|
241
|
+
top: 0;
|
242
|
+
left: 0;
|
243
|
+
right: 0;
|
244
|
+
bottom: 320px;
|
245
|
+
overflow: auto;
|
246
|
+
}
|
247
|
+
|
248
|
+
.message-info {
|
249
|
+
position: absolute;
|
250
|
+
border-bottom: 1px solid #ddd;
|
251
|
+
bottom: 35px;
|
252
|
+
top: 0;
|
253
|
+
left: 0;
|
254
|
+
right: 0;
|
255
|
+
overflow: auto;
|
256
|
+
}
|
257
|
+
|
258
|
+
.action-panel {
|
259
|
+
position: absolute;
|
260
|
+
left: 0;
|
261
|
+
right: 0;
|
262
|
+
bottom: 0;
|
263
|
+
height: 30px;
|
264
|
+
font-weight: bold;
|
265
|
+
}
|
266
|
+
.action-panel input {
|
267
|
+
position: relative;
|
268
|
+
top: -1px;
|
269
|
+
margin-left: 20px;
|
270
|
+
vertical-align: sub;
|
271
|
+
}
|
272
|
+
|
273
|
+
.action-panel .clear {
|
274
|
+
position: absolute;
|
275
|
+
right: 30px;
|
276
|
+
vertical-align: middle;
|
277
|
+
}
|
278
|
+
|
279
|
+
#log-table {
|
280
|
+
border-collapse: collapse;
|
281
|
+
margin: auto;
|
282
|
+
width: 99%;
|
283
|
+
table-layout: fixed;
|
284
|
+
}
|
285
|
+
|
286
|
+
.hidden {
|
287
|
+
display: none;
|
288
|
+
}
|
289
|
+
|
290
|
+
.message-info pre {
|
291
|
+
position: relative;
|
292
|
+
margin: 10px;
|
293
|
+
}
|
294
|
+
|
295
|
+
#overlay {
|
296
|
+
position: fixed;
|
297
|
+
z-index: 99999;
|
298
|
+
top: 0;
|
299
|
+
bottom: 0;
|
300
|
+
left: 0;
|
301
|
+
right: 0;
|
302
|
+
cursor: row-resize;
|
303
|
+
opacity: 0;
|
304
|
+
}
|
305
|
+
|
306
|
+
.message-info .content {
|
307
|
+
position: absolute;
|
308
|
+
top: 5px;
|
309
|
+
bottom: 35px;
|
310
|
+
left: 5px;
|
311
|
+
right: 5px;
|
312
|
+
overflow: auto;
|
313
|
+
display: none;
|
314
|
+
}
|
315
|
+
|
316
|
+
.message-info .content.active {
|
317
|
+
display: block;
|
318
|
+
}
|
319
|
+
|
320
|
+
.tabs {
|
321
|
+
position: absolute;
|
322
|
+
bottom: 10px;
|
323
|
+
left: 0;
|
324
|
+
right: 0;
|
325
|
+
list-style-type: none;
|
326
|
+
border-top: 1px solid #ddd;
|
327
|
+
margin: 0 0 5px;
|
328
|
+
padding: 0 0 0 14px;
|
329
|
+
}
|
330
|
+
.tabs li {
|
331
|
+
float: left;
|
332
|
+
position: relative;
|
333
|
+
padding-right: 5px;
|
334
|
+
margin: 0;
|
335
|
+
}
|
336
|
+
.tabs a {
|
337
|
+
position: relative;
|
338
|
+
top: 4px;
|
339
|
+
text-decoration: none;
|
340
|
+
color: #333;
|
341
|
+
border: 1px solid #ddd;
|
342
|
+
border-top: none;
|
343
|
+
border-bottom-left-radius: 5px;
|
344
|
+
border-bottom-right-radius: 5px;
|
345
|
+
padding: 4px;
|
346
|
+
background-color: #e1e1e1;
|
347
|
+
}
|
348
|
+
|
349
|
+
.tabs a.active {
|
350
|
+
border-top: 1px solid #f1f1f1;
|
351
|
+
background-color: #f1f1f1;
|
352
|
+
}
|
353
|
+
|
354
|
+
.btn {
|
355
|
+
display: inline-block;
|
356
|
+
margin: 0;
|
357
|
+
padding: 2px 12px;
|
358
|
+
font-weight: 500;
|
359
|
+
font-size: 1em;
|
360
|
+
line-height: 18px;
|
361
|
+
text-align: center;
|
362
|
+
cursor: pointer;
|
363
|
+
transition: all 0.25s;
|
364
|
+
background-color: #ddd;
|
365
|
+
text-decoration: none;
|
366
|
+
border: none;
|
367
|
+
color: #333;
|
368
|
+
font-weight: normal;
|
369
|
+
}
|
370
|
+
|
371
|
+
.btn:hover {
|
372
|
+
color: #000;
|
373
|
+
background-color: #ccc;
|
374
|
+
}
|
375
|
+
|
376
|
+
.btn .fa {
|
377
|
+
margin-right: 7px;
|
378
|
+
}
|
379
|
+
|
380
|
+
.btn:active {
|
381
|
+
text-shadow: none;
|
382
|
+
}
|
383
|
+
|
384
|
+
.btn.danger:hover {
|
385
|
+
background-color: #c63c1b;
|
386
|
+
color: #eee;
|
387
|
+
}
|