Use the TAS Manager Console or the TAS Manager Web UI Manage Homepage to add custom HTML panels on the Landslide Homepage. Users can add up to three custom messages (Top left, Top right and Bottom left sections of the homepage) which can be used to provide internal information to their Landslide Homepage.
A single HTML file that fully contains the panel must be used. It needs to be small enough to fit in the spaces allocated. Images must be referenced to external servers or else fully embedded in the HTML. To include an image into the html, use an image with data url : <img src="data:image/png;base64,STRING" />.
Reference: What are Data URLs (flaviocopes.com).
The height is set to 350 pixels and the width will be 100% of the container: section.style.height = 350 + "px";
section.style.width = "100%";
To add up to 3 custom messages on the Homepage:
Select System > Manage Homepage from the TAS Console menu or select TAS Manager Web UI | Actions | Manage Homepage , the modal `Manage Homepage`will be displayed:
The modal contains 2 parts. 1. Html Files on TAS: the panel located on north of the modal. Users can use this panel to manage the html files on the TAS. Click Browse to upload a new Html File. When a row is selected from the table within the panel, the Delete button underneath will be enabled. Click to delete the selected HTML file. 2. Home Page Position panel: The Panel located on south of the modal. This panel contains 4 different subpanels. Each subpanel represents a pluggable location on TAS home page. The Mapping relationship is as follows:
Each subpanel contains 2 buttons.The Install button is enabled when the user makes a selection on a Html file in the TAS table. The selected html file will be installed to the corresponding position on the home page. Remove button is enabled when the corresponding location is occupied. It allows for removal of an occupied html message.