|
|
|
@ -58,7 +58,33 @@
|
|
|
|
|
///Вернуть результат
|
|
|
|
|
return lResultHTMLCode
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//////////////////////////
|
|
|
|
|
/////Info JS module
|
|
|
|
|
//////////////////////////
|
|
|
|
|
mGlobal.Info={};
|
|
|
|
|
|
|
|
|
|
mGlobal.Info.TableActivityLogScheduleListRefresh=function() {
|
|
|
|
|
///Обнулить таблицу
|
|
|
|
|
$(".openrpa-info-table-activitylogschedulelist").html("")
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "POST",
|
|
|
|
|
url: 'ProcessingRun',
|
|
|
|
|
data: '{"actionList":[{"type":"ActivityLogScheduleListGet"}]}',
|
|
|
|
|
success:
|
|
|
|
|
function(lData,l2,l3)
|
|
|
|
|
{
|
|
|
|
|
var lResponseJSON=JSON.parse(lData)
|
|
|
|
|
///Отправить запрос на формирование таблицы
|
|
|
|
|
lHTMLCode=mGlobal.GeneralGenerateHTMLCodeHandlebars(".openrpa-hidden-info-table-activitylogschedulelist",lResponseJSON["actionListResult"][0])
|
|
|
|
|
///Установить HTML код
|
|
|
|
|
$(".openrpa-info-table-activitylogschedulelist").html(lHTMLCode)
|
|
|
|
|
},
|
|
|
|
|
dataType: "text"
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
//////////////////////////
|
|
|
|
|
/////Monitor JS module
|
|
|
|
|
//////////////////////////
|
|
|
|
|
mGlobal.Monitor={};
|
|
|
|
|
mGlobal.Monitor.ScreenshotModal={};
|
|
|
|
|
mGlobal.Monitor.GenerateUniqueID=function(inPrefix="tempUID=") {
|
|
|
|
@ -102,6 +128,11 @@
|
|
|
|
|
dataType: "text"
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////
|
|
|
|
|
///Инициализация страницы
|
|
|
|
|
////////////////////////////////////
|
|
|
|
|
mGlobal.Info.TableActivityLogScheduleListRefresh();
|
|
|
|
|
})
|
|
|
|
|
;
|
|
|
|
|
</script>
|
|
|
|
@ -152,11 +183,11 @@
|
|
|
|
|
<body>
|
|
|
|
|
<div class="ui internally celled grid">
|
|
|
|
|
<div class="row black">
|
|
|
|
|
<div class="two wide column">
|
|
|
|
|
<div class="three wide column">
|
|
|
|
|
<h1 class="ui header inverted">OpenRPA</h1>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="twelve wide column">
|
|
|
|
|
<h1 class="ui header inverted">Daemon GUI</h1>
|
|
|
|
|
<div class="eleven wide column">
|
|
|
|
|
<h1 class="ui header inverted">Orchestrator Web GUI</h1>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="two wide column">
|
|
|
|
|
<h5>by UnicodeLabs</h5>
|
|
|
|
@ -164,30 +195,65 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="six wide column rpa-object-tree" >
|
|
|
|
|
<div class="ten wide column" >
|
|
|
|
|
<h4 class="ui horizontal divider header">
|
|
|
|
|
<i class="clipboard list icon"></i>
|
|
|
|
|
Activity log
|
|
|
|
|
</h4>
|
|
|
|
|
<div class="ui info message">
|
|
|
|
|
<button class="ui icon button labeled" onclick="mGlobal.Info.TableActivityLogScheduleListRefresh();">
|
|
|
|
|
<i class="sync alternate icon"></i>
|
|
|
|
|
Refresh
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="openrpa-info-table-activitylogschedulelist">
|
|
|
|
|
</div >
|
|
|
|
|
<script class="openrpa-hidden-info-table-activitylogschedulelist" style="display:none" type="text/x-handlebars-template">
|
|
|
|
|
<table class="ui celled table">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>#</th>
|
|
|
|
|
<th>Activity type</th>
|
|
|
|
|
<th>Process</th>
|
|
|
|
|
<th>Activity DateTime plan</th>
|
|
|
|
|
<th>Activity DateTime fact</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{{#result}}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{@index}}</td>
|
|
|
|
|
<td>{{activityType}}</td>
|
|
|
|
|
<td>{{processPath}}</td>
|
|
|
|
|
<td>{{activityDateTime}}</td>
|
|
|
|
|
<td class="negative">{{activityStartDateTime}}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{{/result}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="six wide column rpa-hierarchy" >
|
|
|
|
|
<p>This example shows how to use lazy loaded images, a sticky menu, and a simple text container</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="four wide column rpa-property-list" >
|
|
|
|
|
<div class="eight wide column rpa-property-list" >
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row black">
|
|
|
|
|
<div class="two wide column">
|
|
|
|
|
<h2 class="ui header inverted">Monitor</h2>
|
|
|
|
|
<div class="three wide column">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="two wide column">
|
|
|
|
|
|
|
|
|
|
<div class="three wide column">
|
|
|
|
|
<h2 class="ui header inverted">Monitor</h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="two wide column">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="ten wide column">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<button class="ui labeled icon button" onclick="mGlobal.Monitor.ScreenshotModal.Show();">
|
|
|
|
|
<i class="desktop icon"></i>
|
|
|
|
|
Look machine screenshot
|
|
|
|
|
</button>
|
|
|
|
|
<script class="openrpa-hidden-monitor-table-general" style="display:none" type="text/x-handlebars-template">
|
|
|
|
|
<table class="ui celled table">
|
|
|
|
|
<thead>
|
|
|
|
@ -206,8 +272,7 @@
|
|
|
|
|
</table>
|
|
|
|
|
</script>
|
|
|
|
|
<div class="row openrpa-monitor">
|
|
|
|
|
|
|
|
|
|
<a onclick="mGlobal.Monitor.ScreenshotModal.Show();" class="item" target="_blank">GetScreenshot</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row black">
|
|
|
|
|
|
|
|
|
|