Skip to content

Commit 18babbc

Browse files
committed
LTS-Admin 日志 显示异常堆栈的时候,格式问题
1 parent b02dd3f commit 18babbc

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

lts-admin/src/main/webapp/assets/css/custom.css

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -345,19 +345,26 @@ td.param-list > i {
345345
width: 250px;
346346
}
347347

348-
.btn-default{
348+
.btn-default {
349349
background-color: #FFF;
350-
border:1px solid #e5e6e7;
350+
border: 1px solid #e5e6e7;
351351
color: inherit;
352352
}
353-
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default{
353+
354+
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
354355
background-color: #fff;
355-
border:1px solid #e5e6e7;
356+
border: 1px solid #e5e6e7;
356357
color: inherit;
357358
}
358-
.dropdown-menu li a{
359+
360+
.dropdown-menu li a {
359361
outline: none;
360362
}
361-
button{
362-
outline: none!important;
363+
364+
button {
365+
outline: none !important;
366+
}
367+
368+
.footable-row-detail-name {
369+
min-width: 100px;
363370
}

lts-admin/src/main/webapp/views/templates/jobLogger.vm

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@
124124
<td>{{row.cronExpression}}</td>
125125
<td>{{row.needFeedback | format:'needFeedbackLabel'}}</td>
126126
<td>{{row.extParams | format:'stringifyJSON'}}</td>
127-
<td>{{row.msg}}</td>
127+
<td>
128+
<pre>{{row.msg}}</pre>
129+
</td>
128130
</tr>
129131
{{/each}}
130132
{{if results == 0}}
@@ -144,6 +146,14 @@
144146
</table>
145147
</script>
146148

149+
<style>
150+
pre {
151+
padding: 0px;
152+
background-color: transparent;
153+
border: 0;
154+
}
155+
</style>
156+
147157
<script>
148158
$(document).ready(function () {
149159

0 commit comments

Comments
 (0)