이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 5. Customizing the Dashboard


The look and feel of the OpenStack dashboard can be customized using the settings defined in /openstack-dashboard/openstack_dashboard/local/local_settings.py. You can customize the following elements of the dashboard:

  • HTML title
  • Site branding link
  • Help URL

In addition, you can create a custom theme and further customize the look and feel of the dashboard, including the following components:

  • Logo
  • Site colors
  • Stylesheets
Note

The OpenStack dashboard installs a default theme. If you do not want to use this theme, remove it using the following commands:

# cd /usr/share/openstack-dashboard/openstack_dashboard/enabled
# cp _99_customization.py _999_remove_theme.py
# echo "DISABLED = True" >> _999_remove_theme.py
# systemctl restart httpd
Copy to Clipboard Toggle word wrap

For a director deployment, you will need to log in to each controller node as heat-admin to make the changes.

5.1. Logo, Site Colors, and Stylesheets

  1. Copy the entire RCUE theme directory /usr/share/openstack-dashboard/openstack_dashboard/themes/rcue to a new location, for example /usr/share/openstack-dashboard/openstack_dashboard/themes/mytheme.
  2. Create a new file /etc/openstack-dashboard/local_settings.d/_12_mytheme_theme.py and add the following line:

    AVAILABLE_THEMES = [('mytheme', 'My Custom Theme', 'themes/mytheme')]
    Copy to Clipboard Toggle word wrap
  3. Change all paths inside /usr/share/openstack-dashboard/openstack_dashboard/themes/mytheme/static/ replacing rcue with the new mytheme name.

    To change a theme's colors, graphics, fonts, among others, edit the files in `/usr/share/openstack-dashboard/openstack_dashboard/themes/mytheme`.
    Copy to Clipboard Toggle word wrap
  4. If you deployed OpenStack with High Availability, restart the httpd service using pacemaker:

    # pcs resource restart httpd-clone
    Copy to Clipboard Toggle word wrap

    Otherwise, run:

    # systemctl restart httpd
    Copy to Clipboard Toggle word wrap

To view your changes, reload your dashboard.

5.2. HTML Title

  1. To set the HTML title that appears at the top of the browser window, add the following line to local_settings.py.

    SITE_BRANDING = "Example, Inc. Cloud"
    Copy to Clipboard Toggle word wrap
  2. Restart the httpd server.

5.4. Help URL

  1. By default the help URL points to https://access.redhat.com/documentation/en/red-hat-openstack-platform. You can change the help URL by editing the following attribute to the URL of your choice in local_settings.py:

    'help_url': "http://openstack.example.com",
    Copy to Clipboard Toggle word wrap
  2. Restart the httpd server.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat