Advertisement
Guest User

Login

a guest
Jul 17th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.48 KB | None | 0 0
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
  2.  
  3. <!DOCTYPE html>
  4. <html>
  5.  
  6. <head>
  7. <title>Login</title>
  8. <!-- CDN SWEET ALERT -->
  9. <script src="https://cdn.jsdelivr.net/npm/sweetalert2@8"></script>
  10. <!-- CDN BOOTSTRAP -->
  11. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
  12. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  13. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" integrity="sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP" crossorigin="anonymous">
  14. <style>
  15. body,
  16. html {
  17. margin: 0;
  18. padding: 0;
  19. height: 100%;
  20. background: #60a3bc !important;
  21. }
  22. .user_card {
  23. height: auto;
  24. width: 440px;
  25. margin-top: auto;
  26. margin-bottom: auto;
  27. background: lightskyblue; /* #f39c12 */
  28. position: relative;
  29. display: flex;
  30. justify-content: center;
  31. flex-direction: column;
  32. padding: 10px;
  33. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  34. -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  35. -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  36. border-radius: 5px;
  37.  
  38. }
  39. .brand_logo_container {
  40. position: absolute;
  41. height: 140px;
  42. width: 140px;
  43. /* top: -75px; */
  44. border-radius: 50%;
  45. background: #60a3bc;
  46. padding: 10px;
  47. text-align: center;
  48. }
  49. .brand_logo {
  50. height: 120px;
  51. width: 120px;
  52. border-radius: 50%;
  53. border: 2px solid white;
  54. }
  55. .form_container {
  56. margin-top: 170px;
  57. }
  58. .login_btn {
  59. width: 75%;
  60. background-color: #c0392b;
  61. border: none;
  62. color: white;
  63. text-align: center;
  64. font-size: 16px;
  65. opacity: 1;
  66. transition: 0.3s;
  67. }
  68. .login_btn:hover {
  69. opacity: 0.6;
  70. }
  71. .login_btn:focus {
  72. box-shadow: none !important;
  73. outline: 0px !important;
  74. }
  75. .login_container {
  76. padding: 0 2rem;
  77. }
  78. .input-group-text {
  79. background: #c0392b !important;
  80. color: white !important;
  81. border: 0 !important;
  82. border-radius: 0.25rem 0 0 0.25rem !important;
  83. }
  84. .input_user,
  85. .input_pass:focus {
  86. box-shadow: none !important;
  87. outline: 0px !important;
  88. }
  89. .custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  90. background-color: #c0392b !important;
  91. }
  92. .input-group-text:hover {
  93. opacity: 0.6;
  94. }
  95. </style>
  96. </head>
  97.  
  98. <body>
  99. <div class="container h-100">
  100. <div class="d-flex justify-content-center h-100">
  101. <div class="user_card">
  102. <div class="d-flex justify-content-center">
  103. <div class="brand_logo_container">
  104. <img src="SRB_logo.png" class="brand_logo" alt="Logo">
  105. </div>
  106. </div>
  107. <div class="d-flex justify-content-center form_container">
  108. <form>
  109. <div class="input-group mb-3">
  110. <div class="input-group-append">
  111. <span class="input-group-text"><i class="fas fa-user"></i></span>
  112. </div>
  113. <input type="text" name="" class="form-control input_user" value="" placeholder="username">
  114. </div>
  115. <div class="input-group mb-2">
  116. <div class="input-group-append">
  117. <span class="input-group-text"><i class="fas fa-key"></i></span>
  118. </div>
  119. <input type="password" name="" class="form-control input_pass" value="" placeholder="password">
  120. </div>
  121. <div class="form-group">
  122. <div class="custom-control custom-checkbox">
  123. <input type="checkbox" class="custom-control-input" id="customControlInline">
  124. <label class="custom-control-label" for="customControlInline">Ricorda credenziali</label>
  125. </div>
  126. </div>
  127. </form>
  128. </div>
  129. <div class="d-flex justify-content-center mt-3 login_container">
  130. <button type="button" name="button" class="btn login_btn">Accedi</button>
  131. </div>
  132. <div class="mt-4">
  133. <div class="d-flex justify-content-center links">
  134. Non hai un account? <a href="Test2.aspx" class="ml-2">Registrati</a>
  135. </div>
  136. <div class="d-flex justify-content-center links">
  137. <!-- <a href="#">Hai dimenticato la password?</a> -->
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. </body>
  144. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement