This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Ben Coleman edited this page Oct 10, 2015
·
6 revisions
Go to CSA admin console and click into the 'Organisations' tile. Select the organisation you want to add the widget to, and click; Dashboard Widgets -> Add Mashup. See below:
Open the HTML file for the widget you want in a text editor, copy and paste the content of the html file into the "Add Mashup Widget" dialog box. See below:
Note. You will have to log out and back into the relevant organisation consumer portal for changes to take effect
- Create a folder named 'quotas' in the following location: *{csa_base_dir}\portal\node_modules\mpp-ui\dist\quotas* Place the quota text files in this folder. This repo contains some examples inside the quotas folder
- quotas\defaults.txt – CSA system wide quota. Must have at least this file in place
- quotas\{org_name}.txt – Override quotas for specified CSA organisation. Ignored if file not found
- quotas\{username}.txt – Override quotas for specified user. Ignored if file not found
- Place the two JavaScript files jquery.flot.js and jquery.flot.pie.js found in the scripts folder into {csa_base_dir}\portal\node_modules\mpp-ui\dist\scripts
- Place the four JavaScript files jquery.flot.js, jquery.flot.categories.js, jquery.flot.stack.js and jquery.flot.resize.js found in the scripts folder into {csa_base_dir}\portal\node_modules\mpp-ui\dist\scripts
- Place the two JavaScript files jquery.flot.js and jquery.flot.pie.js found in the scripts folder into {csa_base_dir}\portal\node_modules\mpp-ui\dist\scripts
- Create a folder named generic_widget in the location: *{csa_base_dir}\portal\node_modules\mpp-ui\dist* and place the XML file 'generic_input.xml' parsed by the widget in this folder.
- This widget will also read 'vmwareLogo.jpg' from this same directory
- This repo contains an example folder containing both files
- It is assumed that some external process or workflow updates the generic_input.xml file periodically, this is not done by the widget