Skip to content

Commit

Permalink
newest
Browse files Browse the repository at this point in the history
  • Loading branch information
nhattpn committed Apr 14, 2024
1 parent 22da3d1 commit a192c97
Show file tree
Hide file tree
Showing 143 changed files with 27,916 additions and 2,393 deletions.
1 change: 0 additions & 1 deletion Script/StudentProfile.tsx

This file was deleted.

10 changes: 10 additions & 0 deletions Script/login.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

const form = document.getElementById('form');

form.addEventListener('submit', function(e) {
// Prevent default behavior:
e.preventDefault();
// Create payload as new FormData object:
const payload = new FormData(form);
console.log([...payload]);
})
14 changes: 0 additions & 14 deletions User.js

This file was deleted.

16 changes: 1 addition & 15 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,7 @@
width: 70%;
border-radius: 25px;
}
#signin {
margin: 60px auto;
display: block;
width: 150px;
cursor: pointer;
text-decoration: none;
font-size: 20px;
font-weight: bold;
text-align: center;
border: 1px solid wheat;
border-radius: 15px;
background-color: rgb(13, 79, 133);
color: white;
padding: 20px;
}

#content {
margin: 30px auto;
display: block;
Expand Down
14 changes: 10 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,23 @@
<meta name="viewport" content="initial-scale=1, width=device-width" />
<title>MUT Education</title>
<link rel="stylesheet" href="./index.css" />
<script src="https://unpkg.com/react@18/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
</head>
<body>
<div class="part2">
<img id="logo" alt="" src="./Images/logo.png" />
<input type="text" class="pass" id="Username" placeholder="Username or email address"/>
<input type="text" class="pass" id="Password" placeholder="Password"/>
<a href="./HTML/FirstPage.html" id="signin">SIGN IN</a>
<form id="form" class="text-center">
<input type="text" class="pass" id="Username" name="username" placeholder="Username or email address">
<input type="password" class="pass" id="Password" name="password" placeholder="Password">
<button class="btn btn-default bg-secondary btn-lg" type="submit">signin</button>
</form>
<p id="content">
Nếu bạn không thuộc bộ phận của trường, hãy đăng nhập bằng tài khoản
<i id="khach">khách</i>.
</p>
</div>
<script src="./Script/login.js"></script>
</body>
</html>
</html>
86 changes: 0 additions & 86 deletions index.js

This file was deleted.

71 changes: 71 additions & 0 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions node_modules/asynckit/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a192c97

Please sign in to comment.