CNSA-216-FP/FWA_MAIN/login.aspx
2024-04-04 01:07:20 -04:00

47 lines
1.4 KiB
Plaintext

<%@ 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">
<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 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>