jumpserver/webroot/AutoSa/templates/showSudo.html

19 lines
774 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{% extends 'base.html' %}
{% block content %}
<fieldset >
<legend>{{ username }}</legend>
<div class="alert alert-success" role="alert"><b>允许sudo的主机</b></div>允许sudo的主机
<ul class="list-group">
{% for host in sudoHost %}
<li class="list-group-item">{{ host }}</li>
{% endfor %}
</ul>
<br />
<div class="alert alert-success" role="alert"><b>允许的sudo命令</b></div>允许sudo的主机
<ul class="list-group">
{% for cmd in sudoCommand %}
<li class="list-group-item">{{ cmd }}</li>
{% endfor %}
</ul>
</fieldset>
{% endblock %}