Skip to content

Commit

Permalink
fix: css issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DushanSenadheera committed Jan 7, 2024
1 parent 830dd5a commit 6766f77
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 27 deletions.
4 changes: 4 additions & 0 deletions client/src/components/AdminSignIn/AdminSignIn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ const AdminSignIn = () => {
<br />
<input type="password" name="password" placeholder="Password" required />
<br />
<a href="/admin">
<div>
<input type="submit" value="Sign In" className="sign-in-btn" />
</div>
</a>
</form>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions client/src/components/Home/Home.css
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ textarea{
padding: 12px;
}

/* .premiering-movies{
display: wrap;
flex-wrap: wrap;
} */
.premiering-movies{
display: flex;
flex-direction: column;
}

}
1 change: 1 addition & 0 deletions client/src/components/Register/Register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const Register = () => {
<div className="bg">
<div className="sign-in">
<div className="sign-in-form">
<br />
<h1>Register</h1>
<form onSubmit={handleUserRegistration}>
<div className="name">
Expand Down
1 change: 1 addition & 0 deletions client/src/components/SignIn/Signin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const SignIn = () => {
<div className="bg">
<div className="sign-in">
<div className="sign-in-form">
<br />
<h1>Sign In</h1>
<form onSubmit={handleUserLogin}>
<input type="text" name="email" placeholder="Email" required />
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Admin/Admin_Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Admin_Layout() {
<div className="Admin-img-n-name">
<img src={Admin_img} alt="Admin" className="Admin-img" />
<div className="admin-name">
<span>Amitha Gamagedara</span>
<span>Jhon Doe</span>
</div>
</div>
</div>
Expand Down
9 changes: 5 additions & 4 deletions client/src/pages/Profile/Profile-Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ function Profile() {
<div className="bg">
<div className="sign-in">
<div className="sign-in-form">
<br />
<h1>Edit Profile</h1>
<form>
<div className="name">
<input type="text" name="fname" value="Ashan" placeholder="First Name" disabled />
<input type="text" name="lname" value="Herath" placeholder="Last Name" disabled />
<input type="text" name="fname" value="Jhon" placeholder="First Name" disabled />
<input type="text" name="lname" value="Doe" placeholder="Last Name" disabled />
</div>
<br />
<input type="email" name="email" value="ashandimanthalk@gmail.com" placeholder="Email" disabled />
<input type="email" name="email" value="jhon@gmail.com" placeholder="Email" disabled />
<br />
<input type="tel" name="mobile" value="0713112927" placeholder="Mobile" />
</form>
<div className='btns'>
<a href="">
<a href="/profile">
<input type="submit" value="Update Profile" className="sign-in-btn" />
</a>
<br />
Expand Down
25 changes: 7 additions & 18 deletions client/src/pages/Profile/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@ function Profile() {
<div className="bg">
<div className="sign-in">
<div className="sign-in-form">
<br />
<h1>Your Profile</h1>
<form>
<div className="name">
<input type="text" name="fname" value="Ashan" placeholder="First Name" disabled />
<input type="text" name="lname" value="Herath" placeholder="Last Name" disabled />
<input type="text" name="fname" value="Jhon" placeholder="First Name" disabled />
<input type="text" name="lname" value="Doe" placeholder="Last Name" disabled />
</div>
<br />
<input type="email" name="email" value="ashandimanthalk@gmail.com" placeholder="Email" disabled />
<input type="email" name="email" value="jhon@gmail.com" placeholder="Email" disabled />
<br />
<input type="tel" name="mobile" value="0713112927" placeholder="Mobile" disabled />
<input type="tel" name="mobile" value="0751231234" placeholder="Mobile" disabled />
</form>
<div className='btns'>
<a href="/bookinghistory">
Expand All @@ -44,23 +45,11 @@ function Profile() {
<input type="submit" value="Edit Profile" className="del-acc-btn" />
</a>
</div>
<br />
<input type="email" name="email" value={profile.email} placeholder="Email" disabled />
<br />
<input type="tel" name="mobile" value={profile.mobile} placeholder="Mobile" disabled />

<div className='btns'>
<a href="">
<input type="submit" value="Seat Booking History" className="sign-in-btn" />
</a>
<br />
<a href="">
<input type="submit" value="Profile Settings" className="del-acc-btn" />
</a>

</div>
</div>
</div>
</div>

)
}

Expand Down

0 comments on commit 6766f77

Please sign in to comment.