UNPKG

@gip-recia/extended-uportal-header

Version:

a component to deport the uPortal menu

36 lines (35 loc) 934 B
<!DOCTYPE html> <html lang=""> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Prolongation ent</title> <style> html { height: 100%; overflow: hidden; } body { margin: 0; background: black; color: #ffffff; height: 100%; overflow: hidden; position: relative; } </style> </head> <body> <extended-uportal-header fname="demo" debug > <div slot="not-loaded">NOT LOADED</div> </extended-uportal-header> <script type="text/javascript"> const extUpHeader = document.querySelector('extended-uportal-header'); extUpHeader.setAttribute('domain', `${window.document.domain}:3000`) extUpHeader.setAttribute('switch-org-portlet-url', `http://${window.document.domain}:3000/switch-org`) </script> </body> </html>