481 lines
14 KiB
Plaintext
481 lines
14 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="SIG.Web.Login" CodePage="65001" %>
|
|
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head runat="server">
|
|
<meta charset="utf-8" />
|
|
<title>Login - Plataforma de Desarrolladores</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
|
|
|
<%: Scripts.Render("~/bundles/modernizr") %>
|
|
<%: Styles.Render("~/Metronic/assets/global/css/cssV1") %>
|
|
|
|
<style>
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body.login-page {
|
|
min-height: 100vh;
|
|
font-family: 'Segoe UI', Arial, sans-serif;
|
|
color: #ffffff;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
background: url('<%= ResolveUrl("~/Imagenes/login-fondo-cerro-campana.jpg") %>') center center / cover no-repeat fixed;
|
|
}
|
|
|
|
/* Gradient only on the edges. The center stays clear. */
|
|
body.login-page::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background: radial-gradient(
|
|
circle at center,
|
|
rgba(5, 65, 115, 0.00) 0%,
|
|
rgba(5, 65, 115, 0.00) 20%,
|
|
rgba(5, 65, 115, 0.16) 34%,
|
|
rgba(5, 65, 115, 0.38) 50%,
|
|
rgba(4, 52, 98, 0.66) 72%,
|
|
rgba(3, 35, 72, 0.92) 100%
|
|
);
|
|
}
|
|
|
|
/* Soft bottom depth only. Remove this block if you want only the circular edge effect. */
|
|
body.login-page::after {
|
|
content: "";
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 150px;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background:
|
|
linear-gradient(
|
|
0deg,
|
|
rgba(0, 44, 94, 0.48) 0%,
|
|
rgba(0, 44, 94, 0.22) 48%,
|
|
rgba(0, 44, 94, 0.00) 100%
|
|
);
|
|
}
|
|
|
|
.login-shell,
|
|
.login-footer-note {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.login-shell {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 34px 44px;
|
|
}
|
|
|
|
.login-layout {
|
|
width: 100%;
|
|
max-width: 1450px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 70px;
|
|
}
|
|
|
|
.login-brand-panel {
|
|
flex: 1 1 auto;
|
|
max-width: 670px;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.brand-logo {
|
|
margin-bottom: 44px;
|
|
}
|
|
|
|
.brand-logo img {
|
|
max-width: 300px;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
.brand-title-small {
|
|
font-size: 31px;
|
|
font-weight: 300;
|
|
line-height: 1.1;
|
|
margin: 0;
|
|
color: #ffffff;
|
|
text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
|
|
}
|
|
|
|
.brand-title-big {
|
|
font-size: 78px;
|
|
font-weight: 700;
|
|
line-height: 0.95;
|
|
margin: 0 0 20px 0;
|
|
color: #ffffff;
|
|
text-shadow: 0 5px 22px rgba(0, 0, 0, 0.36);
|
|
}
|
|
|
|
.brand-divider {
|
|
width: 102px;
|
|
height: 4px;
|
|
background: #23b5ff;
|
|
border-radius: 4px;
|
|
margin: 25px 0;
|
|
box-shadow: 0 0 20px rgba(35, 181, 255, 0.35);
|
|
}
|
|
|
|
.brand-description {
|
|
font-size: 22px;
|
|
line-height: 1.45;
|
|
max-width: 480px;
|
|
color: rgba(255, 255, 255, 0.96);
|
|
text-shadow: 0 3px 14px rgba(0, 0, 0, 0.32);
|
|
}
|
|
|
|
.login-card {
|
|
flex: 0 0 500px;
|
|
width: 500px;
|
|
background: #ffffff;
|
|
color: #173b70;
|
|
border-radius: 26px;
|
|
padding: 42px 40px 34px 40px;
|
|
box-shadow: 0 22px 55px rgba(0, 0, 0, 0.30);
|
|
}
|
|
|
|
.login-card-header {
|
|
text-align: center;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.login-card-icon {
|
|
min-height: 92px;
|
|
margin-bottom: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 30px;
|
|
}
|
|
|
|
.login-card-icon img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.login-card-icon .water-logo { width: 165px; }
|
|
.login-card-icon .developer-logo { width: 78px; }
|
|
|
|
.login-card-title {
|
|
margin: 0;
|
|
font-size: 34px;
|
|
line-height: 1.05;
|
|
font-weight: 700;
|
|
color: #123f84;
|
|
}
|
|
|
|
.login-card-subtitle-line {
|
|
width: 120px;
|
|
height: 4px;
|
|
background: #23b5ff;
|
|
border-radius: 4px;
|
|
margin: 17px auto 14px auto;
|
|
}
|
|
|
|
.login-card-subtitle {
|
|
margin: 0;
|
|
font-size: 19px;
|
|
font-weight: 600;
|
|
color: #0d66c3;
|
|
}
|
|
|
|
.login-error {
|
|
display: block;
|
|
margin-bottom: 18px;
|
|
padding: 10px 14px;
|
|
border-radius: 10px !important;
|
|
}
|
|
|
|
.login-form-group {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.login-form-group label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #173b70;
|
|
}
|
|
|
|
.input-icon {
|
|
position: relative;
|
|
}
|
|
|
|
.input-icon > i {
|
|
position: absolute;
|
|
left: 17px;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0;
|
|
color: #7a8ca9;
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.input-icon .form-control {
|
|
height: 56px;
|
|
border-radius: 12px !important;
|
|
border: 1px solid #d7dfeb;
|
|
box-shadow: none;
|
|
padding-left: 50px;
|
|
font-size: 16px;
|
|
color: #173b70;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.input-icon .form-control:focus {
|
|
border-color: #2b8cff;
|
|
box-shadow: 0 0 0 3px rgba(43, 140, 255, 0.12);
|
|
}
|
|
|
|
.btn-login-main {
|
|
width: 100%;
|
|
height: 56px;
|
|
border: 0;
|
|
border-radius: 12px !important;
|
|
background: linear-gradient(90deg, #0c5db8 0%, #0f6fd9 100%) !important;
|
|
color: #ffffff !important;
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
transition: all .2s ease-in-out;
|
|
box-shadow: 0 8px 18px rgba(12, 93, 184, 0.25);
|
|
}
|
|
|
|
.btn-login-main:hover,
|
|
.btn-login-main:focus {
|
|
color: #ffffff !important;
|
|
background: linear-gradient(90deg, #0b56aa 0%, #0d67c7 100%) !important;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.login-options {
|
|
margin-top: 20px;
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 14px 22px;
|
|
color: #173b70;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.login-links {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 22px;
|
|
}
|
|
|
|
.login-options a {
|
|
color: #0c63c7;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
line-height: 1.35;
|
|
text-align: right;
|
|
}
|
|
|
|
.login-options a:hover { text-decoration: underline; }
|
|
|
|
.remember-check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.remember-check input { margin: 0 7px 0 0; vertical-align: middle; }
|
|
.remember-check label { margin: 0; font-weight: 500; cursor: pointer; }
|
|
|
|
.login-footer-note {
|
|
position: fixed;
|
|
left: 38px;
|
|
bottom: 22px;
|
|
color: rgba(255, 255, 255, 0.94);
|
|
font-size: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.login-footer-note span.separator {
|
|
opacity: .55;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.login-layout {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 34px;
|
|
}
|
|
|
|
.login-brand-panel {
|
|
max-width: none;
|
|
padding-left: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.brand-logo img {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.brand-divider {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.brand-description {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.brand-title-big {
|
|
font-size: 54px;
|
|
}
|
|
|
|
.login-card {
|
|
width: 100%;
|
|
max-width: 520px;
|
|
flex: none;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.login-shell {
|
|
padding: 18px;
|
|
}
|
|
|
|
.login-brand-panel {
|
|
display: none;
|
|
}
|
|
|
|
.login-card {
|
|
padding: 30px 22px 24px 22px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.login-card-title {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.login-options { grid-template-columns: 1fr; align-items: stretch; }
|
|
.login-links { justify-content: space-between; gap: 14px; }
|
|
.login-options a { text-align: left; }
|
|
|
|
.login-footer-note {
|
|
position: static;
|
|
margin-top: 18px;
|
|
justify-content: center;
|
|
text-align: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="login-page">
|
|
<form id="form1" runat="server">
|
|
<asp:ScriptManager ID="smLogin" runat="server" />
|
|
|
|
<div class="login-shell">
|
|
<div class="login-layout">
|
|
|
|
<div class="login-brand-panel">
|
|
<div class="brand-logo">
|
|
<img src="<%= ResolveUrl("~/Imagenes/logo-agua-hermosillo-blanco.png") %>" alt="Agua de Hermosillo" />
|
|
</div>
|
|
|
|
<h2 class="brand-title-small">Plataforma de</h2>
|
|
<h1 class="brand-title-big">Desarrolladores</h1>
|
|
|
|
<div class="brand-divider"></div>
|
|
|
|
<div class="brand-description">
|
|
Construyendo juntos el futuro de Hermosillo.
|
|
</div>
|
|
</div>
|
|
|
|
<div class="login-card">
|
|
<div class="login-card-header">
|
|
<div class="login-card-icon">
|
|
<img class="water-logo" src="<%= ResolveUrl("~/Imagenes/logo-agua-hermosillo-blancol.png") %>" alt="Agua de Hermosillo" />
|
|
<img class="developer-logo" src="<%= ResolveUrl("~/Imagenes/icono-desarrolladores-azul_recorte.png") %>" alt="Desarrolladores" />
|
|
</div>
|
|
|
|
<h2 class="login-card-title">
|
|
Plataforma de<br />
|
|
Desarrolladores
|
|
</h2>
|
|
|
|
<div class="login-card-subtitle-line"></div>
|
|
|
|
<p class="login-card-subtitle">Agua de Hermosillo</p>
|
|
</div>
|
|
|
|
<asp:Label ID="LblError" runat="server" CssClass="alert alert-danger login-error" Visible="false"></asp:Label>
|
|
|
|
<asp:Panel runat="server" DefaultButton="BtnLogin">
|
|
<div class="login-form-group">
|
|
<label for="<%= TxtUsuario.ClientID %>">Usuario</label>
|
|
<div class="input-icon">
|
|
<i class="fa fa-user"></i>
|
|
<asp:TextBox ID="TxtUsuario" runat="server" CssClass="form-control" placeholder="Ingrese su usuario"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="login-form-group">
|
|
<label for="<%= TxtPassword.ClientID %>">Contraseña</label>
|
|
<div class="input-icon">
|
|
<i class="fa fa-lock"></i>
|
|
<asp:TextBox ID="TxtPassword" runat="server" CssClass="form-control" TextMode="Password" placeholder="Ingrese su contraseña"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
|
|
<asp:Button ID="BtnLogin" runat="server" Text="Iniciar sesión" CssClass="btn btn-login-main" OnClick="BtnLogin_Click" />
|
|
|
|
<div class="login-options">
|
|
<asp:CheckBox ID="ChkRecordarme" runat="server" CssClass="remember-check" Text="Recordarme" />
|
|
<div class="login-links">
|
|
<a href="javascript:void(0);">¿Olvidaste tu contraseña?</a>
|
|
<a href="<%= ResolveUrl("~/Pages/Security/RegistroCliente.aspx") %>">Registrar mi empresa</a>
|
|
</div>
|
|
</div>
|
|
</asp:Panel>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="login-footer-note">
|
|
<span><i class="fa fa-shield"></i> Sistema seguro y confiable</span>
|
|
<span class="separator">|</span>
|
|
<span>Agua de Hermosillo 2025</span>
|
|
</div>
|
|
|
|
<%: Scripts.Render("~/bundles/jquery") %>
|
|
<%: Scripts.Render("~/bundles/scripts") %>
|
|
<%: Scripts.Render("~/Metronic/assets/global/scripts/JSNoCustom") %>
|
|
</form>
|
|
</body>
|
|
</html> |