Files
jumpserver/webroot/AutoSa/templates/showSudo.html
2014-10-08 12:03:10 +08:00

19 lines
774 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% 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 %}