Advertisement
akuyab

UAS API

Jan 16th, 2022
935
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <head>
  3.     <title>LOGIN PAGE UAS API</title>
  4.     <link rel="stylesheet" type="text/css" href="csslogin.css">
  5.     <meta name="google-signin-client_id" content="1031968977131-p9j7c4fk6nudkq8iu1ci8um9mh0md7i2.apps.googleusercontent.com">
  6. </head>
  7. <body>
  8. <div class="header">
  9.     <img src="header.jpg" width="100%"  >
  10.     <!--script>
  11.                 function user() {
  12.                 window.location = "https://www.detik.com/"
  13.                 }
  14.             </script-->
  15.  </div>
  16.  <div class="judul" align="center">
  17.     <form>
  18.     <h2>AKSES SISTEM</h2>
  19.     <h3>Aplikasi Kemahasiswaan </h3>
  20.     </form>
  21.  </div>
  22.  <div class="kotak_login"> 
  23.         <form name="login" action="index.php" method="post">
  24.             <label>User Name    </label><input type="text" name="username" class="form_login" placeholder="Username atau email .." ><br>
  25.             <label>Password      </label><input type="password" name="password" class="form_login" placeholder="Password .." >
  26.             <center>
  27.             <input type="submit" class="tombol_login" value="LOGIN"><br>
  28.             <div id="gSignin" name="googleapi" style="padding-top: 10px;" ></div>
  29.     <script>
  30.       function onSuccess(googleUser) {
  31.         console.log('Logged in as: ' + googleUser.getBasicProfile().getName());
  32.       }
  33.       function onFailure(error) {
  34.         console.log(error);
  35.       }
  36.       function renderButton() {
  37.         gapi.signin2.render('gSignin', {
  38.           'scope': 'profile email',
  39.           'width': 210,
  40.           'height': 50,
  41.           'longtitle': true,
  42.           'theme': 'dark',
  43.           'onsuccess': onSuccess,
  44.           'onfailure': onFailure
  45.         });
  46.       }
  47.     </script>
  48.   <script src="https://apis.google.com/js/platform.js?onload=renderButton" async defer></script>
  49.         </center>
  50.         </form>
  51.  </div>
  52.  <div class="footer" >
  53.             <h4>@Copyright 143219047_BFB_TIF5MALAM</h4>
  54.  </div>
  55. </body>
  56. <!--script type="text/javascript">
  57. function Login(){
  58. var done=0
  59. var username=document.login.username.value
  60. var password=document.login.password.value;
  61. if (username=="bayu" && password=="123") {alert(password);  }
  62. else
  63. if (done==0) { alert("User & Password Salah !"); }
  64. }
  65. </script-->
  66. </html>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement