Select to view content in your preferred language

Web Map with Sign in popup, Can I change its style?

937
3
05-02-2017 04:02 PM
PitDev
by
Emerging Contributor

I have a Web Map that including both Google Map and ArcGIS Online map.

Google map is open to everyone however ArcGIS Web Map is allowed to user who has proper ID and Password.

Each time one get to the web page, Web Map creates full screen sign in form like attached image. (Image: Top of google map, Web Map sign in form appear)

Its style is broken because my current CSS is overwriting its own CSS and full screen make not usable the page until clock 'Cancel'.

Is it possible to make sign in form only exists on Web Map or other styling options such as little pop up, not full screen pop up?

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

The image you have attached is normal when you have failed to define all the css files you need and set the html body class to claro or another dojo theme class.

i.e.

<link rel="stylesheet" href="http://js.arcgis.com/3.20/esri/css/esri.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.20/dijit/themes/claro/claro.css">

<body class="claro">

0 Kudos
PitDev
by
Emerging Contributor

Thank you Robert,

I misplaced <body class="claro"> and after I modified it, it appear correctly.

However, around sign-in form, it grey out entire page so I can't click other menus.

I am thinking this situation -- user get this map page and realized not sure their ID/PW, then might want to go to different page.

Currently, user must click X or Cancel button to do this. And I am wondering if grey out area can be disabled.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

The identitityManager is a modal form (it is intended to prevent users from interacting until sign-in occurs).

0 Kudos