:orphan:

=================================================
Adding custom banners to Package Security Manager
=================================================

If desired, you can add custom header and footer messages to your instance of Package Security Manager UI, then configure them using environment variables. 

Adding the banners to Package Security Manager
==============================================

.. I AM SURE THAT THE ENGINEERING TEAM WILL COME UP WITH SOMETHIHNG TO PUT HERE

Editing the banners
===================

#. Connect to your instance of Anaconda Sever. Get help from your IT administrator with this step if necessary.
#. Enter your Package Security Manager base installer directory.
#. Using your preferred file editor, open the ``docker-compose.yml`` file.
#. Find the ``environment:`` section of the file, and :ref:`configure your header and footer <banner_configs>` as desired. 
#. Save your changes and close the file.
#. Restart your containers by running the following command: 

   .. code-block:: none

       docker compose up --detach 

.. _banner_configs:

Banner configurations
=====================

Add or remove the following variables to the ``environment:`` section of your ``docker-compose.yml`` file to configure your banners. You can use ``HTML`` and ``CSS`` to further customize the variables. For example, you can use ``HTML`` formatting tags such as ``<br>`` add a line break to your header.

.. caution:: 
    
    The header and footer messages must contain a valid ``HTML`` string. 

.. csv-table:: 
   :file: ../img/banners.csv
   :widths: 33, 67
   :header-rows: 1