jumpserver/apps/terminal/templates/terminal/_msg_command_execute_alert....

25 lines
487 B
Python

{% load i18n %}
<div>
{% for item, value in items.items %}
<span class="cmd-item">
<b>{{ item }}:</b> {{ value }}
</span>
<br />
{% endfor %}
<b>{% trans 'Command' %}: </b><br />
<pre>
{{ command }}
</pre>
</div>
<div>
<b>{% trans 'Assets' %}:</b><br>
<ul>
{% for asset, url in assets_with_url %}
<li>
<a href="{{ url }}" target="_blank">{{ asset }}</a>
</li>
{% endfor %}
</ul>
</div>