사용자 정의 대시보드 컨테이너에서 /usr/share/openstack-dashboard/openstack_dashboard/openstack_dashboard/ groupss/rcue/templates/auth/login.html 파일을 수동으로 편집하여 로그 배너를 생성할 수 있습니다.
{% include '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