|
|
|
@ -468,11 +468,11 @@ def pyOpenRPA_Agent_A2O(inRequest:Request, inAuthTokenStr:str = Depends(Identify
|
|
|
|
|
from pyOpenRPA.Utils.Render import Render
|
|
|
|
|
lFileStr = CrossOS.PathJoinList(CrossOS.PathSplitList(__file__)[:-2] + ["Resources","Web","orpa","orc.xhtml"])
|
|
|
|
|
gRender = Render(inTemplatePathStr=lFileStr,inTemplateRefreshBool=True)
|
|
|
|
|
|
|
|
|
|
from pyOpenRPA import __version__
|
|
|
|
|
def pyOpenRPA_Index():
|
|
|
|
|
# Пример использования
|
|
|
|
|
global gRender
|
|
|
|
|
lStr = gRender.Generate(inDataDict={"title":"ОРКЕСТРАТОР PYOPENRPA", "subtitle":"ПАНЕЛЬ УПРАВЛЕНИЯ"})
|
|
|
|
|
lStr = gRender.Generate(inDataDict={"title":"ОРКЕСТРАТОР PYOPENRPA", "subtitle":"ПАНЕЛЬ УПРАВЛЕНИЯ", "version":__version__})
|
|
|
|
|
__Orchestrator__.WebRequestResponseSend(inResponeStr=lStr,inContentTypeStr="text/html")
|
|
|
|
|
|
|
|
|
|
def SettingsUpdate():
|
|
|
|
|