Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.33 KB | None | 0 0
  1. <!DOCTYPE html><html lang="en-US"><head>
  2. <base href="https://fs3.vinci-energies.net/adfs/ls/?lc=1036&amp;client-request-id=8dbde363-dfa6-41d8-bccb-bdb7f7bfeaa5&amp;wa=wsignin1.0&amp;wtrealm=urn%3afederation%3aMicrosoftOnline"/><meta http-equiv="X-UA-Compatible" content="IE=10.000"/><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/><meta http-equiv="content-type" content="text/html;charset=UTF-8"/><meta http-equiv="cache-control" content="no-cache,no-store"/><meta http-equiv="pragma" content="no-cache"/><meta http-equiv="expires" content="-1"/><meta name="mswebdialog-title" content="Connecting to Authentication service"/>
  3. <title>Connexion</title>
  4. <script type="text/javascript">
  5.  
  6. function LoginErrors(){this.userNameFormatError = 'Entrez votre ID d\u0026#39;utilisateur au format \u0026#171; domaine\\utilisateur \u0026#187; ou \u0026#171; utilisateur@domaine \u0026#187;.'; this.passwordEmpty = 'Entrez votre mot de passe.'; this.passwordTooLong = 'Le mot de passe doit contenir moins de 128 caract\u0026#232;res.';}; var maxPasswordLength = 128;
  7.  
  8. </script><script type="text/javascript">
  9.  
  10.  
  11. function InputUtil(errTextElementID, errDisplayElementID) {
  12.  
  13. if (!errTextElementID) errTextElementID = 'errorText';
  14. if (!errDisplayElementID) errDisplayElementID = 'error';
  15.  
  16. this.hasFocus = false;
  17. this.errLabel = document.getElementById(errTextElementID);
  18. this.errDisplay = document.getElementById(errDisplayElementID);
  19. };
  20. InputUtil.prototype.canDisplayError = function () {
  21. return this.errLabel && this.errDisplay;
  22. }
  23. InputUtil.prototype.checkError = function () {
  24. if (!this.canDisplayError){
  25. throw new Error ('Error element not present');
  26. }
  27. if (this.errLabel && this.errLabel.innerHTML) {
  28. this.errDisplay.style.display = '';
  29. var cause = this.errLabel.getAttribute('for');
  30. if (cause) {
  31. var causeNode = document.getElementById(cause);
  32. if (causeNode && causeNode.value) {
  33. causeNode.focus();
  34. this.hasFocus = true;
  35. }
  36. }
  37. }
  38. else {
  39. this.errDisplay.style.display = 'none';
  40. }
  41. };
  42. InputUtil.prototype.setInitialFocus = function (input) {
  43. if (this.hasFocus) return;
  44. var node = document.getElementById(input);
  45. if (node) {
  46. if ((/^\s*$/).test(node.value)) {
  47. node.focus();
  48. this.hasFocus = true;
  49. }
  50. }
  51. };
  52. InputUtil.prototype.setError = function (input, errorMsg) {
  53. if (!this.canDisplayError) {
  54. throw new Error('Error element not present');
  55. }
  56. input.focus();
  57.  
  58. if (errorMsg) {
  59. this.errLabel.innerHTML = errorMsg;
  60. }
  61. this.errLabel.setAttribute('for', input.id);
  62. this.errDisplay.style.display = '';
  63. };
  64. InputUtil.makePlaceholder = function (input) {
  65. var ua = navigator.userAgent;
  66.  
  67. if (ua != null &&
  68. (ua.match(/MSIE 9.0/) != null ||
  69. ua.match(/MSIE 8.0/) != null ||
  70. ua.match(/MSIE 7.0/) != null)) {
  71. var node = document.getElementById(input);
  72. if (node) {
  73. var placeholder = node.getAttribute("placeholder");
  74. if (placeholder != null && placeholder != '') {
  75. var label = document.createElement('input');
  76. label.type = "text";
  77. label.value = placeholder;
  78. label.readOnly = true;
  79. label.style.position = 'absolute';
  80. label.style.borderColor = 'transparent';
  81. label.className = node.className + ' hint';
  82. label.tabIndex = -1;
  83. label.onfocus = function () { this.nextSibling.focus(); };
  84.  
  85. node.style.position = 'relative';
  86. node.parentNode.style.position = 'relative';
  87. node.parentNode.insertBefore(label, node);
  88. node.onkeyup = function () { InputUtil.showHint(this); };
  89. node.onblur = function () { InputUtil.showHint(this); };
  90. node.style.background = 'transparent';
  91.  
  92. node.setAttribute("placeholder", "");
  93. InputUtil.showHint(node);
  94. }
  95. }
  96. }
  97. };
  98. InputUtil.focus = function (inputField) {
  99. var node = document.getElementById(inputField);
  100. if (node) node.focus();
  101. };
  102. InputUtil.hasClass = function(node, clsName) {
  103. return node.className.match(new RegExp('(\\s|^)' + clsName + '(\\s|$)'));
  104. };
  105. InputUtil.addClass = function(node, clsName) {
  106. if (!this.hasClass(node, clsName)) node.className += " " + clsName;
  107. };
  108. InputUtil.removeClass = function(node, clsName) {
  109. if (this.hasClass(node, clsName)) {
  110. var reg = new RegExp('(\\s|^)' + clsName + '(\\s|$)');
  111. node.className = node.className.replace(reg, ' ');
  112. }
  113. };
  114. InputUtil.showHint = function (node, gotFocus) {
  115. if (node.value && node.value != '') {
  116. node.previousSibling.style.display = 'none';
  117. }
  118. else {
  119. node.previousSibling.style.display = '';
  120. }
  121. };
  122.  
  123. </script>
  124. <link href="/adfs/portal/css/style.css?id=DBC0B4741D4217A138377E7BCC747D0D30B93B979DC99146E4C4016785BA8C42" rel="stylesheet" type="text/css"/>
  125. <style type="text/css">.illustrationClass {background-image:url(/adfs/portal/illustration/illustration.jpg?id=42C1F06DB49DDFDE3500A4AB6A29853669CB28F9A09483357B3F69E8726F1198);}
  126. </style>
  127. </head>
  128. <body class="body" dir="ltr">
  129. <div id="noScript" style="position:static; width:100%; height:100%; z-index:100">
  130. <h1>JavaScript required</h1>
  131.  
  132. <p>JavaScript is required. This web browser does not support JavaScript or JavaScript in this web browser is not enabled.</p>
  133.  
  134. <p>To find out if your web browser supports JavaScript or to enable JavaScript, see web browser help.</p>
  135. </div>
  136. <script type="text/javascript" language="JavaScript">
  137. document.getElementById("noScript").style.display = "none";
  138. </script>
  139.  
  140. <div id="fullPage">
  141. <div class="float" id="brandingWrapper">
  142. <div id="branding"> </div>
  143. </div>
  144.  
  145. <div class="float" id="contentWrapper">
  146. <div id="content">
  147. <div id="header"><img alt="Authentication service" class="logoImage" src="/adfs/portal/logo/logo.png?id=1B38147CC3256D954C31E499C08E6EE424771F68FBD3801DFCB34907DA9BF225"/></div>
  148.  
  149. <div id="workArea">
  150. <div class="groupMargin" id="authArea">
  151. <div id="loginArea">
  152. <div class="groupMargin" id="loginMessage">Connexion avec votre compte professionnel</div>
  153.  
  154. <form action="" autocomplete="off" id="loginForm" method="post" novalidate="novalidate" onkeypress="if (event &amp;&amp; event.keyCode == 13) Login.submitLoginRequest();"><input name="__original_url" type="hidden" value="https://fs3.vinci-energies.net/adfs/ls/?lc=1036&amp;client-request-id=8dbde363-dfa6-41d8-bccb-bdb7f7bfeaa5&amp;wa=wsignin1.0&amp;wtrealm=urn%3afederation%3aMicrosoftOnline/adfs/ls/?lc=1036&amp;client-request-id=8dbde363-dfa6-41d8-bccb-bdb7f7bfeaa5&amp;wa=wsignin1.0&amp;wtrealm=urn%3afederation%3aMicrosoftOnline"/>
  155. <div class="fieldMargin error smallText" id="error"> </div>
  156.  
  157. <div id="formsAuthenticationArea">
  158. <div id="userNameArea"><input autocomplete="off" class="text fullWidth" id="userNameInput" name="UserName" placeholder="someone@example.com" spellcheck="false" tabindex="1" type="email" value=""/></div>
  159.  
  160. <div id="passwordArea"><input autocomplete="off" class="text fullWidth" id="passwordInput" placeholder="Mot de passe" tabindex="2" type="password"/></div>
  161.  
  162. <div id="kmsiArea" style="display:none"><input id="kmsiInput" name="Kmsi" tabindex="3" type="checkbox" value="true"/> <label for="kmsiInput">Maintenir la connexion</label></div>
  163.  
  164. <div class="submitMargin" id="submissionArea"><span class="submit" id="submitButton" onclick="return Login.submitLoginRequest();" onkeypress="if (event &amp;&amp; event.keyCode == 32) Login.submitLoginRequest();" tabindex="4">Connexion</span></div>
  165. </div>
  166. <input id="optionForms" name="AuthMethod" type="hidden" value="FormsAuthentication"/> </form>
  167.  
  168. <div id="authOptions">
  169. <form action="" id="options" method="post"><input name="__original_url" type="hidden" value="https://fs3.vinci-energies.net:443/adfs/ls/?lc=1036&amp;client-request-id=8dbde363-dfa6-41d8-bccb-bdb7f7bfeaa5&amp;wa=wsignin1.0&amp;wtrealm=urn%3afederation%3aMicrosoftOnline"/> <script type="text/javascript">
  170. function SelectOption(option) {
  171. var i = document.getElementById('optionSelection');
  172. i.value = option;
  173. document.forms['options'].submit();
  174. return false;
  175. }
  176. </script> <input id="optionSelection" name="AuthMethod" type="hidden"/>
  177. <div class="groupMargin"> </div>
  178. </form>
  179. </div>
  180.  
  181. <div class="groupMargin" id="introduction"> </div>
  182. <script type="text/javascript">
  183.  
  184.  
  185. function Login() {
  186. }
  187.  
  188. Login.userNameInput = 'userNameInput';
  189. Login.passwordInput = 'passwordInput';
  190.  
  191. Login.initialize = function () {
  192.  
  193. var u = new InputUtil();
  194.  
  195. u.checkError();
  196. u.setInitialFocus(Login.userNameInput);
  197. u.setInitialFocus(Login.passwordInput);
  198. }();
  199.  
  200. Login.submitLoginRequest = function () {
  201. var u = new InputUtil();
  202. var e = new LoginErrors();
  203.  
  204. var userName = document.getElementById(Login.userNameInput);
  205. var password = document.getElementById(Login.passwordInput);
  206.  
  207. if (!userName.value || !userName.value.match('[@\\\\]')) {
  208. u.setError(userName, e.userNameFormatError);
  209. return false;
  210. }
  211.  
  212. if (!password.value) {
  213. u.setError(password, e.passwordEmpty);
  214. return false;
  215. }
  216.  
  217. if (password.value.length > maxPasswordLength) {
  218. u.setError(password, e.passwordTooLong);
  219. return false;
  220. }
  221.  
  222. document.forms['loginForm'].submit();
  223. return false;
  224. };
  225.  
  226. InputUtil.makePlaceholder(Login.userNameInput);
  227. InputUtil.makePlaceholder(Login.passwordInput);
  228.  
  229. </script></div>
  230. </div>
  231. </div>
  232.  
  233. <div id="footerPlaceholder"> </div>
  234. </div>
  235.  
  236. <div id="footer">
  237. <div class="floatReverse" id="footerLinks">
  238. <div><span id="copyright">© 2013 Microsoft</span></div>
  239. </div>
  240. </div>
  241. </div>
  242. </div>
  243. <script type="text/javascript">
  244.  
  245.  
  246.  
  247.  
  248. document.getElementById("userNameInput").placeholder="xyz.xyz@vinci-energies.net";
  249.  
  250.  
  251. "use strict";
  252.  
  253.  
  254.  
  255. if (navigator.userAgent.match(/iPhone/i) != null) {
  256. var emails = document.querySelectorAll("input[type='email']");
  257. if (emails) {
  258. for (var i = 0; i < emails.length; i++) {
  259. emails[i].type = 'text';
  260. }
  261. }
  262. }
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269. if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
  270. var msViewportStyle = document.createElement("style");
  271. msViewportStyle.appendChild(
  272. document.createTextNode(
  273. "@-ms-viewport{width:auto!important}"
  274. )
  275. );
  276. msViewportStyle.appendChild(
  277. document.createTextNode(
  278. "@-ms-viewport{height:auto!important}"
  279. )
  280. );
  281. document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
  282. }
  283.  
  284.  
  285. if (window.innerWidth && window.outerWidth && window.innerWidth !== window.outerWidth) {
  286. var viewport = document.querySelector("meta[name=viewport]");
  287. viewport.setAttribute('content', 'width=' + window.innerWidth + 'px; initial-scale=1.0; maximum-scale=1.0');
  288. }
  289.  
  290.  
  291. function getStyle(element, styleProp) {
  292. var propStyle = null;
  293.  
  294. if (element && element.currentStyle) {
  295. propStyle = element.currentStyle[styleProp];
  296. }
  297. else if (element && window.getComputedStyle) {
  298. propStyle = document.defaultView.getComputedStyle(element, null).getPropertyValue(styleProp);
  299. }
  300.  
  301. return propStyle;
  302. }
  303.  
  304.  
  305.  
  306.  
  307.  
  308. var computeLoadIllustration = function () {
  309. var branding = document.getElementById("branding");
  310. var brandingDisplay = getStyle(branding, "display");
  311. var brandingWrapperDisplay = getStyle(document.getElementById("brandingWrapper"), "display");
  312.  
  313. if (brandingDisplay && brandingDisplay !== "none" &&
  314. brandingWrapperDisplay && brandingWrapperDisplay !== "none") {
  315. var newClass = "illustrationClass";
  316.  
  317. if (branding.classList && branding.classList.add) {
  318. branding.classList.add(newClass);
  319. } else if (branding.className !== undefined) {
  320. branding.className += " " + newClass;
  321. }
  322. if (window.removeEventListener) {
  323. window.removeEventListener('load', computeLoadIllustration, false);
  324. window.removeEventListener('resize', computeLoadIllustration, false);
  325. }
  326. else if (window.detachEvent) {
  327. window.detachEvent('onload', computeLoadIllustration);
  328. window.detachEvent('onresize', computeLoadIllustration);
  329. }
  330. }
  331. };
  332.  
  333. if (window.addEventListener) {
  334. window.addEventListener('resize', computeLoadIllustration, false);
  335. window.addEventListener('load', computeLoadIllustration, false);
  336. }
  337. else if (window.attachEvent) {
  338. window.attachEvent('onresize', computeLoadIllustration);
  339. window.attachEvent('onload', computeLoadIllustration);
  340. }
  341.  
  342.  
  343. </script>
  344.  
  345.  
  346. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement