Orc translated! And working!

dev-linux
robo-bo 2 years ago
parent c2d82ec6d7
commit baf043b5f5

@ -464,7 +464,7 @@ gRender = Render(inTemplatePathStr=lFileStr,inTemplateRefreshBool=True)
def pyOpenRPA_Index(): def pyOpenRPA_Index():
# Пример использования # Пример использования
global gRender global gRender
lStr = gRender.Generate(inDataDict={"title":"ОРКЕСТРАТОР", "subtitle":"ПАНЕЛЬ УПРАВЛЕНИЯ"}) lStr = gRender.Generate(inDataDict={"title":"ОРКЕСТРАТОР PYOPENRPA", "subtitle":"ПАНЕЛЬ УПРАВЛЕНИЯ"})
__Orchestrator__.WebRequestResponseSend(inResponeStr=lStr,inContentTypeStr="text/html") __Orchestrator__.WebRequestResponseSend(inResponeStr=lStr,inContentTypeStr="text/html")
def SettingsUpdate(inGlobalConfiguration): def SettingsUpdate(inGlobalConfiguration):

@ -1,14 +1,14 @@
<div class="ui inverted vertical footer segment"> <div class="ui inverted vertical footer segment">
<div class="ui container"> <div class="ui center aligned container">
<div class="ui stackable inverted divided equal height stackable grid"> <div class="ui stackable inverted divided equal height stackable grid">
<div class="three wide column"> <div class="three wide column">
<h4 class="ui inverted header">Навигатор</h4> <h4 class="ui inverted header">Навигатор</h4>
<div class="ui inverted link list"> <div class="ui inverted link list">
<a href="https://pyopenrpa.ru/" class="item">Главная</a> <a href="https://pyopenrpa.ru/" target="_blank" class="item">Портал</a>
<a href="https://pyopenrpa.ru/wiki/guide/v1.2.14_RUS/html/index.html" class="item">Документация</a> <a href="https://pyopenrpa.ru/wiki/guide/v1.2.14_RUS/html/index.html" target="_blank" class="item">Документация</a>
<a href="https://t.me/pyOpenRPA" class="item">Сообщество</a> <a href="https://t.me/pyOpenRPA" target="_blank" class="item">Сообщество</a>
<a href="mailto:support@pyopenrpa.ru" class="item">Тех. поддержка</a> <a href="mailto:support@pyopenrpa.ru" target="_blank" class="item">Тех. поддержка</a>
<a href="https://pyopenrpa.ru/verification" class="item">Центр цифровых сертификатов</a> <a href="https://pyopenrpa.ru/verification" target="_blank" class="item">Центр цифровых сертификатов</a>
</div> </div>
</div> </div>
<div class="three wide column"> <div class="three wide column">
@ -17,16 +17,24 @@
</div> </div>
<div class="seven wide column"> <div class="seven wide column">
<h4 class="ui inverted header">Контактная информация</h4> <h4 class="ui inverted header">Контактная информация</h4>
<p>ООО "ОПЕН РПА", ОГРН 1227700251350</p> <p>ПРАВООБЛАДАТЕЛЬ: ООО "ОПЕН РПА", ОГРН 1227700251350</p>
<p>МСК: 125310, Россия, г. Москва, улица Муравская</p> <p>МСК: 125310, Россия, г. Москва, улица Муравская</p>
<p>СПБ: 197022, Россия, г. Санкт-Петербург, Аптекарский проспект, 18</p> <p>СПБ: 197022, Россия, г. Санкт-Петербург, Аптекарский проспект, 18</p>
<p>Центр поддержки клиентов: +7 995 233 45 31 (с 9:00 до 18:00 по МСК), support@pyopenrpa.ru</p> <p>Центр поддержки клиентов: +7 995 233 45 31 (с 9:00 до 18:00 по МСК), support@pyopenrpa.ru</p>
<p>Оказываем услуги на всей территории Российской Федерации</p> <p>Оказываем услуги на всей территории Российской Федерации</p>
</div> </div>
</div> </div>
<div class="ui inverted section divider"></div>
<div class="ui horizontal inverted small divided link list">
<a class="item" href="https://semantic-ui.com/elements/input.html" target="_blank">Справка Semantic UI</a>
<a class="item" href="https://pywinauto.readthedocs.io/en/latest/code/code.html#main-user-modules" target="_blank">Справка Pywinauto</a>
<a class="item" href="https://gitlab.com/UnicodeLabs/OpenRPA" target="_blank">Репозиторий pyOpenRPA</a>
<a class="item" href="https://pyopenrpa.ru/license/oferta.pdf" target="_blank">Оферта</a>
</div> </div>
</div> </div>
</div>
<script src="/orpa/Resources/Web/orpa/styleset/visibility.js"></script> <script src="/orpa/Resources/Web/orpa/styleset/visibility.js"></script>
<script src="/orpa/Resources/Web/orpa/styleset/sidebar.js"></script> <script src="/orpa/Resources/Web/orpa/styleset/sidebar.js"></script>
<script src="/orpa/Resources/Web/orpa/styleset/transition.js"></script> <script src="/orpa/Resources/Web/orpa/styleset/transition.js"></script>

@ -553,7 +553,7 @@ $(document).ready(function() {
///Turn OFF rendering ///Turn OFF rendering
mGlobal.pyOpenRPA.ServerLogListDoRenderFalse = function() { mGlobal.pyOpenRPA.ServerLogListDoRenderFalse = function() {
///Set unfreeze button ///Set unfreeze button
$("a.mGlobal-pyOpenRPA-ServerLogListDoRender").html("Unfreeze textarea") $("a.mGlobal-pyOpenRPA-ServerLogListDoRender").html("Разморозить окно логов")
$("a.mGlobal-pyOpenRPA-ServerLogListDoRender").attr("onclick","mGlobal.pyOpenRPA.ServerLogListDoRenderTrue()") $("a.mGlobal-pyOpenRPA-ServerLogListDoRender").attr("onclick","mGlobal.pyOpenRPA.ServerLogListDoRenderTrue()")
$("textarea.mGlobal-pyOpenRPA-ServerLogList").css("background-color","#b9e2e8") $("textarea.mGlobal-pyOpenRPA-ServerLogList").css("background-color","#b9e2e8")
mGlobal.pyOpenRPA.ServerLogListDoRenderBool = false mGlobal.pyOpenRPA.ServerLogListDoRenderBool = false
@ -564,7 +564,7 @@ $(document).ready(function() {
///Render last data ///Render last data
mGlobal.pyOpenRPA.ServerLogListRefreshDef_TechnicalRender() mGlobal.pyOpenRPA.ServerLogListRefreshDef_TechnicalRender()
///Set unfreeze button ///Set unfreeze button
$("a.mGlobal-pyOpenRPA-ServerLogListDoRender").html("Freeze textarea") $("a.mGlobal-pyOpenRPA-ServerLogListDoRender").html("Заморозить окно логов")
$("a.mGlobal-pyOpenRPA-ServerLogListDoRender").attr("onclick","mGlobal.pyOpenRPA.ServerLogListDoRenderFalse()") $("a.mGlobal-pyOpenRPA-ServerLogListDoRender").attr("onclick","mGlobal.pyOpenRPA.ServerLogListDoRenderFalse()")
$("textarea.mGlobal-pyOpenRPA-ServerLogList").css("background-color","") $("textarea.mGlobal-pyOpenRPA-ServerLogList").css("background-color","")

@ -2,7 +2,7 @@
<html lang="en" > <html lang="en" >
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>pyOpenRPA Orchestrator</title> <title>Оркестратор pyOpenRPA</title>
<link rel="stylesheet" type="text/css" href="/orpa/Resources/Web/Semantic-UI-CSS-master/semantic.min.css"> <link rel="stylesheet" type="text/css" href="/orpa/Resources/Web/Semantic-UI-CSS-master/semantic.min.css">
<link rel="stylesheet" type="text/css" href="/orpa/Resources/Web/orpa/styleset/home.css"> <link rel="stylesheet" type="text/css" href="/orpa/Resources/Web/orpa/styleset/home.css">
<script <script
@ -67,7 +67,7 @@
<div class="sixteen wide column openrpa-control-panel-general UACClient-pyOpenRPADict-CPKeyDict" style="display:none;" > <div class="sixteen wide column openrpa-control-panel-general UACClient-pyOpenRPADict-CPKeyDict" style="display:none;" >
<h4 class="ui horizontal divider header"> <h4 class="ui horizontal divider header">
<i class="clipboard list icon"></i> <i class="clipboard list icon"></i>
Dashboard (Robot control panel) Роботы
</h4> </h4>
<div class="openrpa-control-panel"></div> <div class="openrpa-control-panel"></div>
<script class="openrpa-hidden-control-panel" style="display:none" type="text/x-handlebars-template"> <script class="openrpa-hidden-control-panel" style="display:none" type="text/x-handlebars-template">
@ -203,7 +203,7 @@
<h2 class="ui header openrpa-rdpactive-title"> <h2 class="ui header openrpa-rdpactive-title">
<i class="desktop icon"></i> <i class="desktop icon"></i>
<div class="content"> <div class="content">
RDP active list РДП сессии
</div> </div>
</h2> </h2>
<div class="openrpa-robotrdpactive-control-panel"></div> <div class="openrpa-robotrdpactive-control-panel"></div>
@ -214,20 +214,20 @@
{{#HandlebarsList}} {{#HandlebarsList}}
<div class="item"> <div class="item">
<div class="right floated content"> <div class="right floated content">
<div class="ui button" onclick="mGlobal.Processor.ServerValueAppend(['RobotRDPActive','ActivityList'],{'DefNameStr': 'RDPSessionReconnect', 'ArgList': [], 'ArgDict': {'inRDPSessionKeyStr': '{{{SessionKeyStr}}}'} })" >Reconnect</div> <div class="ui button" onclick="mGlobal.Processor.ServerValueAppend(['RobotRDPActive','ActivityList'],{'DefNameStr': 'RDPSessionReconnect', 'ArgList': [], 'ArgDict': {'inRDPSessionKeyStr': '{{{SessionKeyStr}}}'} })" >Переподключить</div>
</div> </div>
<div class="right floated content"> <div class="right floated content">
{{#if IsIgnoredBool}} {{#if IsIgnoredBool}}
<div class="ui button red" onclick="mGlobal.Processor.ServerValueSet(['RobotRDPActive','RDPList','{{{SessionKeyStr}}}','SessionIsIgnoredBool'],false);">Ignore</div> <div class="ui button red" onclick="mGlobal.Processor.ServerValueSet(['RobotRDPActive','RDPList','{{{SessionKeyStr}}}','SessionIsIgnoredBool'],false);">Игнорировать</div>
{{else}} {{else}}
<div class="ui button" onclick="mGlobal.Processor.ServerValueSet(['RobotRDPActive','RDPList','{{{SessionKeyStr}}}','SessionIsIgnoredBool'],true);">Ignore</div> <div class="ui button" onclick="mGlobal.Processor.ServerValueSet(['RobotRDPActive','RDPList','{{{SessionKeyStr}}}','SessionIsIgnoredBool'],true);">Игнорировать</div>
{{/if}} {{/if}}
</div> </div>
<div class="right floated content"> <div class="right floated content">
{{#if IsFullScreenBool}} {{#if IsFullScreenBool}}
<div class="ui button green" onclick="mGlobal.Processor.ServerValueSet(['RobotRDPActive','FullScreenRDPSessionKeyStr'],null);">Full screen</div> <div class="ui button green" onclick="mGlobal.Processor.ServerValueSet(['RobotRDPActive','FullScreenRDPSessionKeyStr'],null);">Полный экран</div>
{{else}} {{else}}
<div class="ui button" onclick="mGlobal.Processor.ServerValueSet(['RobotRDPActive','FullScreenRDPSessionKeyStr'],'{{{SessionKeyStr}}}');">Full screen</div> <div class="ui button" onclick="mGlobal.Processor.ServerValueSet(['RobotRDPActive','FullScreenRDPSessionKeyStr'],'{{{SessionKeyStr}}}');">Полный экран</div>
{{/if}} {{/if}}
</div> </div>
<div class="content"> <div class="content">
@ -245,7 +245,7 @@
<h2 class="ui header " style=""> <h2 class="ui header " style="">
<i class="bug icon"></i> <i class="bug icon"></i>
<div class="content"> <div class="content">
Agent active list Агент подключения
</div> </div>
</h2> </h2>
<div class="pyOpenRPA-Agent-List"></div> <div class="pyOpenRPA-Agent-List"></div>
@ -258,14 +258,14 @@
<div class="right floated content"> <div class="right floated content">
{{#if IsListenBool}} {{#if IsListenBool}}
<i class="circle icon green"></i> <i class="circle icon green"></i>
Online Доступен
{{else}} {{else}}
<i class="circle icon red"></i> <i class="circle icon red"></i>
Offline Недоступен
{{/if}} {{/if}}
</div> </div>
<div class="content"> <div class="content">
<div class="header">Hostname: {{{HostnameUpperStr}}}, User: {{{UserUpperStr}}}</div> <div class="header">Хост: {{{HostnameUpperStr}}}, Пользователь: {{{UserUpperStr}}}</div>
</div> </div>
</div> </div>
{{/HandlebarsList}} {{/HandlebarsList}}
@ -285,7 +285,7 @@
<h2 class="ui header"> <h2 class="ui header">
<i class="settings icon"></i> <i class="settings icon"></i>
<div class="content"> <div class="content">
Administration Администрирование
</div> </div>
</h2> </h2>
@ -296,17 +296,17 @@
<div class="sixteen wide column" style=""> <div class="sixteen wide column" style="">
<h4 class="ui horizontal divider header" > <h4 class="ui horizontal divider header" >
<i class="clipboard list icon"></i> <i class="clipboard list icon"></i>
Logs Логи
</h4> </h4>
<textarea class="mGlobal-pyOpenRPA-ServerLogList UACClient-pyOpenRPADict-AdminDict-LogViewerBool" readonly="readonly" style="width:100%; display:none; resize: none; font-family:monospace; font-weight: bold;" id="textarea_id" rows="20"> <textarea class="mGlobal-pyOpenRPA-ServerLogList UACClient-pyOpenRPADict-AdminDict-LogViewerBool" readonly="readonly" style="width:100%; display:none; resize: none; font-family:monospace; font-weight: bold;" id="textarea_id" rows="20">
</textarea> </textarea>
<a class="mGlobal-pyOpenRPA-ServerLogListDoRender" onclick="" style="cursor: pointer;">Freeze textarea</a> <a class="mGlobal-pyOpenRPA-ServerLogListDoRender" onclick="" style="cursor: pointer;">Заморозить окно логов</a>
<div class="ui fluid action input UACClient-pyOpenRPADict-AdminDict-CMDInputBool" style="display:none;"> <div class="ui fluid action input UACClient-pyOpenRPADict-AdminDict-CMDInputBool" style="display:none;">
<input class="openrpa-controller-cmd-run-input" type="text" placeholder="CMD Code..."> <input class="openrpa-controller-cmd-run-input" type="text" placeholder="Скрипт для консоли...">
<div class="ui button" onclick="mGlobal.Controller.CMDRun();">Run!</div> <div class="ui button" onclick="mGlobal.Controller.CMDRun();">Выполнить</div>
<div class="ui button" onclick="mGlobal.Controller.CMDRunGUILogout();">GUI Logout</div> <div class="ui button" onclick="mGlobal.Controller.CMDRunGUILogout();">Выйти из сессии</div>
</div> </div>
</div> </div>
</div> </div>
@ -314,7 +314,7 @@
<div class="twelve wide column"> <div class="twelve wide column">
<h4 class="ui horizontal divider header" > <h4 class="ui horizontal divider header" >
<i class="bug icon"></i> <i class="bug icon"></i>
Debugging - Send Отладка - Отправить
</h4> </h4>
<div class="ui labeled input"> <div class="ui labeled input">
<div class="ui label">Def</div> <div class="ui label">Def</div>
@ -351,12 +351,12 @@
</div> </div>
<input type="text" placeholder="inLogger" class="mGlobal-pyOpenRPA-Debugging-ArgLoggerStr" style="width:100%; font-family:monospace; font-weight: bold;"> <input type="text" placeholder="inLogger" class="mGlobal-pyOpenRPA-Debugging-ArgLoggerStr" style="width:100%; font-family:monospace; font-weight: bold;">
</div> </div>
<div class="ui fluid button" onclick="mGlobal.pyOpenRPA.DebuggingExecute();">Execute</div> <div class="ui fluid button" onclick="mGlobal.pyOpenRPA.DebuggingExecute();">Выполнить</div>
</div> </div>
<div class="four wide column"> <div class="four wide column">
<h4 class="ui horizontal divider header" > <h4 class="ui horizontal divider header" >
<i class="bug icon"></i> <i class="bug icon"></i>
Debugging - Output Отладка - Получить
</h4> </h4>
<p><textarea class="mGlobal-pyOpenRPA-Debugging-Output" readonly="readonly" style="width:100%; font-family:monospace; font-weight: bold;" rows="16" cols="60"></textarea></p> <p><textarea class="mGlobal-pyOpenRPA-Debugging-Output" readonly="readonly" style="width:100%; font-family:monospace; font-weight: bold;" rows="16" cols="60"></textarea></p>
</div> </div>
@ -364,29 +364,29 @@
<h4 class="ui horizontal divider header"> <h4 class="ui horizontal divider header">
<i class="clipboard list icon"></i> <i class="clipboard list icon"></i>
Controls Управление
</h4> </h4>
<div class="four ui buttons"> <div class="four ui buttons">
<div class="ui animated button openrpa-control-lookmachinescreenshot green UACClient-pyOpenRPADict-AdminDict-ScreenshotViewerBool" onclick="mGlobal.Monitor.ScreenshotModal.Show();" style="display: none; margin-top: 5px;"> <div class="ui animated button openrpa-control-lookmachinescreenshot green UACClient-pyOpenRPADict-AdminDict-ScreenshotViewerBool" onclick="mGlobal.Monitor.ScreenshotModal.Show();" style="display: none; margin-top: 5px;">
<div class="visible content">Show live screenshots</div> <div class="visible content">Смотреть экран</div>
<div class="hidden content"> <div class="hidden content">
<i class="right arrow icon"></i> <i class="right arrow icon"></i>
</div> </div>
</div> </div>
<div class="ui animated button openrpa-control-restartorchestrator orange UACClient-pyOpenRPADict-AdminDict-RestartOrchestratorBool" onclick="mGlobal.Controller.OrchestratorRestart();" style="display: none; margin-top: 5px;"> <div class="ui animated button openrpa-control-restartorchestrator orange UACClient-pyOpenRPADict-AdminDict-RestartOrchestratorBool" onclick="mGlobal.Controller.OrchestratorRestart();" style="display: none; margin-top: 5px;">
<div class="visible content">Restart orchestrator</div> <div class="visible content">Перезагрузить оркестратор</div>
<div class="hidden content"> <div class="hidden content">
<i class="right arrow icon"></i> <i class="right arrow icon"></i>
</div> </div>
</div> </div>
<div class="ui animated button openrpa-control-gitrestartorchestrator teal UACClient-pyOpenRPADict-AdminDict-RestartOrchestratorGITPullBool" onclick="mGlobal.Controller.OrchestratorGITPullRestart();" style="display: none; margin-top: 5px;"> <div class="ui animated button openrpa-control-gitrestartorchestrator teal UACClient-pyOpenRPADict-AdminDict-RestartOrchestratorGITPullBool" onclick="mGlobal.Controller.OrchestratorGITPullRestart();" style="display: none; margin-top: 5px;">
<div class="visible content">Git pull, restart orchestrator</div> <div class="visible content">Обновить из GIT</div>
<div class="hidden content"> <div class="hidden content">
<i class="right arrow icon"></i> <i class="right arrow icon"></i>
</div> </div>
</div> </div>
<div class="ui animated button openrpa-control-restartpc red UACClient-pyOpenRPADict-AdminDict-RestartPCBool" onclick="mGlobal.Controller.PCRestart();" style="display: none; margin-top: 5px;"> <div class="ui animated button openrpa-control-restartpc red UACClient-pyOpenRPADict-AdminDict-RestartPCBool" onclick="mGlobal.Controller.PCRestart();" style="display: none; margin-top: 5px;">
<div class="visible content">Restart PC</div> <div class="visible content">Перезагрузить ОС</div>
<div class="hidden content"> <div class="hidden content">
<i class="right arrow icon"></i> <i class="right arrow icon"></i>
</div> </div>
@ -406,16 +406,16 @@
<div class="ui icon header"> <div class="ui icon header">
</div> </div>
<div class="content"> <div class="content">
<p>Here is the message text!</p> <p>Добро пожаловать!</p>
</div> </div>
<div class="actions"> <div class="actions">
<div class="ui red basic cancel inverted button"> <div class="ui red basic cancel inverted button">
<i class="remove icon"></i> <i class="remove icon"></i>
No Нет
</div> </div>
<div class="ui green ok inverted button"> <div class="ui green ok inverted button">
<i class="checkmark icon"></i> <i class="checkmark icon"></i>
Yes Да
</div> </div>
</div> </div>
</div> </div>
@ -428,7 +428,7 @@
<div class="actions"> <div class="actions">
<div class="ui green ok inverted button" onclick="mGlobal.Monitor.ScreenshotModal.Close()"> <div class="ui green ok inverted button" onclick="mGlobal.Monitor.ScreenshotModal.Close()">
<i class="checkmark icon"></i> <i class="checkmark icon"></i>
Close Закрыть
</div> </div>
</div> </div>
@ -437,20 +437,20 @@
<div class="ui modal openrpa-code-list-gui-import-modal"> <div class="ui modal openrpa-code-list-gui-import-modal">
<i class="close icon"></i> <i class="close icon"></i>
<div class="header"> <div class="header">
Code list import СПисок действий
</div> </div>
<div class="content"> <div class="content">
<div class="description"> <div class="description">
<div class="ui header">Insert your JSON specification here.</div> <div class="ui header">Вставить JSON спецификацию:</div>
<p><textarea style="width:100%" rows="6" cols="60"></textarea></p> <p><textarea style="width:100%" rows="6" cols="60"></textarea></p>
</div> </div>
</div> </div>
<div class="actions"> <div class="actions">
<div class="ui black deny button"> <div class="ui black deny button">
Cancel Отменить
</div> </div>
<div class="ui positive right labeled icon button" onclick="mGlobal.CodeList.fActionSpecificationImportFromJSON();"> <div class="ui positive right labeled icon button" onclick="mGlobal.CodeList.fActionSpecificationImportFromJSON();">
Parse Распознать
<i class="checkmark icon"></i> <i class="checkmark icon"></i>
</div> </div>
</div> </div>

Loading…
Cancel
Save