LoginMaster.aspx

לדף זה יש קוד מאחור תחת השם LoginMaster.aspx.cs
 avatar
user_2706180
html
a month ago
2.4 kB
1
Indexable
Never
<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Site1.Master" AutoEventWireup="true" CodeBehind="LoginMaster.aspx.cs" Inherits="YoadMadrid.Pages.WebForm11" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        body {
            background-image: url(../Images/Loginv2.png);
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
            font-family: Arial;
            margin: 0
        }

        .form-container {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #form1 {
            text-align: center;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />


    
    <div style="width: 100%; display: flex; justify-content: center; align-items: center;">

        
        <form runat="server" id="form1" method="post" style="text-align: center; margin-right: 50px " onsubmit="return validateLogin()">

                <div id="Username_ErrorMSG" style="color: red; font-weight: bold"></div>
                <label for="Username" style="display: block; margin-bottom: 10px; color:blue; font-weight: bold">Username: </label>
                <input type="text" name="Username" id="Username" style="margin-bottom: 20px;" />

                <div id="Password_ErrorMSG" style="color: red; font-weight: bold"></div>
                <label for="Password" style="display: block; margin-bottom: 10px; color:blue; font-weight: bold">Password:</label>
                <input type="password" name="Password" id="Password" style="margin-bottom: 20px;" />

                <div style="margin-bottom: 20px; display: flex; justify-content: center; flex-wrap: wrap;">
                    <input type="submit" style="margin-right: 20px" />
                    <input type="reset" />
                </div>
            </form>
        </div>
    
    <div runat="server" id="test" style="text-align:center; color: red; font-family: Bahnschrift; font-size: 23px; font-weight: bold; margin-right: 50px"></div>
    <script src="Javascript/validateLogin.js"></script>
</asp:Content>
Leave a Comment