You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/Orchestrator/Demo/SIMPLE_01/index.html

56 lines
2.5 KiB

<div class="card" style="width:100%;" id="{{config.robot_key_str}}-card">
<div class="content">
<h1 class="ui center aligned icon header">SIMPLE_01: ПРОСТОЙ РОБОТ</h1>
<div class="ui message">
<div class="header">Применение:</div>
<p>Текст панели управления.</p>
<div class="header">Сотрудник:</div>
<p>{{UserInfoDict['UserNameUpperStr']}}</p>
</div>
<div class="ui segment" id="{{config.robot_key_str}}-segment">
<div class="ui two column very relaxed grid">
<div class="column">
<h3 class="ui center aligned icon header">СОСТОЯНИЕ</h3>
{% if config.process_is_started() %}
<h2 class="ui center aligned icon header green">
<i class="circular play icon"></i>
Включен
</h2>
<script>start_block(1);</script>
{% else %}
<h2 class="ui center aligned icon header red">
<i class="circular stop icon"></i>
Выключен
</h2>
<script>start_block(1);</script>
{% endif %}
</div>
<div class="column">
<h3 class="ui center aligned icon header">ДЕЙСТВИЯ</h3>
<p class="ui center aligned"><button class="ui right labeled icon button" id="{{config.robot_key_str}}-log-btn" onclick="{{config.robot_key_str}}_logs()"><i class="right file alternate icon"></i> Скачать лог </button></p>
<p class="ui center aligned"><button class="ui right labeled icon button" id="{{config.robot_key_str}}-info-btn" onclick="{{config.robot_key_str}}_info()"><i class="right info icon"></i> Скачать инструкцию </button></p>
<p class="ui center aligned"><button class="ui right labeled icon button"><i class="right book icon"></i> Скачать документацию </button></p>
<p class="ui center aligned"><button class="ui right labeled icon button green"><i class="right book icon"></i> Запустить </button></p>
<p class="ui center aligned"><button class="ui right labeled icon button red"><i class="right book icon"></i> Остановить </button></p>
</div>
</div>
<div class="ui vertical divider">
</div>
</div>
</div>
</div>
<script src="/{{config.robot_key_str}}/scripts.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// JS CODE GOES HERE
});
</script>