mirror of https://github.com/jumpserver/jumpserver
perf: update automation report
parent
44a3815044
commit
947c3a54c8
|
@ -14,6 +14,11 @@
|
|||
</div>
|
||||
|
||||
<div class="container-section collapsible-content" id="basic-info-content">
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Task name' %}</span>
|
||||
<span class="item-value">{{ execution.automation.name }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Date start' %}</span>
|
||||
<span class="item-value">{{ execution.date_start | date:"Y/m/d H:i:s" }}</span>
|
||||
|
@ -43,12 +48,7 @@
|
|||
<span class="item-label">{% trans 'Asset not support count' %}</span>
|
||||
<span class="item-value">{{ summary.error_assets | default:0 }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Task name' %}</span>
|
||||
<span class="item-value">{{ execution.automation.name }}</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Time using' %}</span>
|
||||
<span class="item-value">{{ execution.duration }}s</span>
|
||||
|
|
|
@ -14,6 +14,11 @@
|
|||
</div>
|
||||
|
||||
<div class="container-section collapsible-content" id="basic-info-content">
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Task name' %}</span>
|
||||
<span class="item-value">{{ execution.snapshot.name }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Date start' %}</span>
|
||||
<span class="item-value">{{ execution.date_start | date:"Y/m/d H:i:s" }}</span>
|
||||
|
@ -57,11 +62,6 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Task name' %}</span>
|
||||
<span class="item-value">{{ execution.snapshot.name }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Time using' %}</span>
|
||||
<span class="item-value">{{ execution.duration }}s</span>
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
</div>
|
||||
|
||||
<div class="container-section collapsible-content" id="basic-info-content">
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Task name' %}</span>
|
||||
<span class="item-value">{{ execution.automation.name }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Date start' %}</span>
|
||||
<span class="item-value">{{ execution.date_start | date:"Y/m/d H:i:s" }}</span>
|
||||
|
@ -42,11 +47,6 @@
|
|||
<span class="item-value">{{ summary.error_assets | default:0 }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Task name' %}</span>
|
||||
<span class="item-value">{{ execution.automation.name }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Time using' %}</span>
|
||||
<span class="item-value">{{ execution.duration }}s</span>
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
</div>
|
||||
|
||||
<div class="container-section collapsible-content" id="basic-info-content">
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Task name' %}</span>
|
||||
<span class="item-value">{{ execution.automation.name }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Date start' %}</span>
|
||||
<span class="item-value">{{ execution.date_start | date:"Y/m/d H:i:s" }}</span>
|
||||
|
@ -42,12 +47,7 @@
|
|||
<span class="item-label">{% trans 'Asset not support count' %}</span>
|
||||
<span class="item-value">{{ summary.error_assets | default:0 }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Task name' %}</span>
|
||||
<span class="item-value">{{ execution.automation.name }}</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="item">
|
||||
<span class="item-label">{% trans 'Time using' %}</span>
|
||||
<span class="item-value">{{ execution.duration }}s</span>
|
||||
|
|
|
@ -14,7 +14,8 @@ class CeleryBaseService(BaseService):
|
|||
print('\n- Start Celery as Distributed Task Queue: {}'.format(self.queue.capitalize()))
|
||||
ansible_config_path = os.path.join(settings.APPS_DIR, 'libs', 'ansible', 'ansible.cfg')
|
||||
ansible_modules_path = os.path.join(settings.APPS_DIR, 'libs', 'ansible', 'modules')
|
||||
os.environ.setdefault('LC_ALL', 'C.UTF-8')
|
||||
os.environ.setdefault('LC_ALL', 'en_US.UTF-8')
|
||||
os.environ.setdefault('LANG', 'en_US.UTF-8')
|
||||
os.environ.setdefault('PYTHONOPTIMIZE', '1')
|
||||
os.environ.setdefault('ANSIBLE_FORCE_COLOR', 'True')
|
||||
os.environ.setdefault('ANSIBLE_CONFIG', ansible_config_path)
|
||||
|
|
|
@ -1465,7 +1465,7 @@
|
|||
"View": "View",
|
||||
"ViewMore": "View more",
|
||||
"ViewPerm": "View",
|
||||
"ViewSecret": "View ciphertext",
|
||||
"ViewSecret": "View secret",
|
||||
"VirtualAccountDetail": "Virtual account details",
|
||||
"VirtualAccountHelpMsg": "Virtual accounts are specialized accounts with specific purposes when connecting assets.",
|
||||
"VirtualAccountUpdate": "Virtual account update",
|
||||
|
|
Loading…
Reference in New Issue