Rolling Log界面,完整国际化定制

pull/6/head
xuxueli 7 years ago
parent c2f3a827b0
commit 7b3db058be

@ -149,8 +149,11 @@ joblog_clean_type_9=清理所有日志数据
joblog_handleCode_200=成功
joblog_handleCode_500=失败
joblog_handleCode_501=失败重试
joblog_rolling_log=执行日志
joblog_kill_log=终止任务
joblog_rolling_log=执行日志
joblog_rolling_log_refresh=刷新
joblog_rolling_log_triggerfail=任务发起调度失败,无法查看执行日志
joblog_rolling_log_failoften=终止请求Rolling日志,请求失败次数超上限,可刷新页面重新加载日志
## job group
jobgroup_name=执行器管理

@ -12,9 +12,9 @@
<header class="main-header">
<nav class="navbar navbar-static-top">
<div class="container">
<#-- icon -->
<#-- icon -->
<div class="navbar-header">
<a class="navbar-brand"><b></b>Console</a>
<a class="navbar-brand"><b>${I18n.joblog_rolling_log}</b> Console</a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
<i class="fa fa-bars"></i>
</button>
@ -33,7 +33,7 @@
<li>
<a href="javascript:window.location.reload();" >
<i class="fa fa-fw fa-refresh" ></i>
${I18n.joblog_rolling_log_refresh}
</a>
</li>
</ul>

@ -3,7 +3,7 @@ $(function() {
// trigger fail, end
if (triggerCode != 200) {
$('#logConsoleRunning').hide();
$('#logConsole').append('<span style="color: red;"></span>');
$('#logConsole').append('<span style="color: red;">'+ I18n.joblog_rolling_log_triggerfail +'</span>');
return;
}
@ -13,7 +13,7 @@ $(function() {
function pullLog() {
// pullFailCount, max=20
if (pullFailCount++ > 20) {
logRunStop('<span style="color: red;">Rolling,,</span>');
logRunStop('<span style="color: red;">'+ I18n.joblog_rolling_log_failoften +'</span>');
return;
}

Loading…
Cancel
Save