did more with login
This commit is contained in:
@@ -5,20 +5,43 @@
|
||||
<script runat="server">
|
||||
|
||||
</script>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<style>
|
||||
body, html {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
.centered-div {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
background-color: #333; /* Optional: in case you want a background color */
|
||||
}
|
||||
.login-form {
|
||||
text-align: center;
|
||||
width: 100%; /* You might want to set a max-width here */
|
||||
}
|
||||
.login-form h1, .login-form label {
|
||||
color: white; /* This ensures your text is white as specified */
|
||||
}
|
||||
</style>
|
||||
<title>Login</title>
|
||||
</head>
|
||||
<body style="background-color: #0f0f0f">
|
||||
<form id="Login" runat="server">
|
||||
<div style="horiz-align: center; width: 100%">
|
||||
<label for="Username" style="color: white">Username:</label>
|
||||
<asp:TextBox ID="Username" runat="server"></asp:TextBox><br/>
|
||||
<label for="Password" style="color: white">Password:</label>
|
||||
<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox><br/>
|
||||
<asp:Button ID="LoginButton" runat="server" Text="Login" OnClick="LoginButton_Click" />
|
||||
</div>
|
||||
<div class="centered-div">
|
||||
<div class="login-form">
|
||||
<h1 style="color: white">Login to Lewis' Pharmacy</h1>
|
||||
|
||||
<label for="Username" style="color: white">Username:</label>
|
||||
<asp:TextBox ID="Username" runat="server"></asp:TextBox><br/>
|
||||
<label for="Password" style="color: white">Password:</label>
|
||||
<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox><br/><br/>
|
||||
<asp:Button ID="LoginButton" runat="server" Text="Login" OnClick="LoginButton_Click"/>
|
||||
<br/><br/><br/>
|
||||
</div></div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user