generated from openedx/frontend-template-application
-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: modifying the base container in authn (#1153)
- Loading branch information
1 parent
60efe3c
commit 872aa48
Showing
8 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
======================================== | ||
Modifying the Base Container in Authn | ||
======================================== | ||
|
||
The base container in Authn serves as the fundamental layout structure for rendering different components based on configurations. This document outlines the process for modifying the base container to accommodate changes or customize layouts as needed. | ||
|
||
Understanding Base Container Versions | ||
-------------------------------------- | ||
|
||
The base container supports two main versions: | ||
|
||
- **Default Layout:** The default layout is the standard layout used when specific configurations do not dictate otherwise. | ||
.. image:: ../images/default_layout.png | ||
- **Image Layout:** The image layout is an alternative layout option that can be enabled based on configurations. | ||
.. image:: ../images/image_layout.png | ||
|
||
Enabling the Image Layout | ||
--------------------------- | ||
|
||
To activate the image layout feature, navigate to your .env file and update the configurations: | ||
|
||
**Update Configuration** | ||
|
||
Locate the ``ENABLE_IMAGE_LAYOUT`` parameter and set its value to ``true``. Additionally, ensure that the Image configuration settings are provided. Your overall configurations should resemble the following: | ||
|
||
|
||
.. code-block:: | ||
# ***** Image Layout Configuration ***** | ||
ENABLE_IMAGE_LAYOUT = True # Set to True to enable image layout feature | ||
# ***** Base Container Images ***** | ||
BANNER_IMAGE_LARGE='' # Path to the large banner image | ||
BANNER_IMAGE_MEDIUM='' # Path to the medium-sized banner image | ||
BANNER_IMAGE_SMALL='' # Path to the small banner image | ||
BANNER_IMAGE_EXTRA_SMALL='' # Path to the extra-small banner image | ||
This allows for the customization and adaptation of the base container layout according to specific requirements. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters