git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C168
This commit is contained in:
parent
7dc59d2b8a
commit
1b5a2cc56e
16 changed files with 8521 additions and 129 deletions
|
|
@ -194,6 +194,7 @@
|
|||
<Compile Include="Controllers\BaseController.cs" />
|
||||
<Compile Include="Controllers\Catalogos\CatalogosController.cs" />
|
||||
<Compile Include="Controllers\HomeController.cs" />
|
||||
<Compile Include="Controllers\LoginController.cs" />
|
||||
<Compile Include="Controllers\ManageController.cs" />
|
||||
<Compile Include="Controllers\PropuestaNormativaController.cs" />
|
||||
<Compile Include="FileUploadHandler\FileUploadHandler.ashx.cs">
|
||||
|
|
@ -6520,6 +6521,8 @@
|
|||
<Content Include="Content\bootstrap-reboot.min.css" />
|
||||
<Content Include="Content\bootstrap.css" />
|
||||
<Content Include="Content\bootstrap.min.css" />
|
||||
<Content Include="Content\bootstrap3.min.css" />
|
||||
<Content Include="Content\Customizacion.css" />
|
||||
<Content Include="Content\dashboard.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.autoFill.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.autoFill.min.css" />
|
||||
|
|
@ -6587,6 +6590,7 @@
|
|||
<Content Include="Content\jQuery.FileUpload\css\jquery.fileupload.css" />
|
||||
<Content Include="Content\jQuery.FileUpload\img\loading.gif" />
|
||||
<Content Include="Content\jQuery.FileUpload\img\progressbar.gif" />
|
||||
<Content Include="Content\Principal.css" />
|
||||
<Content Include="Content\simpleAngularUI.css" />
|
||||
<Content Include="Content\simpleAngularUI.min.css" />
|
||||
<Content Include="Content\tether\tether-theme-arrows-dark.css" />
|
||||
|
|
@ -6676,7 +6680,11 @@
|
|||
<Content Include="dist\css\skins\skin-yellow.min.css" />
|
||||
<Content Include="dist\css\skins\_all-skins.css" />
|
||||
<Content Include="dist\css\skins\_all-skins.min.css" />
|
||||
<Content Include="dist\img\2386_white_abstract.jpg" />
|
||||
<Content Include="dist\img\ajax-loader.gif" />
|
||||
<Content Include="dist\img\bannersinort.png" />
|
||||
<Content Include="dist\img\fotter.jpg" />
|
||||
<Content Include="dist\img\gota.png" />
|
||||
<Content Include="dist\img\icons.png" />
|
||||
<Content Include="dist\img\imgEst.jpg" />
|
||||
<Content Include="dist\img\imgEst1.png" />
|
||||
|
|
@ -6686,6 +6694,7 @@
|
|||
<Content Include="dist\img\imgProyeNorm1.png" />
|
||||
<Content Include="dist\img\LogoAyA.jpg" />
|
||||
<Content Include="dist\img\LogoAyA.png" />
|
||||
<Content Include="dist\img\logoAyA2.png" />
|
||||
<Content Include="dist\img\photo2.png" />
|
||||
<Content Include="dist\img\SinortBanner.jpg" />
|
||||
<Content Include="dist\img\SinortBanner1.png" />
|
||||
|
|
@ -7762,6 +7771,7 @@
|
|||
<Content Include="Sinort-Scripts\DocumentoTecnico.js" />
|
||||
<Content Include="Sinort-Scripts\EmisorPN.js" />
|
||||
<Content Include="Sinort-Scripts\Global.js" />
|
||||
<Content Include="Sinort-Scripts\Login.js" />
|
||||
<Content Include="Sinort-Scripts\Mantenimientos.js" />
|
||||
<Content Include="Sinort-Scripts\PalabraClave.js" />
|
||||
<Content Include="Sinort-Scripts\PropuestaNormativa\DetallePropuestaNormativa.js" />
|
||||
|
|
@ -7832,6 +7842,7 @@
|
|||
<Content Include="Views\Catalogos\DocumentoTecnico.cshtml" />
|
||||
<Content Include="Views\Catalogos\PalabraClave.cshtml" />
|
||||
<Content Include="Views\Home\TareasPendientes.cshtml" />
|
||||
<Content Include="Views\Login\Login.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
|
|
|
|||
122
AYA.SlnSynor/AYA.SlnSynor/Content/Customizacion.css
Normal file
122
AYA.SlnSynor/AYA.SlnSynor/Content/Customizacion.css
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
/*Clases para el boton nuevo*/
|
||||
.BotonNuevo{
|
||||
background-color: #4673d1;
|
||||
}
|
||||
.BotonNuevo:hover{
|
||||
background-color:#5cb85c;
|
||||
}
|
||||
.BotonNuevo2 {
|
||||
background-color: #4673d1;
|
||||
text-transform: none;
|
||||
font-size: 11pt;
|
||||
}
|
||||
.BotonNuevo2:hover {
|
||||
background-color: #5cb85c;
|
||||
}
|
||||
|
||||
/*.btn{
|
||||
text-transform: lowercase !important;
|
||||
}
|
||||
.btn::first-letter {
|
||||
text-transform: capitalize !important;
|
||||
}
|
||||
.btn:first-letter {
|
||||
text-transform: capitalize !important;
|
||||
}*/
|
||||
|
||||
|
||||
/*Barra de Busqueda sobre la tabla*/
|
||||
.BarraBusquedaTabla{
|
||||
display:block;
|
||||
border-collapse:separate;
|
||||
border-spacing:5px;
|
||||
font-size:large;
|
||||
}
|
||||
.BarraBusquedaTabla tr td select{
|
||||
border:1px solid dimgrey;
|
||||
height:30px;
|
||||
background-color:white;
|
||||
width:100%;
|
||||
}
|
||||
.BarraBusquedaTabla tr td input{
|
||||
height:30px;
|
||||
background-color:white;
|
||||
border:1px solid dimgrey;
|
||||
}
|
||||
.BarraBusquedaTabla tr td:nth-child(1) {
|
||||
width:50%;
|
||||
}
|
||||
.BarraBusquedaTabla tr td:nth-child(2) {
|
||||
width:10%;
|
||||
}
|
||||
.BarraBusquedaTabla tr td:nth-child(3) {
|
||||
width:10%;
|
||||
}
|
||||
.BarraBusquedaTabla tr td:nth-child(4) {
|
||||
width:30%;
|
||||
}
|
||||
.BarraBusquedaTabla tr td:nth-child(5) {
|
||||
width:10%;
|
||||
}
|
||||
|
||||
/*Barra de Busqueda sobre la tabla*/
|
||||
.BarraBusquedaTabla2{
|
||||
display:block;
|
||||
border-collapse:separate;
|
||||
border-spacing:5px;
|
||||
font-size:large;
|
||||
}
|
||||
.BarraBusquedaTabla2 tr td select{
|
||||
border:1px solid dimgrey;
|
||||
height:30px;
|
||||
background-color:white;
|
||||
width:100%;
|
||||
}
|
||||
.BarraBusquedaTabla2 tr td input{
|
||||
height:30px;
|
||||
background-color:white;
|
||||
border:1px solid dimgrey;
|
||||
}
|
||||
.BarraBusquedaTabla2 tr td:nth-child(1) {
|
||||
width:25%;
|
||||
}
|
||||
.BarraBusquedaTabla2 tr td:nth-child(2) {
|
||||
width:25%;
|
||||
}
|
||||
.BarraBusquedaTabla2 tr td:nth-child(3) {
|
||||
width:70%;
|
||||
}
|
||||
.BarraBusquedaTabla2 tr td:nth-child(4) {
|
||||
width:30%;
|
||||
}
|
||||
|
||||
/*Barra de Busqueda sobre la tabla*/
|
||||
.BarraBusquedaTabla3{
|
||||
display:block;
|
||||
border-collapse:separate;
|
||||
border-spacing:5px;
|
||||
font-size:large;
|
||||
}
|
||||
.BarraBusquedaTabla3 tr td select{
|
||||
border:1px solid dimgrey;
|
||||
height:30px;
|
||||
background-color:white;
|
||||
width:100%;
|
||||
}
|
||||
.BarraBusquedaTabla3 tr td input{
|
||||
height:30px;
|
||||
background-color:white;
|
||||
border:1px solid dimgrey;
|
||||
}
|
||||
.BarraBusquedaTabla3 tr td:nth-child(1) {
|
||||
width:23%;
|
||||
}
|
||||
.BarraBusquedaTabla3 tr td:nth-child(2) {
|
||||
width:25%;
|
||||
}
|
||||
.BarraBusquedaTabla3 tr td:nth-child(3) {
|
||||
width:70%;
|
||||
}
|
||||
.BarraBusquedaTabla3 tr td:nth-child(4) {
|
||||
width:30%;
|
||||
}
|
||||
|
|
@ -1,147 +1,182 @@
|
|||
|
||||
|
||||
|
||||
.menu_bar {
|
||||
display:none;
|
||||
text-align :right ;
|
||||
/*Clases Generales*/
|
||||
html {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
header {
|
||||
width: 100%;
|
||||
|
||||
|
||||
}
|
||||
header a:visited {
|
||||
color: #414042;
|
||||
}
|
||||
|
||||
header a:hover {
|
||||
color: #0055aa;
|
||||
}
|
||||
|
||||
header nav {
|
||||
background:#E6E7E8;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
header nav ul {
|
||||
list-style:none;
|
||||
padding:0;
|
||||
margin:0;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
header ul + li {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
header ul {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
|
||||
}
|
||||
header nav ul li {
|
||||
display:inline-block;
|
||||
position: relative;
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 11pt;
|
||||
font-weight :bold;
|
||||
}
|
||||
|
||||
header nav ul li:hover {
|
||||
color:red;
|
||||
}
|
||||
|
||||
header nav ul li a {
|
||||
color:#414042;
|
||||
display:block;
|
||||
text-decoration:none;
|
||||
padding: 20px;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
background-image: url(../dist/img/2386_white_abstract.jpg) !important;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
header nav ul li a:hover {
|
||||
color:#0055aa;
|
||||
|
||||
.relleno {
|
||||
padding-bottom: 120px;
|
||||
}
|
||||
header nav ul li a span {
|
||||
margin-right:0px;
|
||||
|
||||
.contenido {
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
header nav ul li:hover .children {
|
||||
display:block;
|
||||
|
||||
/*Clases para el footer*/
|
||||
footer {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: auto;
|
||||
/*background-image: url("../dist/img/fotter.jpg") !important;
|
||||
background-repeat: no-repeat;*/
|
||||
}
|
||||
|
||||
header nav ul li .children {
|
||||
display: none;
|
||||
background:#E6E7E8;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index:1000;
|
||||
|
||||
footer p {
|
||||
color: darkslategray;
|
||||
font-weight: bold;
|
||||
margin-top: 80px;
|
||||
font-family: Arial;
|
||||
}
|
||||
|
||||
/*Clases para el header*/
|
||||
.TextoNormal {
|
||||
color: #939598;
|
||||
}
|
||||
|
||||
header nav ul li .children li {
|
||||
display:block;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid rgba(255,255,255,.5);
|
||||
|
||||
/*Clases para paneles*/
|
||||
.panel-default > .panel-heading {
|
||||
/*background-color: #005387 !important;*/
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
|
||||
header nav ul li .children li a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
header nav ul li .children li a span {
|
||||
float: right;
|
||||
position: relative;
|
||||
top:3px;
|
||||
margin-right:0;
|
||||
margin-left:0px;
|
||||
}
|
||||
|
||||
header nav ul li .caret {
|
||||
position: relative;
|
||||
top:3px;
|
||||
margin-left:0px;
|
||||
margin-right:0px;
|
||||
}
|
||||
.show-menu {
|
||||
font-family: Arial, sans-serif;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
background: #0055aa;
|
||||
|
||||
/*Clases para tablas*/
|
||||
.grid th {
|
||||
background-color: #000000;
|
||||
color: #dddddd;
|
||||
text-align: center;
|
||||
padding: 10px 0;
|
||||
display: none;
|
||||
border-width: 0px !important;
|
||||
}
|
||||
|
||||
input[type=checkbox]{
|
||||
display: none;
|
||||
.grid td {
|
||||
text-align: center;
|
||||
}
|
||||
input[type=checkbox]:checked ~ #menuprincipal{
|
||||
display: block;
|
||||
|
||||
/*Clases para botones*/
|
||||
.btn-verde {
|
||||
background-color: #50B848;
|
||||
color: #dddddd;
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
nav ul {
|
||||
position: static;
|
||||
display: none;
|
||||
margin :0 50px 0 0;
|
||||
align-items :center ;
|
||||
|
||||
.btn-verde:hover {
|
||||
background-color: #15fc04;
|
||||
color: #dddddd;
|
||||
}
|
||||
/*Create vertical spacing*/
|
||||
nav li {
|
||||
margin-bottom: 1px;
|
||||
padding: 0 0 0 0;
|
||||
|
||||
.btn-azul {
|
||||
background-color: #005387;
|
||||
color: #dddddd;
|
||||
}
|
||||
|
||||
.btn-azul:hover {
|
||||
background-color: #009bfd;
|
||||
color: #dddddd;
|
||||
}
|
||||
/*Make all menu links full width*/
|
||||
nav ul li, li a {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
|
||||
.btn-rojo {
|
||||
background-color: #e51c23;
|
||||
color: #dddddd;
|
||||
}
|
||||
|
||||
.btn-rojo:hover {
|
||||
background-color: #eb5156;
|
||||
color: #dddddd;
|
||||
}
|
||||
.show-menu {
|
||||
display:block;
|
||||
|
||||
/*Clases para el menu principal*/
|
||||
#LinkBlanco {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*Clases para models*/
|
||||
.modal-body > h4 {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.exito {
|
||||
background-color: darkgreen;
|
||||
}
|
||||
|
||||
.peligro {
|
||||
background-color: darkred;
|
||||
}
|
||||
|
||||
.actualizado {
|
||||
background-color: darkblue;
|
||||
}
|
||||
|
||||
.pagination-ys {
|
||||
padding-left: 0;
|
||||
margin: 20px 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.pagination-ys table > tbody > tr > td {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.pagination-ys table > tbody > tr > td > a,
|
||||
.pagination-ys table > tbody > tr > td > span {
|
||||
position: relative;
|
||||
float: left;
|
||||
padding: 8px 12px;
|
||||
line-height: 1.42857143;
|
||||
text-decoration: none;
|
||||
color: #1c20f2;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #dddddd;
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
.pagination-ys table > tbody > tr > td > span {
|
||||
position: relative;
|
||||
float: left;
|
||||
padding: 8px 12px;
|
||||
line-height: 1.42857143;
|
||||
text-decoration: none;
|
||||
margin-left: -1px;
|
||||
z-index: 2;
|
||||
color: #aea79f;
|
||||
background-color: #f5f5f5;
|
||||
border-color: #dddddd;
|
||||
cursor: default;
|
||||
}
|
||||
/* Por debajo de 700px */
|
||||
@media screen and (max-width: 700px) {
|
||||
h4, h5 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.titulo {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
/* Por debajo de 400px */
|
||||
@media screen and (max-width: 400px) {
|
||||
h4, h5 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.titulo {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
7899
AYA.SlnSynor/AYA.SlnSynor/Content/bootstrap3.min.css
vendored
Normal file
7899
AYA.SlnSynor/AYA.SlnSynor/Content/bootstrap3.min.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -29,7 +29,7 @@ namespace AYA.SlnSinort.Controllers
|
|||
InitControllers();
|
||||
return View();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
19
AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs
Normal file
19
AYA.SlnSynor/AYA.SlnSynor/Controllers/LoginController.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace AYA.SlnSinort.Controllers.Login
|
||||
{
|
||||
public class LoginController : BaseController
|
||||
{
|
||||
|
||||
public ActionResult Login()
|
||||
{
|
||||
InitControllers();
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Binary file not shown.
66
AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js
Normal file
66
AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Login.js
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
var model = {};
|
||||
jQuery(document).ready(function () {
|
||||
|
||||
|
||||
});
|
||||
|
||||
function validarFormulario() {
|
||||
|
||||
var Contador = 0;
|
||||
|
||||
if ($('#txtUsuarioUnico').val().length > 0) {
|
||||
var usuario = document.getElementById("txtUsuarioUnico").value;
|
||||
var patron = /^[a-zñ]+$/;
|
||||
if (patron.test(usuario)) {
|
||||
Contador++;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($('#txtContrasena').val().length > 0) {
|
||||
Contador++;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Contador >= 2) {
|
||||
enviado = true;
|
||||
ObtenerUsuarioAD();
|
||||
}
|
||||
|
||||
}//validarFormulario
|
||||
|
||||
$('#txtUsuarioUnico').change(function () {
|
||||
var txtUsuarioUnico = $('#txtUsuarioUnico').val();
|
||||
$('#txtUsuarioUnico').val(txtUsuarioUnico.trim());
|
||||
});
|
||||
|
||||
this.ObtenerUsuarioAD = function () {
|
||||
|
||||
|
||||
var uri = 'http://localhost/AYA.SlnSinort.WCF/Sinort.svc/api/ObtenerUsuarioAD';
|
||||
model = {
|
||||
Usuario: $('#txtUsuarioUnico').val(),
|
||||
Contrasena: $('#txtContrasena').val()
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, VerificarUsurario, null, null);
|
||||
|
||||
}
|
||||
|
||||
this.VerificarUsurario = function (data) {
|
||||
if (data.CodigoRespuesta == 'EXITOSO') {
|
||||
|
||||
|
||||
var uri = 'http://localhost/AYA.SlnSinort.WCF/Sinort.svc/api/VerificarUsuarioBD';
|
||||
model = {
|
||||
codigo: data.LoginUsuario
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, null, null, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -410,6 +410,7 @@ this.EnviarCorreo = function () {
|
|||
NombrePlatilla: 'Correo Convocados'
|
||||
}
|
||||
var uri = SinortWCF + '/api/EnviarCorreo';
|
||||
var model = {};
|
||||
model.ProyectoNormativo = PropuestaNormativa;
|
||||
model.ListaConvocatoria = ArrayParticipante;
|
||||
model.PlantillaEmail = Plantilla;
|
||||
|
|
|
|||
239
AYA.SlnSynor/AYA.SlnSynor/Views/Login/Login.cshtml
Normal file
239
AYA.SlnSynor/AYA.SlnSynor/Views/Login/Login.cshtml
Normal file
|
|
@ -0,0 +1,239 @@
|
|||
@{
|
||||
ViewBag.Title = "Login";
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>SINORT</title>
|
||||
<link rel="icon" href="~/dist//imgNormReg1.png" type="image/gif" sizes="16x16" />
|
||||
<link type="text/css" rel="stylesheet" href="~/Content/bootstrap3.min.css" />
|
||||
<link type="text/css" rel="stylesheet" href="~/Content/Customizacion.css" />
|
||||
<link type="text/css" rel="stylesheet" href="~/Content/Principal.css" />
|
||||
|
||||
<script src="~/Scripts/modernizr-2.6.2.js"></script>
|
||||
<script src="~/Scripts/jquery-3.3.1.min.js"></script>
|
||||
<script src="~/Scripts/bootstrap.min.js"></script>
|
||||
@*<script src="~/Plugin/sweetalert/sweetalert.min.js"></script>*@
|
||||
<style>
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
cursor: pointer;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.define {
|
||||
width: 100%;
|
||||
height: 42px;
|
||||
margin: 0 auto;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.imgHeader {
|
||||
margin: 25px auto;
|
||||
float: left;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
h4, h5 {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
tr, td, th {
|
||||
padding: 8px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
/* Para detectar inactividad en pàgina
|
||||
var ratonParado = null;
|
||||
var milisegundosLimite = 1130000;
|
||||
|
||||
$(document).on('mousemove', function () {
|
||||
clearTimeout(ratonParado);
|
||||
ratonParado = setTimeout(function () {
|
||||
ExpirarSesion();
|
||||
}, milisegundosLimite);
|
||||
});
|
||||
|
||||
function ExpirarSesion() {
|
||||
var UsuarioId2 = localStorage.getItem("UsuarioIdCerrar");
|
||||
if (UsuarioId2 != null) {
|
||||
ajaxExpirarSesion("GET", "../Usuarios/ExpirarSesion?UsuarioId=" + UsuarioId2, null);
|
||||
Salir();
|
||||
}
|
||||
}
|
||||
function ajaxExpirarSesion(method, uri, data) {
|
||||
$.ajax({
|
||||
url: uri,
|
||||
encode: "utf-8",
|
||||
cache: false,
|
||||
type: method,
|
||||
contentType: "application/json",
|
||||
data: data ? JSON.stringify(data) : null,
|
||||
error: function () {
|
||||
},
|
||||
success: function (data) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function Salir() {
|
||||
window.location.href = "/Usuarios/Login";
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
function goBack() {
|
||||
window.history.back();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="contenido">
|
||||
<header class="navbar navbar-default">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<img width="100" src="~/dist/img/logoAyA2.png" />
|
||||
</div>
|
||||
@*<div class="col-md-4">
|
||||
<h4 style="color:#4673d1 !important">INSTITUTO COSTARRICENSE DE ACUEDUCTOS Y ALCANTARILLADOS</h4>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h5 style="color:#4673d1 !important">Sistema de Normativa y Reglamentación Técnica</h5>
|
||||
</div>*@
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="col-lg-10" align="center">
|
||||
|
||||
<form id="frmLogin">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-4">
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div align="center">
|
||||
<img src="~/dist/img/bannersinort.png" style="margin: 0 auto;" width="300" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<img src="~/dist/img/gota.png" style="margin: 0 auto;" width="100" />
|
||||
</div>
|
||||
@*<br />
|
||||
<br />
|
||||
<div class="panel panel-success">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<i class="fa fa-bars"></i> <label id="lbTituloAccion">Ingreso al Sistema</label>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label ControlsForms">Descripción</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" id="txtDescripcion" name="txtDescripcion" class="form-control imput-xs" required="required" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group " id="divAreaDescripcionLarga">
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblAreaDescripcionLarga">Detalle</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" id="txtDescripcion" name="txtDescripcion" class="form-control imput-xs" required="required" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>*@
|
||||
|
||||
|
||||
<table align="center" border="1" width="100%;" style="margin-top: 40px !important; font-size: 13px !important;">
|
||||
<tr style="background-color: #4673d1 !important; color: white;">
|
||||
<td id="uno" colspan="2" style="text-align: center;">
|
||||
<label style="font-size: 13px !important;"> Ingreso al Sistema</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="1">
|
||||
<label style="font-size: 13px !important;"> Usuario:</label>
|
||||
</td>
|
||||
<td id="tdNombre">
|
||||
<input type="text" placeholder="Usuario" name="Usuario" id="txtUsuarioUnico" required
|
||||
class="form-control" pattern="[a-zñ]+" maxlength="25" title="Sólo se permiten letras minúsculas y sin espacios." style="font-size: 13px !important;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label style="font-size: 13px !important;"> Contraseña:</label>
|
||||
</td>
|
||||
<td id="tdSiglas">
|
||||
<input type="password" placeholder="Contraseña" name="Contrasena" id="txtContrasena" required class="form-control"
|
||||
maxlength="25" style="font-size: 13px !important;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<button type="button" class="btn btn-primary" style="margin-top: 5px; background-color: #4673d1 !important; text-transform: none !important; font-size: 13px !important;" onclick="validarFormulario();">
|
||||
Iniciar sesión
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 text-center">
|
||||
<p>SINORT | Costa Rica | Copyright © @DateTime.Now.Year</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@Styles.Render("~/Content/themes/base/css")
|
||||
@Styles.Render("~/Content/sinort-css")
|
||||
|
||||
@Scripts.Render("~/bundles/modernizr")
|
||||
@Scripts.Render("~/bundles/jquery")
|
||||
@Scripts.Render("~/bundles/bootstrap")
|
||||
@Scripts.Render("~/bundles/jqueryui")
|
||||
@Scripts.Render("~/bundles/jqueryval")
|
||||
@Scripts.Render("~/bundles/moment")
|
||||
@Scripts.Render("~/bundles/toastr")
|
||||
@Scripts.Render("~/bundles/jquery-dataTables")
|
||||
@Scripts.Render("~/bundles/jquery-fileupload")
|
||||
@Scripts.Render("~/bundles/jquery-fullCalendar")
|
||||
@Scripts.Render("~/Script-Global")
|
||||
@Scripts.Render("~/Sinort-Scripts/Login.js")
|
||||
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
<header class="main-header">
|
||||
|
||||
<!-- Logo -->
|
||||
<a href="@Url.Action("Index", "Home")" class="logo">
|
||||
<a href="@Url.Action("Login", "Login")" class="logo">
|
||||
|
||||
<span class="logo-mini"><img src="~/dist/img/LogoAyA.jpg" alt="logo"></span>
|
||||
|
||||
|
|
|
|||
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/2386_white_abstract.jpg
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/2386_white_abstract.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 479 KiB |
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/bannersinort.png
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/bannersinort.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.6 KiB |
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/fotter.jpg
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/fotter.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/gota.png
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/gota.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/logoAyA2.png
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/logoAyA2.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
Loading…
Add table
Reference in a new issue