Orc web - responsive (mobile!)

dev-linux
robo-bo 2 years ago
parent baf043b5f5
commit 411e928ca8

@ -30,7 +30,7 @@ else:
Orchestrator.UACSuperTokenUpdate(inGSettings=gSettings, inSuperTokenStr="1992-04-03-0643-ru-b4ff-openrpa52zzz")
# Add first interface!
if CrossOS.IS_WINDOWS_BOOL:
Orchestrator.WebListenCreate(inGSettings=gSettings)
Orchestrator.WebListenCreate(inGSettings=gSettings, inPortInt=1024)
if CrossOS.IS_LINUX_BOOL:
Orchestrator.WebListenCreate(inGSettings=gSettings, inPortInt=1024)
# Restore DUMP

@ -0,0 +1 @@
https://github.com/0xHiteshPatel/sphinxcontrib-addmetahtml

@ -0,0 +1 @@
c:\rpa\pyopenrpa_repo\resources\wpy64-3720\python-3.7.2.amd64\lib\site-packages

@ -0,0 +1,20 @@
Metadata-Version: 1.1
Name: sphinxcontrib-addmetahtml
Version: 0.1.1
Summary: Sphinx "addmetahtml" extension
Home-page: https://github.com/0xHiteshPatel/sphinxcontrib-addmetahtml
Author: Hitesh Patel
Author-email: hp@hiteshpatel.net
License: BSD
Download-URL: http://pypi.python.org/pypi/sphinxcontrib-addmetahtml
Description: Sphinx extension that enables addition of user-defined HTML to docs
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Documentation
Classifier: Topic :: Utilities

@ -0,0 +1,12 @@
README.rst
setup.cfg
setup.py
sphinxcontrib/__init__.py
sphinxcontrib/addmetahtml.py
sphinxcontrib_addmetahtml.egg-info/PKG-INFO
sphinxcontrib_addmetahtml.egg-info/SOURCES.txt
sphinxcontrib_addmetahtml.egg-info/dependency_links.txt
sphinxcontrib_addmetahtml.egg-info/namespace_packages.txt
sphinxcontrib_addmetahtml.egg-info/not-zip-safe
sphinxcontrib_addmetahtml.egg-info/requires.txt
sphinxcontrib_addmetahtml.egg-info/top_level.txt

@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
"""
sphinxcontrib
~~~~~~~~~~~~~
This package is a namespace package that contains all extensions
distributed in the ``sphinx-contrib`` distribution.
:copyright: Copyright 2007-2009 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
__import__('pkg_resources').declare_namespace(__name__)

@ -0,0 +1,27 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sphinx.errors import ExtensionError
def insert_content(app, pagename, templatename, context, doctree):
if not app.config.addmetahtml_enabled:
return
metatags = context.get('metatags', '')
metatags += app.config.addmetahtml_content
context['metatags'] = metatags
def validate_config(app):
if not app.config.addmetahtml_content:
raise ExtensionError("Please set a value for 'addmetahtml_content'")
def setup(app):
app.add_config_value('addmetahtml_enabled', True, 'html')
app.add_config_value('addmetahtml_content', '', 'html')
app.connect('builder-inited', validate_config)
app.connect('html-page-context', insert_content)
return
{
'version': '0.1.1'
}

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'chardet==3.0.4','console_scripts','chardetect'
__requires__ = 'chardet==3.0.4'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('chardet==3.0.4', 'console_scripts', 'chardetect')()
)

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6'
__requires__ = 'setuptools==40.8.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('setuptools==40.8.0', 'console_scripts', 'easy_install-3.6')()
)

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install'
__requires__ = 'setuptools==40.8.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('setuptools==40.8.0', 'console_scripts', 'easy_install')()
)

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'Babel==2.9.0','console_scripts','pybabel'
__requires__ = 'Babel==2.9.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Babel==2.9.0', 'console_scripts', 'pybabel')()
)

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'Pygments==2.7.1','console_scripts','pygmentize'
__requires__ = 'Pygments==2.7.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Pygments==2.7.1', 'console_scripts', 'pygmentize')()
)

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'Sphinx==3.4.0','console_scripts','sphinx-apidoc'
__requires__ = 'Sphinx==3.4.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Sphinx==3.4.0', 'console_scripts', 'sphinx-apidoc')()
)

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'Sphinx==3.4.0','console_scripts','sphinx-autogen'
__requires__ = 'Sphinx==3.4.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Sphinx==3.4.0', 'console_scripts', 'sphinx-autogen')()
)

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'Sphinx==3.4.0','console_scripts','sphinx-build'
__requires__ = 'Sphinx==3.4.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Sphinx==3.4.0', 'console_scripts', 'sphinx-build')()
)

@ -0,0 +1,12 @@
#!C:\RPA\pyOpenRPA_repo\Resources\WPy64-3720\python-3.7.2.amd64\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'Sphinx==3.4.0','console_scripts','sphinx-quickstart'
__requires__ = 'Sphinx==3.4.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Sphinx==3.4.0', 'console_scripts', 'sphinx-quickstart')()
)

@ -40,7 +40,29 @@ rst_epilog = """
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.autodoc', 'autodocsumm', "sphinx_rtd_theme"]
extensions = ['sphinx.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.autodoc', 'autodocsumm', "sphinx_rtd_theme", 'sphinxcontrib.addmetahtml']
#The extension is enabled by default. Set the content to add to docs generated by the html builder:
addmetahtml_content = """
<!-- Yandex.Metrika counter -->
<script async="" src="https://mc.yandex.ru/metrika/tag.js"></script>
<script type="text/javascript">
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(88079149, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/88079149" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
"""
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

@ -1,7 +1,7 @@
<div class="ui inverted vertical footer segment">
<div class="ui center aligned container">
<div class="ui stackable inverted divided equal height stackable grid">
<div class="three wide column">
<div class="four wide column">
<h4 class="ui inverted header">Навигатор</h4>
<div class="ui inverted link list">
<a href="https://pyopenrpa.ru/" target="_blank" class="item">Портал</a>
@ -11,17 +11,21 @@
<a href="https://pyopenrpa.ru/verification" target="_blank" class="item">Центр цифровых сертификатов</a>
</div>
</div>
<div class="three wide column">
<div class="four wide column">
<h4 class="ui inverted header">Интересный факт</h4>
<p>Портал pyOpenRPA сделан на оркестраторе pyOpenRPA за 7 дней - присоединяйся к сильной стороне!</p>
<p><a href="https://pyopenrpa.ru" target="_blank">Портал pyOpenRPA</a> сделан на оркестраторе pyOpenRPA за 7 дней - присоединяйся к сильной стороне!</p>
</div>
<div class="seven wide column">
<div class="eight wide column">
<h4 class="ui inverted header">Контактная информация</h4>
<p>ПРАВООБЛАДАТЕЛЬ: ООО "ОПЕН РПА", ОГРН 1227700251350</p>
<p>МСК: 125310, Россия, г. Москва, улица Муравская</p>
<p>СПБ: 197022, Россия, г. Санкт-Петербург, Аптекарский проспект, 18</p>
<p>Центр поддержки клиентов: +7 995 233 45 31 (с 9:00 до 18:00 по МСК), support@pyopenrpa.ru</p>
<p>Оказываем услуги на всей территории Российской Федерации</p>
<span>ПРАВООБЛАДАТЕЛЬ: ООО "ОПЕН РПА", ОГРН 1227700251350</span>
<br>
<span>МСК: 125310, Россия, г. Москва, улица Муравская</span>
<br>
<span>СПБ: 197022, Россия, г. Санкт-Петербург, Аптекарский проспект, 18</span>
<br>
<span>Центр поддержки клиентов: +7 995 233 45 31 (с 9:00 до 18:00 по МСК), support@pyopenrpa.ru</span>
<br>
<span>Оказываем услуги на всей территории Российской Федерации</span>
</div>
</div>
<div class="ui inverted section divider"></div>

@ -1,10 +1,31 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<!-- Yandex.Metrika counter -->
<script async="" src="https://mc.yandex.ru/metrika/tag.js"></script>
<script type="text/javascript">
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(88079149, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/88079149" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Оркестратор pyOpenRPA</title>
<meta name="description" content="Ведущий RPA разработчик российского программного обеспечения. RPA платформа позволяет решать любые бизнес-задачи. Комплексное решение от компании RPA pyOpenRPA. Первое открытое российское RPA решение для крупного / среднего / малого бизнеса. Доступная автоматизация для каждого.">
<meta name="keywords" content="rpa, программные роботы, автоматизация бизнес-процессов, цифровые сотрудники, виртуальные сотрудники">
<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">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<script
src="/orpa/Resources/Web/jQuery/jquery-3.1.1.min.js"
crossorigin="anonymous"></script>
@ -61,11 +82,11 @@
<body>
{% include 'header.xhtml' %}
<div class="ui internally celled grid">
<div class="ui aligned stackable grid container">
<div class="row">
<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" style="margin-bottom:30px;margin-top:30px;">
<i class="clipboard list icon"></i>
Роботы
</h4>
@ -303,13 +324,21 @@
</textarea>
<a class="mGlobal-pyOpenRPA-ServerLogListDoRender" onclick="" style="cursor: pointer;">Заморозить окно логов</a>
<div class="ui fluid action input UACClient-pyOpenRPADict-AdminDict-CMDInputBool" style="display:none;">
<input class="openrpa-controller-cmd-run-input" type="text" placeholder="Скрипт для консоли...">
<div class="ui button" onclick="mGlobal.Controller.CMDRun();">Выполнить</div>
<div class="ui button" onclick="mGlobal.Controller.CMDRunGUILogout();">Выйти из сессии</div>
</div>
</div>
<div style="padding:1rem; width:100%">
<div class="row ui fluid action input UACClient-pyOpenRPADict-AdminDict-CMDInputBool" style="display:none;">
<input class="openrpa-controller-cmd-run-input" type="text" placeholder="Скрипт для терминала..." style="min-width:250px;margin-bottom:10px;margin-top:10px;">
<div class="ui button green" onclick="mGlobal.Controller.CMDRun();" style="margin-bottom:10px;margin-top:10px;">Выполнить</div>
<div class="ui button" onclick="mGlobal.Controller.CMDRunGUILogout();" style="margin-bottom:10px;margin-top:10px;">Выйти из сессии</div>
</div>
</div>
<div class="row UACClient-pyOpenRPADict-AdminDict-Debugging" style= "display:none;">
<div class="twelve wide column">
<h4 class="ui horizontal divider header" >
@ -366,7 +395,7 @@
<i class="clipboard list icon"></i>
Управление
</h4>
<div class="four ui buttons">
<div class="row 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="visible content">Смотреть экран</div>
<div class="hidden content">
@ -393,11 +422,6 @@
</div>
</div>
<div class="row black">
</div>
</div>
{% include 'footer.xhtml' %}

Loading…
Cancel
Save