CNSA-216-FP/FWA_MAIN/login.aspx

47 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-04-03 21:50:40 -07:00
<%@ Page Language="C#" CodeBehind="login.aspx.cs" Inherits="FWA_MAIN.login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
2024-04-03 22:07:20 -07:00
<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>
2024-04-03 21:50:40 -07:00
<title>Login</title>
</head>
<body style="background-color: #0f0f0f">
<form id="Login" runat="server">
2024-04-03 22:07:20 -07:00
<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>
2024-04-03 21:50:40 -07:00
</form>
</body>
</html>