HIPAA, PCI-DSS 및 US Government와 같은 규제된 업계에서는 사용자 로그온 배너를 표시해야 합니다. RHOSP(Red Hat OpenStack Platform) 대시보드(horizon)는 Horizon 컨테이너 내부에 저장된 기본 주제(RCUE)를 사용합니다.
사용자 정의 대시보드 컨테이너 내에서 /usr/share/openstack-dashboard/openstack_dashboard/openstack_dashboard/themes/rcue/templates/auth/login.html 파일을 수동으로 편집하여 로그인 배너를 생성할 수 있습니다.
절차
{% 가 'auth/_login.html' %} 섹션 바로 앞에 필요한 로그온 배너를 입력합니다. HTML 태그를 사용할 수 있습니다.
<snip>
<div class="container">
<div class="row-fluid">
<div class="span12">
<div id="brand">
<img src="../../static/themes/rcue/images/RHOSP-Login-Logo.svg">
</div><!--/#brand-->
</div><!--/.span*-->
<!-- Start of Logon Banner -->
<p>Authentication to this information system reflects acceptance of user monitoring agreement.</p>
<!-- End of Logon Banner -->
{% include 'auth/_login.html' %}
</div><!--/.row-fluid→
</div><!--/.container-->
{% block js %}
{% include "horizon/_scripts.html" %}
{% endblock %}
</body>
</html>
<snip>
<div class="container">
<div class="row-fluid">
<div class="span12">
<div id="brand">
<img src="../../static/themes/rcue/images/RHOSP-Login-Logo.svg">
</div><!--/#brand-->
</div><!--/.span*-->
<!-- Start of Logon Banner -->
<p>Authentication to this information system reflects acceptance of user monitoring agreement.</p>
<!-- End of Logon Banner -->
{% include 'auth/_login.html' %}
</div><!--/.row-fluid→
</div><!--/.container-->
{% block js %}
{% include "horizon/_scripts.html" %}
{% endblock %}
</body>
</html>
Copy to ClipboardCopied!Toggle word wrapToggle overflow