This commit is contained in:
@@ -61,6 +61,13 @@
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
||||
<asp:UpdatePanel runat="server" ID="UpAgregar">
|
||||
<ContentTemplate>
|
||||
<li>
|
||||
<asp:LinkButton ID="LnkMandarCorreo" OnClick="LnkMandarCorreo_Click" runat="server" Text="<i class='fa fa-envelope'></i> Enviar Correo"></asp:LinkButton>
|
||||
</li>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
||||
</asp:Content>
|
||||
@@ -72,13 +79,16 @@
|
||||
|
||||
<div class="pnlCorreo" style="margin-bottom: 5px;">
|
||||
<div class="headerCorreo">
|
||||
<h3 class="panel-title">Para</h3>
|
||||
<h3 class="panel-title" style="display: inline-block;">Para</h3> <asp:LinkButton ID="LnkAgregar" OnClick="LnkAgregar_Click" CssClass="btn btn-default" runat="server"><i class="fa fa-plus"></i></asp:LinkButton>
|
||||
</div>
|
||||
<div class="bodycorreos">
|
||||
<asp:Literal ID="LtlPara" runat="server"></asp:Literal>
|
||||
<asp:TextBox ID="TxtCorreo" Enabled ="false" runat="server" CssClass="form-control " TextMode="MultiLine" Rows="3"></asp:TextBox>
|
||||
<%--
|
||||
<asp:LinkButton ID="Lnkuser1" runat="server" CssClass="linkCorreo" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar Correo?" data-btn-ok-label="si">Jorge caudillo(jcaudillo@adsistemas.mx)</asp:LinkButton>;
|
||||
<asp:LinkButton ID="Lnkuser2" runat="server" CssClass="linkCorreo" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar Correo?" data-btn-ok-label="si">Julian Moreno(Julianmoreno@adsistemas.mx)</asp:LinkButton>;
|
||||
<asp:LinkButton ID="LnkAgregar" OnClick="LnkAgregar_Click" CssClass="btn btn-default" runat="server"><i class="fa fa-plus"></i></asp:LinkButton>
|
||||
--%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -87,7 +97,7 @@
|
||||
<h3 class="panel-title ">Correos Adicionales:</h3>
|
||||
</div>
|
||||
<div class="bodycorreos ">
|
||||
<asp:TextBox ID="TxtCCPara" runat="server" CssClass="form-control " TextMode="MultiLine" Rows="3"></asp:TextBox>
|
||||
<asp:TextBox ID="TxtCorreoAdicional" runat="server" CssClass="form-control " TextMode="MultiLine" Rows="3"></asp:TextBox>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pnlCorreo" style="margin-bottom: 5px;">
|
||||
@@ -104,12 +114,25 @@
|
||||
<div class="headerCorreo headerCorreoCCP" style="background-color: transparent;">
|
||||
<h3 class="panel-title ">Adjuntar Archivos:</h3>
|
||||
<asp:TextBox ID="TxtArchivo" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
|
||||
|
||||
<div id="archivosDiv" runat="server" class="row" visible="false">
|
||||
<div class="col-md-1" style="width: 30%">
|
||||
<asp:Label runat="server" ID="Label1">Archivo cargado:</asp:Label>
|
||||
</div>
|
||||
<div class="col-md-1" style="width: 70%">
|
||||
<asp:HyperLink runat="server" ID="HkArchivo" Style="color: #23527c;"></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bodycorreos ">
|
||||
<asp:TextBox ID="TextBox1" runat="server" CssClass="form-control ckeditor" TextMode="MultiLine" Rows="3"></asp:TextBox>
|
||||
<asp:TextBox ID="TxtCircular" runat="server" CssClass="form-control ADSckeditor" TextMode="MultiLine" Rows="3"></asp:TextBox>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="text-center">
|
||||
<asp:Button ID="BtnGuardar" OnClick="BtnGuardar_Click" runat="server" CssClass="btn btn-primary" Text="Guardar" Visible="true" ValidationGroup="GrpGuardar" />
|
||||
<asp:Button ID="BtnEliminar" OnClick="BtnEliminar_Click" runat="server" CssClass="btn btn-danger" Text="Eliminar" Visible="false" data-toggle="confirmation" data-popout="true" data-original-title="Confirmar" data-btn-ok-label="si" />
|
||||
</div>
|
||||
|
||||
<div id='<%= iddivAgregarPara %>' class="modal ADS fade" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
@@ -9,13 +12,78 @@ using Extensiones;
|
||||
public partial class OI_CircularDetalleB : ClsPaginas
|
||||
{
|
||||
public const string iddivAgregarPara = "iddivAgregarPara";
|
||||
private DataTable DtUsuarios
|
||||
{
|
||||
get
|
||||
{
|
||||
return (ViewState["DtUsuarios"]== null) ? null : (DataTable)ViewState["DtUsuarios"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["DtUsuarios"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
private int CveCircular
|
||||
{
|
||||
get
|
||||
{
|
||||
return ViewState["CveCircular"].ToString().ToEntero();
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["CveCircular"] = value;
|
||||
}
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
if(Request["CveCircular"] != null)
|
||||
{
|
||||
CveCircular = Request["CveCircular"].ToString().ToEntero();
|
||||
}
|
||||
|
||||
if (CveCircular > 0)
|
||||
{
|
||||
BtnGuardar.Text = "Actualizar";
|
||||
BtnEliminar.Visible = true;
|
||||
CargaDatos();
|
||||
}
|
||||
else
|
||||
{
|
||||
BtnGuardar.Text = "Guardar";
|
||||
}
|
||||
cargarFiltroUsuarios();
|
||||
}
|
||||
}
|
||||
|
||||
private void CargaDatos()
|
||||
{
|
||||
if (CveCircular > 0)
|
||||
{
|
||||
ClsOIEventos ObjOI = new ClsOIEventos();
|
||||
if (ObjOI.GetCircular(UsuarioActual.CveEmpresa, CveCircular))
|
||||
{
|
||||
DataRow Circular = ObjOI.DtResultados.Rows[0];
|
||||
|
||||
TxtAsunto.Text = Circular["Asunto"].ToString();
|
||||
TxtCorreo.Text = Circular["CorreosInternos"].ToString();
|
||||
TxtCorreoAdicional.Text = Circular["CorreosExternos"].ToString();
|
||||
TxtCircular.Text = Circular["Circular"].ToString().Replace("<","< ");
|
||||
|
||||
if (Circular["ArchivoAdjunto"].ToString() != "")
|
||||
{
|
||||
archivosDiv.Visible = true;
|
||||
HkArchivo.NavigateUrl = $"~/Empresas/{UsuarioActual.CveEmpresa}/Formatos/{Circular["ArchivoAdjunto"].ToString()}";
|
||||
HkArchivo.Text = Circular["ArchivoAdjunto"].ToString();
|
||||
}
|
||||
|
||||
UpContenido.Update();
|
||||
}
|
||||
ObjOI.Dispose();
|
||||
}
|
||||
}
|
||||
private void cargarFiltroUsuarios()
|
||||
{
|
||||
DdlRoles.DataSource = get_GlobalDTRoles(UsuarioActual.CveEmpresa);
|
||||
@@ -49,14 +117,211 @@ public partial class OI_CircularDetalleB : ClsPaginas
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarPara));
|
||||
}
|
||||
|
||||
protected void BtnUpPara_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
protected void BtnUpMiembros_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
string UsuariosCorreos = "";
|
||||
foreach (GridViewRow gvuser in GVUsuarios.Rows)
|
||||
{
|
||||
CheckBox ChkOk =gvuser.FCCheckBox("ChkOk");
|
||||
string Correo = gvuser.DataKey("Correo");
|
||||
if (ChkOk.Checked && Correo.Length >0)
|
||||
{
|
||||
UsuariosCorreos = string.Format("{1}{0}" + ";", UsuariosCorreos, Correo);
|
||||
}
|
||||
}
|
||||
TxtCorreo.Text = UsuariosCorreos;
|
||||
RegistraScript("$('#ModalDescuento').modal('hide')");
|
||||
UpContenido.Update();
|
||||
}
|
||||
|
||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClsOIEventos ObjOI = new ClsOIEventos();
|
||||
if (CveCircular > 0)
|
||||
{
|
||||
string AdjuntoValidate = NombreArchivo().Split('-')[1];
|
||||
|
||||
if (ObjOI.UpdateCircular(CveCircular, TxtAsunto.Text, TxtCircular.Text.Replace("< ","<"), TxtCorreo.Text, TxtCorreoAdicional.Text, AdjuntoValidate))
|
||||
{
|
||||
GuardarArchivo(CveCircular);
|
||||
Alert("Actualizado correctamente");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string CorreoExtra = TxtCorreoAdicional.Text == "" ? "-1" : TxtCorreoAdicional.Text;
|
||||
|
||||
string AdjuntoValidate = NombreArchivo().Split('-')[1];
|
||||
int CircularInsertado = ObjOI.AddCircular(TxtAsunto.Text, TxtCircular.Text.Replace("< ", "<"), TxtCorreo.Text, DateTime.Today.ToString(), UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, CorreoExtra, AdjuntoValidate);
|
||||
if (CircularInsertado > 0)
|
||||
{
|
||||
GuardarArchivo(CircularInsertado);
|
||||
Alert("Ingresado correctamente");
|
||||
CveCircular = CircularInsertado;
|
||||
if (CveCircular > 0)
|
||||
{
|
||||
BtnGuardar.Text = "Actualizar";
|
||||
BtnEliminar.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
BtnGuardar.Text = "Guardar";
|
||||
}
|
||||
}
|
||||
}
|
||||
CargaDatos();
|
||||
}
|
||||
#region "Guardar"
|
||||
private string NombreArchivo()
|
||||
{
|
||||
List<Archivo> Filesgral = TxtArchivo.getfiles().Archivos;
|
||||
string Filename = "-1";
|
||||
foreach (Archivo fileItem in Filesgral)
|
||||
{
|
||||
try
|
||||
{
|
||||
Filename = fileItem.filename;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Filename = "-1";
|
||||
}
|
||||
}
|
||||
return Filename;
|
||||
}
|
||||
|
||||
private string TituloAnterior()
|
||||
{
|
||||
System.IO.DirectoryInfo Directorio = new System.IO.DirectoryInfo(string.Format("{0}Empresas/{1}/Formatos/", AppDomain.CurrentDomain.BaseDirectory, UsuarioActual.CveEmpresa));
|
||||
System.IO.FileInfo[] ArchivosArreglo = Directorio.GetFiles();
|
||||
string patronRegEx = string.Format("^{0}_.*", CveCircular);
|
||||
string archivoEncontrado = "";
|
||||
foreach (System.IO.FileInfo file in ArchivosArreglo)
|
||||
{
|
||||
if (Regex.IsMatch(file.Name, patronRegEx))
|
||||
archivoEncontrado = file.Name;
|
||||
}
|
||||
return archivoEncontrado;
|
||||
}
|
||||
|
||||
private string GuardarArchivo(int CircularInsertado)
|
||||
{
|
||||
string respuesta = "";
|
||||
string FileExtension = "-1";
|
||||
List<Archivo> Filesgral = TxtArchivo.getfiles().Archivos;
|
||||
string Filename = "";
|
||||
|
||||
foreach (Archivo fileItem in Filesgral)
|
||||
{
|
||||
try
|
||||
{
|
||||
respuesta = fileItem.filenameO;
|
||||
FileExtension = System.IO.Path.GetExtension(string.Format(@"{0}Temp\{1}", AppDomain.CurrentDomain.BaseDirectory, fileItem.filename)).Replace(".", "");
|
||||
string[] tempArray;
|
||||
tempArray = fileItem.filename.ToString().Split("-".ToCharArray());
|
||||
|
||||
string rutaDestino = UsuarioActual.Empresa.Ruta + @"Formatos\" + CircularInsertado + "_" + fileItem.filenameO;
|
||||
|
||||
string ArchivoAnterior = TituloAnterior();
|
||||
|
||||
if (ArchivoAnterior.Length > 0)
|
||||
{
|
||||
string docAnterior = string.Format(@"{0}Formatos\{1}", UsuarioActual.Empresa.Ruta, ArchivoAnterior);
|
||||
if (File.Exists(docAnterior))
|
||||
File.Delete(docAnterior);
|
||||
}
|
||||
|
||||
if (!Directory.Exists(UsuarioActual.Empresa.Ruta + @"\Formatos"))
|
||||
Directory.CreateDirectory(UsuarioActual.Empresa.Ruta + @"\Formatos");
|
||||
|
||||
if (System.IO.File.Exists(rutaDestino))
|
||||
System.IO.File.Delete(rutaDestino);
|
||||
|
||||
System.IO.File.Move(fileItem.FileUrl, rutaDestino);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.OnError("Error al cargar archivo", ex);
|
||||
}
|
||||
TxtArchivo.Text = "";
|
||||
}
|
||||
|
||||
|
||||
return respuesta;
|
||||
}
|
||||
#endregion
|
||||
protected void BtnEliminar_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
using (ClsOIEventos ObjOI = new ClsOIEventos())
|
||||
{
|
||||
if (ObjOI.DeleteCircular(CveCircular)) { Response.Redirect("~/OI/CircularDetalle.aspx?CveCircular=-1"); }
|
||||
}
|
||||
}
|
||||
|
||||
protected void LnkMandarCorreo_Click(object sender, EventArgs e)
|
||||
{
|
||||
string[] correos;
|
||||
correos = TxtCorreo.Text.Split(';');
|
||||
byte[] ArchivoBytes = ArchivoBytesArrya(HkArchivo.Text);
|
||||
|
||||
int Contador = 0;
|
||||
try
|
||||
{
|
||||
foreach (string Correo in correos)
|
||||
{
|
||||
MandaCorreo(TxtAsunto.Text, Correo, Contador > 0 ? "" : TxtCorreoAdicional.Text, TxtCircular.Text, ArchivoBytes, HkArchivo.Text);
|
||||
Contador += 1;
|
||||
}
|
||||
Alert("El correo se envió correctamente");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Alert("Error al enviar correo", ModExtensiones.TipoMensaje.MsgError);
|
||||
}
|
||||
}
|
||||
|
||||
private void MandaCorreo(string Asunto, string Para, string ArrayCC, string body, byte[] ArchivoBinario, string NombreArchivo)
|
||||
{
|
||||
string a = string.Format("{0} -- {1} --- {2}", Asunto, Para, ArrayCC);
|
||||
a.GuardaLog();
|
||||
|
||||
ClsSisMail Mail = new ClsSisMail();
|
||||
List<ClsSisMail.ArchivoMail> LSRutasMail = new List<ClsSisMail.ArchivoMail>();
|
||||
ClsSisMail.ArchivoMail itemMail = new ClsSisMail.ArchivoMail();
|
||||
|
||||
{
|
||||
var withBlock = itemMail;
|
||||
itemMail.ArchivoBinario = ArchivoBinario;
|
||||
itemMail.NombreArchivo = NombreArchivo;
|
||||
}
|
||||
|
||||
LSRutasMail.Add(itemMail);
|
||||
|
||||
|
||||
Mail.SendMail(ClsPaginas.EmpresaNotificaciones, Para, Asunto, body, ArrayCC, LSRutasMail);
|
||||
Mail = null/* TODO Change to default(_) if this is not a reference type */;
|
||||
}
|
||||
|
||||
private byte[] ArchivoBytesArrya(string ArchivoNombre)
|
||||
{
|
||||
string ArchivoEnviar = string.Format(@"{0}Formatos\{1}", UsuarioActual.Empresa.Ruta, ArchivoNombre);
|
||||
if (File.Exists(ArchivoEnviar))
|
||||
{
|
||||
System.IO.FileStream fs = System.IO.File.Open(ArchivoEnviar, System.IO.FileMode.Open, System.IO.FileAccess.Read);
|
||||
byte[] buff = new byte[fs.Length + 1];
|
||||
if (fs.Length > 0)
|
||||
{
|
||||
fs.Read(buff, 0, (fs.Length.ToString().ToEntero() - 1));
|
||||
fs.Close();
|
||||
}
|
||||
return buff;
|
||||
}
|
||||
|
||||
return new byte[] { };
|
||||
}
|
||||
|
||||
}
|
||||
@@ -4,6 +4,21 @@
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||
<style>
|
||||
.divArchivo {
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.divArchivo a {
|
||||
color: #659be0;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.divArchivo a i {
|
||||
font-size: 32px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
.mypaste:before {
|
||||
content: "Pegar aquí";
|
||||
}
|
||||
@@ -53,7 +68,8 @@
|
||||
tr[hide="1"] {
|
||||
display: none;
|
||||
}
|
||||
.addropzone {
|
||||
|
||||
.addropzone {
|
||||
min-height: 130px;
|
||||
}
|
||||
</style>
|
||||
@@ -61,6 +77,7 @@
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
||||
<asp:UpdatePanel ID="UpTituloPagina" runat="server">
|
||||
<ContentTemplate>
|
||||
Minuta:
|
||||
<asp:Literal runat="server" ID="ltlTituloPage"></asp:Literal>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
@@ -80,8 +97,7 @@
|
||||
<ContentTemplate>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
|
||||
<div class="col-md-6">
|
||||
<asp:Panel runat="server" ID="portletMinuta" class="portlet light smmallpadding bordered">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
@@ -104,101 +120,529 @@
|
||||
<asp:Label runat="server" Text="Descripción" AssociatedControlID="TxtDescripcion"></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
|
||||
<asp:Panel runat="server" ID="portletArchivo" class="portlet light smmallpadding bordered">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="fa fa-file-archive-o font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Archivo</span>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<div class="btn-group">
|
||||
<asp:Panel ID="pnlmiembrosvista" Visible="false" runat="server">
|
||||
<div class="pnlCorreo" style="margin-bottom: 5px;">
|
||||
<div class="headerCorreo ">
|
||||
<h3 class="panel-title ">Moderador:</h3>
|
||||
</div>
|
||||
<div class="bodycorreos ">
|
||||
<asp:Literal ID="LtlDeUser" runat="server"></asp:Literal>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
<div class="pnlCorreo" style="margin-bottom: 5px;">
|
||||
<div class="headerCorreo ">
|
||||
<h3 class="panel-title ">Participantes:</h3>
|
||||
</div>
|
||||
<div class="bodycorreos ">
|
||||
<asp:Literal ID="LtlCCPara" runat="server"></asp:Literal>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body rowpadding filediv">
|
||||
<asp:TextBox ID="TxtArchivo" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
|
||||
<div class="divArchivo">
|
||||
<asp:HyperLink ID="HypArchivo" runat="server" Target="_blank">
|
||||
<asp:Literal ID="LtlArchivo" runat="server"></asp:Literal><br />
|
||||
<i class="fa fa-download"></i>
|
||||
</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
</asp:Panel>
|
||||
<asp:Panel runat="server" ID="portletUserNew" class="portlet light smmallpadding bordered">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="icon-pin font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Miembros</span>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="text-center">
|
||||
<asp:LinkButton ID="LnkGuardar" runat="server" OnClick="LnkGuardar_Click" CssClass="btn btn-primary">Guardar</asp:LinkButton>
|
||||
<asp:LinkButton ID="LnkEnviarMinuta" Visible="false" runat="server" OnClick="LnkEnviarMinuta_Click" CssClass="btn btn-primary">Enviar Minuta</asp:LinkButton>
|
||||
<asp:LinkButton ID="LnkTerminar_EnviarMinuta" Visible="false" runat="server" OnClick="LnkTerminarMinuta_Click" CssClass="btn btn-primary">Terminar y Enviar Minuta</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<asp:Panel runat="server" ID="portletArchivo" class="portlet light smmallpadding bordered">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="fa fa-file-archive-o font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Archivo</span>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<div class="btn-group">
|
||||
</div>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body rowpadding filediv">
|
||||
<asp:TextBox ID="TxtArchivo" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
|
||||
<div class="divArchivo">
|
||||
<asp:HyperLink ID="HypArchivo" runat="server" Target="_blank">
|
||||
<asp:Literal ID="LtlArchivo" runat="server"></asp:Literal><br />
|
||||
<i class="fa fa-download"></i>
|
||||
</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
</div>
|
||||
<div class="portlet-body rowpadding">
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList runat="server" ID="DdlRoles" DataValueField="CveRol" DataTextField="Rol" CssClass="select2me form-control ddlrol" Width="100%" onchange="ddlRol_Onchange();" />
|
||||
<asp:Label runat="server" Text="Perfil:" AssociatedControlID="DdlRoles"></asp:Label>
|
||||
</div>
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList runat="server" ID="DdlSucursales" DataValueField="CveProyecto" DataTextField="SubProyecto" CssClass="select2me form-control ddlsucursal" Width="100%" onchange="DdlSucursales_Onchange();" />
|
||||
<asp:Label runat="server" Text="Sucursales:" AssociatedControlID="DdlSucursales"></asp:Label>
|
||||
</div>
|
||||
<%--<div class="form-group form-md-line-input">
|
||||
<div class="col-md-6">
|
||||
|
||||
<asp:Panel runat="server" ID="portletUserNew" class="portlet light smmallpadding bordered">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="icon-pin font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Miembros</span>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body rowpadding">
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList runat="server" ID="DdlRoles" DataValueField="CveRol" DataTextField="Rol" CssClass="select2me form-control ddlrol" Width="100%" onchange="ddlRol_Onchange();" />
|
||||
<asp:Label runat="server" Text="Perfil:" AssociatedControlID="DdlRoles"></asp:Label>
|
||||
</div>
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList runat="server" ID="DdlSucursales" DataValueField="CveProyecto" DataTextField="SubProyecto" CssClass="select2me form-control ddlsucursal" Width="100%" onchange="DdlSucursales_Onchange();" />
|
||||
<asp:Label runat="server" Text="Sucursales:" AssociatedControlID="DdlSucursales"></asp:Label>
|
||||
</div>
|
||||
<%--<div class="form-group form-md-line-input">
|
||||
<asp:TextBox ID="TxtUsuario" runat="server" CssClass="form-control TxtUsuario" CausesValidation="true"></asp:TextBox>
|
||||
<asp:Label runat="server" Text="Usuario" AssociatedControlID="TxtUsuario"></asp:Label>
|
||||
</div>--%>
|
||||
|
||||
|
||||
<div class="text-right" style="">
|
||||
<asp:TextBox ID="TxtUsuario" runat="server" CssClass="form-control input-sm TxtUsuario" Style="display: inline-block; margin-right: -20px; width: 150px;" CausesValidation="true"></asp:TextBox>
|
||||
<a href="javascript:;" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||
</div>
|
||||
<asp:GridView ID="GVUsuarios" runat="server" AutoGenerateColumns="false" DataKeyNames="CveUsuario,Nombre,Correo,Empresa,CveRol,CveSubProyecto"
|
||||
CssClass="table table-striped table-advance table-hover Widthall ScrollAD GVUsuarios" GridLines="None" data-height="200"
|
||||
OnRowDataBound="GVUsuarios_RowDataBound">
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<ItemStyle HorizontalAlign="Center" Width="50px" />
|
||||
<HeaderTemplate>
|
||||
<a id="chkAll" onclick="chkAll_OncLick(1);" class="linkCorreo" data-toggle="tooltip" title="Seleccionar todos(Visibles)"><i class="fa fa-check-square"></i></a>
|
||||
<a id="UnchkAll" onclick="chkAll_OncLick(0);" class="linkCorreo" data-toggle="tooltip" title="Quitar seleccion todos(Visibles)"><i class="fa fa-check-square-o"></i></a>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="ChkOk" CssClass="ChkOk" Checked="false" runat="server" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>Usuario</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlNombre" runat="server" Text='<%# Eval("Nombre") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>Rol</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlRol" runat="server" Text='<%# Eval("Rol") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<div class="text-right" style="">
|
||||
<asp:TextBox ID="TxtUsuario" runat="server" CssClass="form-control input-sm TxtUsuario" Style="display: inline-block; margin-right: -20px; width: 150px;" CausesValidation="true"></asp:TextBox>
|
||||
<a href="javascript:;" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||
</div>
|
||||
<asp:GridView ID="GVUsuarios" runat="server" AutoGenerateColumns="false" DataKeyNames="CveUsuario,Nombre,Correo,Empresa,CveRol,CveSubProyecto"
|
||||
CssClass="table table-striped table-advance table-hover Widthall ScrollAD GVUsuarios" GridLines="None" data-height="200"
|
||||
OnRowDataBound="GVUsuarios_RowDataBound">
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<ItemStyle HorizontalAlign="Center" Width="50px" />
|
||||
<HeaderTemplate>
|
||||
<a id="chkAll" onclick="chkAll_OncLick(1);" class="linkCorreo" data-toggle="tooltip" title="Seleccionar todos(Visibles)"><i class="fa fa fa-check-square-o"></i></a>
|
||||
<a id="UnchkAll" onclick="chkAll_OncLick(0);" class="linkCorreo" data-toggle="tooltip" title="Quitar seleccion todos(Visibles)"><i class="fa fa-square-o"></i></a>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="ChkOk" CssClass="ChkOk" Checked="false" runat="server" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>Usuario</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlNombre" runat="server" Text='<%# Eval("Nombre") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>Rol</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlRol" runat="server" Text='<%# Eval("Rol") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
</div>
|
||||
<ajax:TabContainer ID="Tab" runat="server" ActiveTabIndex="0" Width="100%">
|
||||
<ajax:TabPanel ID="TabAcuerdos" runat="server" HeaderText="Acuerdos">
|
||||
<ContentTemplate>
|
||||
|
||||
<asp:UpdatePanel ID="UpChkList" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:Panel runat="server" ID="portletChekList" Visible="true" class="portlet light smmallpadding bordered" DefaultButton="LnkAgregarchklistitem">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="fa fa-check-square-o font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Acuerdos <span id="Contador"></span></span>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body rowpadding">
|
||||
<div style="display: none;">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="form-group form-md-line-input">
|
||||
<%--<asp:TextBox ID="TxtActividad" runat="server" CssClass="form-control ckeditor" TextMode="MultiLine" Rows="3" CausesValidation="true"></asp:TextBox>--%>
|
||||
<asp:TextBox ID="TxtActividad" runat="server" CssClass="form-control" CausesValidation="true"></asp:TextBox>
|
||||
<asp:Label runat="server" Text="Acuerdo" AssociatedControlID="TxtActividad"></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<asp:Button ID="LnkSinfuncion" OnClick="LnkSinfuncion_Click" UseSubmitBehavior="false" CssClass="btn btn-default LnkSinfuncion hidden" runat="server"></asp:Button>
|
||||
<asp:LinkButton ID="LnkAgregarchklistitem" OnClick="LnkAgregarchklistitem_Click" CssClass="btn btn-default" runat="server">Agregar</asp:LinkButton>
|
||||
<%--<a class="btn btn-default">Agregar</a>--%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<asp:GridView ID="GVcheklist" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall GVcheklist" AutoGenerateColumns="False"
|
||||
DataKeyNames="CveEventoCheckList,CveEvento,CveTipoEvento,EventoComentario,Estatus,CveUsuario,Usuario,FechaIng">
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="" ItemStyle-Width="30">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="ChkEstatus" Text=" " OnCheckedChanged="ChkEstatus_CheckedChanged" runat="server" data-valor='<%# Extensiones.ModExtensiones.Encripta(Eval("CveEventoCheckList").ToString())%>' Checked='<%# Eval("Estatus")%>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Acuerdo">
|
||||
<ItemTemplate>
|
||||
<%--<pre>--%>
|
||||
<span class="pre">
|
||||
<asp:Literal ID="lbleventoComentario" runat="server" Text='<%# Eval("EventoComentario")%>'> </asp:Literal>
|
||||
</span>
|
||||
<%--</pre>--%>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="30" Visible="false">
|
||||
<ItemTemplate>
|
||||
<%--<asp:LinkButton data-toggle="tooltip" title="Editar" ID="LnkEditar" OnClick="LnkEditarCheck_Click" CssClass="btn btn-circle btn-sm green" runat="server" Text="<i class='fa fa-pencil'></i>"></asp:LinkButton>--%>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="30">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="LnkD" runat="server" OnClick="LnkEliminarchek_Click" CssClass="btn btn-circle btn-sm red" Text="<i class='icon-trash'></i>" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar el cheklist?" data-btn-ok-label="si" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-md-line-input ">
|
||||
<%--<asp:Label runat="server" Text="Acuerdos" AssociatedControlID="TxtAcuerdos"></asp:Label>--%>
|
||||
<asp:TextBox ID="TxtAcuerdos" runat="server" CssClass="form-control ADSckeditor" CausesValidation="true" TextMode="MultiLine" Rows="2"></asp:TextBox>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
</ContentTemplate>
|
||||
</ajax:TabPanel>
|
||||
<ajax:TabPanel ID="TabTareas" Visible="false" runat="server" HeaderText="Tareas">
|
||||
<ContentTemplate>
|
||||
|
||||
<asp:Panel runat="server" ID="portletTareas" class="portlet light smmallpadding bordered">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="icon-pin font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Tarea nueva</span>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body rowpadding">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:TextBox ID="TxtTareaAsunto" runat="server" CssClass="form-control" CausesValidation="true"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtTareaAsunto" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Asunto''</b> es necesario, por favor ingréselo." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label runat="server" Text="Asunto:" AssociatedControlID="TxtTareaAsunto"></asp:Label>
|
||||
</div>
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:TextBox ID="TxtTareaDescripcion" runat="server" CssClass="form-control" CausesValidation="true" TextMode="MultiLine" Rows="2"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtTareaDescripcion" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Descripción''</b> es necesario, por favor ingréselo." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label runat="server" Text="Descripción" AssociatedControlID="TxtTareaDescripcion"></asp:Label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<asp:TextBox ID="TxtTareaArchivo" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<div class="input-group form-group form-md-line-input date date-picker " data-date-format="dd/mm/yyyy hh:mm" style="display: inline-block;">
|
||||
<asp:TextBox ID="txtTareaFechaI" runat="server" autocomplete="false" CssClass="form-control ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px "></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RFVtxtFechaI" runat="server" ControlToValidate="txtTareaFechaI" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Inicio''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label AssociatedControlID="txtTareaFechaI" runat="server" Text="Fecha Inicio"></asp:Label>
|
||||
<%--<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999 99:99" MaskType="DateTime" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>--%>
|
||||
<ajax:ValidatorCalloutExtender ID="VcoFechaI" runat="server" HighlightCssClass="vco" TargetControlID="RFVtxtFechaI" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="input-group form-group form-md-line-input date date-picker " data-date-format="dd/mm/yyyy hh:mm" style="display: inline-block;">
|
||||
<asp:TextBox ID="txtTareaFechaF" runat="server" autocomplete="false" CssClass="form-control ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px " placeholder=""></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RFVtxtFechaF" runat="server" ControlToValidate="txtTareaFechaF" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Fin''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label AssociatedControlID="txtTareaFechaF" runat="server" Text="Fecha Fin"></asp:Label>
|
||||
<%--<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999 99:99" MaskType="DateTime" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>--%>
|
||||
<ajax:ValidatorCalloutExtender ID="VcoFechaF" runat="server" HighlightCssClass="vco" TargetControlID="RFVtxtFechaF" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList ID="DdlTareaPrioridad" runat="server" CssClass="form-control select2me input-sm" Width="100%">
|
||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||
<asp:ListItem Text="Baja" Value="1" class="itembaja"></asp:ListItem>
|
||||
<asp:ListItem Text="Media" Value="2" class="itemmedia"></asp:ListItem>
|
||||
<asp:ListItem Text="Alta" Value="3" class="itemalta"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:RequiredFieldValidator ID="RFVPrioridad" runat="server" ControlToValidate="DdlTareaPrioridad" Display="None" ErrorMessage="El campo <b>''Prioridad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label runat="server" AssociatedControlID="DdlTareaPrioridad">Prioridad:</asp:Label>
|
||||
<ajax:ValidatorCalloutExtender ID="VCOPrio" runat="server" TargetControlID="RFVPrioridad" HighlightCssClass="vco" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList ID="DdlTareaPara" runat="server" CssClass="form-control select2me input-sm" DataValueField="CveUsuario" DataTextField="Nombre" Width="100%">
|
||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:Label runat="server" AssociatedControlID="DdlTareaPara">Para:</asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<asp:LinkButton ID="LnkAgregarTarea" OnClick="LnkAgregarTarea_Click" CssClass="btn btn-default" runat="server">Agregar</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%--//OIE.[CveEvento], OIE.[CveTipoEvento], OIE.[Folio], OIE.[Asunto], OIE.[Descripcion], OIE.[Prioridad], OIE.[CveUsuarioDe], OIE.[CveUsuarioPara],
|
||||
//OIE.[CveEventoEstatus], OIE.[FechaInicio], OIE.[FechaFin], OIE.[FechaRealTermino], OIE.[CveRevision], OIE.[Archivo], OIE.[FechaIng],
|
||||
//OIE.[CveUsuarioIng], OIE.[CveEmpresa], OIE.[CveUsuarioModifico], OIE.[Avance]--%>
|
||||
</div>
|
||||
<asp:GridView ID="GVTareas" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall" AutoGenerateColumns="False"
|
||||
DataKeyNames="Titulo,NombreRegistro,CveEvento,CveTipoEvento,Folio,Asunto,Descripcion,Prioridad,CveUsuarioDe,CveUsuarioPara,CveEventoEstatus,FechaInicio,FechaFin,FechaRealTermino,CveRevision,Archivo,FechaIng,CveUsuarioIng,CveEmpresa,CveUsuarioModifico,Avance">
|
||||
<Columns>
|
||||
<%--<asp:TemplateField HeaderText="Folio">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblfolio" runat="server" Text='<%# Eval("Folio")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField HeaderText="Asunto">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("Asunto")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Descripción">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("Descripcion")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Para">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("UserPara")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Fecha Inicio">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("FechaInicio","{0:dd/MM/yyyy HH}:{0:mm}")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Fecha Fin">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("FechaFin","{0:dd/MM/yyyy HH}:{0:mm}")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Estatus">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("EventoEstatus")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
|
||||
</asp:Panel>
|
||||
</ContentTemplate>
|
||||
</ajax:TabPanel>
|
||||
<ajax:TabPanel ID="TabAgendas" Visible="false" runat="server" HeaderText="Agendas">
|
||||
<ContentTemplate>
|
||||
|
||||
<asp:Panel runat="server" ID="Panel1" class="portlet light smmallpadding bordered">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="icon-pin font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Agenda nueva</span>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body rowpadding">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:TextBox ID="TxtAgendaAsunto" runat="server" CssClass="form-control" CausesValidation="true"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="rfvAgendaAsunto" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtAgendaAsunto" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Asunto''</b> es necesario, por favor ingréselo." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label runat="server" Text="Asunto:" AssociatedControlID="TxtAgendaAsunto"></asp:Label>
|
||||
</div>
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:TextBox ID="TxtAgendaDescripcion" runat="server" CssClass="form-control" CausesValidation="true" TextMode="MultiLine" Rows="2"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="rfvAgendaDescripcion" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtAgendaDescripcion" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Descripción''</b> es necesario, por favor ingréselo." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label runat="server" Text="Descripción" AssociatedControlID="TxtAgendaDescripcion"></asp:Label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<asp:TextBox ID="TxtAgendaArchivo" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<div class="input-group form-group form-md-line-input date date-picker " data-date-format="dd/mm/yyyy hh:mm" style="display: inline-block;">
|
||||
<asp:TextBox ID="txtAgendaFechaI" runat="server" autocomplete="false" CssClass="form-control ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px "></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="rfvAgendaFechaI" runat="server" ControlToValidate="txtAgendaFechaI" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Inicio''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label AssociatedControlID="txtAgendaFechaI" runat="server" Text="Fecha Inicio"></asp:Label>
|
||||
<%--<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999 99:99" MaskType="DateTime" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>--%>
|
||||
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" HighlightCssClass="vco" TargetControlID="rfvAgendaFechaI" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList ID="DdlAgendaTipo" runat="server" CssClass="form-control select2me input-sm" Width="100%">
|
||||
<asp:ListItem Selected="True" Text="Sin Tipo" Value="-1"></asp:ListItem>
|
||||
<asp:ListItem Text="Llamar" Value="1"></asp:ListItem>
|
||||
<asp:ListItem Text="Otro" Value="4"></asp:ListItem>
|
||||
<asp:ListItem Text="Presupuestar" Value="3"></asp:ListItem>
|
||||
<asp:ListItem Text="Visitar" Value="2"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:Label runat="server" AssociatedControlID="DdlAgendaTipo">Agenda Tipo:</asp:Label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-sm-3" style="display: none;">
|
||||
<div class="input-group form-group form-md-line-input date date-picker " data-date-format="dd/mm/yyyy hh:mm" style="display: inline-block;">
|
||||
<asp:TextBox ID="txtAgendaFechaF" runat="server" autocomplete="false" CssClass="form-control ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px " placeholder=""></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RfvAgendaFechaF" runat="server" ControlToValidate="txtAgendaFechaF" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Fin''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label AssociatedControlID="txtAgendaFechaF" runat="server" Text="Fecha Fin"></asp:Label>
|
||||
<%--<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999 99:99" MaskType="DateTime" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>--%>
|
||||
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" HighlightCssClass="vco" TargetControlID="RfvAgendaFechaF" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList ID="DdlAgendaPrioridad" runat="server" CssClass="form-control select2me input-sm" Width="100%">
|
||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||
<asp:ListItem Text="Baja" Value="1" class="itembaja"></asp:ListItem>
|
||||
<asp:ListItem Text="Media" Value="2" class="itemmedia"></asp:ListItem>
|
||||
<asp:ListItem Text="Alta" Value="3" class="itemalta"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:RequiredFieldValidator ID="RfvAgendaPrioridad" runat="server" ControlToValidate="DdlAgendaPrioridad" Display="None" ErrorMessage="El campo <b>''Prioridad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label runat="server" AssociatedControlID="DdlAgendaPrioridad">Prioridad:</asp:Label>
|
||||
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" TargetControlID="RfvAgendaPrioridad" HighlightCssClass="vco" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:DropDownList ID="DdlAgendaPara" runat="server" CssClass="form-control select2me input-sm" DataValueField="CveUsuario" DataTextField="Nombre" Width="100%">
|
||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:Label runat="server" AssociatedControlID="DdlAgendaPara">Para:</asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<asp:LinkButton ID="LnkAgregarAgenda" OnClick="LnkAgregarAgenda_Click" CssClass="btn btn-default" runat="server">Agregar</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<asp:GridView ID="GvAgenda" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall" AutoGenerateColumns="False"
|
||||
DataKeyNames="Titulo,NombreRegistro,CveEvento,CveTipoEvento,Folio,Asunto,Descripcion,Prioridad,CveUsuarioDe,CveUsuarioPara,CveEventoEstatus,FechaInicio,FechaFin,FechaRealTermino,CveRevision,Archivo,FechaIng,CveUsuarioIng,CveEmpresa,CveUsuarioModifico,Avance">
|
||||
<Columns>
|
||||
<%--<asp:TemplateField HeaderText="Folio">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblfolio" runat="server" Text='<%# Eval("Folio")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField HeaderText="Asunto">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("Asunto")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Descripción">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("Descripcion")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Para">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("UserPara")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Fecha Inicio">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("FechaInicio","{0:dd/MM/yyyy HH}:{0:mm}")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Estatus">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("EventoEstatus")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Tipo">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Text='<%# Eval("AgendaTipo")%>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</asp:Panel>
|
||||
</ContentTemplate>
|
||||
</ajax:TabPanel>
|
||||
<ajax:TabPanel ID="TabArchivos" Visible="false" runat="server" HeaderText="Archivos y bitacora">
|
||||
<ContentTemplate>
|
||||
|
||||
<asp:UpdatePanel ID="UpActividades" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="form-group form-md-line-input">
|
||||
<asp:TextBox ID="TxtComentario" runat="server" CssClass="form-control" CausesValidation="true" TextMode="MultiLine" Rows="1"></asp:TextBox>
|
||||
<asp:Label runat="server" Text="Agregar Comentario" AssociatedControlID="TxtComentario"></asp:Label>
|
||||
</div>
|
||||
<asp:TextBox ID="Txtfilecomentario" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<asp:LinkButton ID="BtnAgregarComentario" OnClick="BtnAgregarComentario_Click" CssClass="btn btn-default" runat="server">Agregar</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<asp:GridView ID="GvActividades" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-advance table-hover Widthall ScrollAD GvActividades"
|
||||
OnRowDataBound="GvActividades_RowDataBound"
|
||||
GridLines="None">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="FechaIng" DataFormatString="{0:dd/MM/yyyy HH:mm}" HeaderText="Fecha">
|
||||
<ItemStyle Width="90px" HorizontalAlign="Center" />
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="NombreUsuario" DataFormatString=" {0}" HeaderText="Usuario">
|
||||
<ItemStyle Width="200px" />
|
||||
</asp:BoundField>
|
||||
<%--<asp:BoundField DataField="EventoComentario" DataFormatString=" {0}" HeaderText="Observación"></asp:BoundField>--%>
|
||||
<asp:TemplateField HeaderText="Observación">
|
||||
<ItemTemplate>
|
||||
<asp:Literal runat="server" Text='<%# Eval("EventoComentario").ToString().Replace("\n","<br/>") %>'></asp:Literal>
|
||||
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="">
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink Target="_blank" ID="HplA" runat="server"><i class="fa fa-download"></i></asp:HyperLink>
|
||||
<%--<asp:ImageButton ID="ImBtnPub" ToolTip="Publicar Documento" Visible="False" ImageUrl="/Imagenes/PublicarDoc.jpg" Height="18px" runat="server" />--%>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center" Width="40px" />
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<RowStyle CssClass="Texto" />
|
||||
<AlternatingRowStyle CssClass="TextoAlterno" />
|
||||
<HeaderStyle CssClass="Titulos" />
|
||||
</asp:GridView>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</ContentTemplate>
|
||||
</ajax:TabPanel>
|
||||
</ajax:TabContainer>
|
||||
</div>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<script src="/Metronic/assets/global/plugins/ckeditor/ckeditor.js" type="text/javascript"></script>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
||||
|
||||
<script>
|
||||
////////////////////////////////////////////////Filtros Usuarios////////////////////////////////////////
|
||||
let CveRol = -1;
|
||||
let CveSucursal = -1;
|
||||
let usuariotext = "";
|
||||
@@ -245,6 +689,7 @@
|
||||
//e.Row.Attributes.Add("data-rol", CveRol);
|
||||
//e.Row.Attributes.Add("data-sucursal", CveRol);
|
||||
}
|
||||
|
||||
function loadeventos() {
|
||||
let input = $('input.TxtUsuario:not(.ConEvento)')
|
||||
|
||||
@@ -257,9 +702,77 @@
|
||||
});
|
||||
input.addClass('ConEvento');
|
||||
}
|
||||
////////////////////////////////////////////////Filtros Usuarios////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////CheckList/////////////////////////////////////////
|
||||
|
||||
function setchecklist() {
|
||||
let checks = $('.GVcheklist input[type="checkbox"]:not(.chadd)');
|
||||
checks.change(function () {
|
||||
loaderinit = (function () { });
|
||||
let ischeked = $(this).is(':checked');
|
||||
$(this).closest('tr').toggleClass('finished');
|
||||
if ($(".LnkSinfuncion").length) { $(".LnkSinfuncion").click(); }
|
||||
});
|
||||
checks.addClass('chadd');
|
||||
}
|
||||
//////////////////////////////////////////////////////CheckList/////////////////////////////////////////
|
||||
|
||||
function CargaPickers() {
|
||||
$.datetimepicker.setLocale('es');
|
||||
$('input.ADDateTimePicker').each(function () {
|
||||
var TThis = $(this);
|
||||
TThis.datetimepicker({
|
||||
dayOfWeekStart: 1,
|
||||
lang: 'es',
|
||||
format: 'd/m/Y H:i',
|
||||
formatDate: 'd/m/Y H:i',
|
||||
step: 30
|
||||
});
|
||||
var Div = TThis.parent()
|
||||
var boton = document.createElement('span');
|
||||
boton.className = "input-group-btn"
|
||||
|
||||
var subboton = document.createElement('a')
|
||||
subboton.className = "btn default btnCalendar"
|
||||
subboton.innerHTML = "<i class='fa fa-calendar'></i>"
|
||||
subboton.addEventListener('click', function () {
|
||||
TThis.datetimepicker('show')
|
||||
});
|
||||
boton.appendChild(subboton)
|
||||
|
||||
var agregar = true;
|
||||
for (var i = 0; i < Div[0].children.length; i++) {
|
||||
if (Div[0].children[i].isEqualNode(boton)) {
|
||||
agregar = false;
|
||||
}
|
||||
}
|
||||
if (agregar) {
|
||||
Div[0].appendChild(boton);
|
||||
}
|
||||
//Div[0].appendChild(boton)
|
||||
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
function SetEditor() {
|
||||
}
|
||||
function GetContents() {
|
||||
// Get the editor instance that you want to interact with.
|
||||
var editor = CKEDITOR.instances.editor1;
|
||||
|
||||
// Get editor content.
|
||||
// https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getData
|
||||
alert(editor.getData());
|
||||
}
|
||||
|
||||
|
||||
function ADSReady() {
|
||||
SetEditor();
|
||||
CargaPickers();
|
||||
loadeventos();
|
||||
showhideUser()
|
||||
showhideUser();
|
||||
setchecklist();
|
||||
}
|
||||
</script>
|
||||
</asp:Content>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
|
||||
<li>
|
||||
<asp:HyperLink runat="server" NavigateUrl="/OI/Minutas.aspx"><i class="fa fa-plus"></i>Crear Minuta</asp:HyperLink>
|
||||
<asp:HyperLink runat="server" NavigateUrl="/OI/MinutaDetalle.aspx"><i class="fa fa-plus"></i>Crear Minuta</asp:HyperLink>
|
||||
</li>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
|
||||
<li>
|
||||
<a href="/OI/EventoDetalle.aspx?CveTipoEvento=1"><i class="fa fa-plus"></i>Nueva Tarea</a>
|
||||
<a href="/OI/TareaDetalle.aspx?CveTipoEvento=1"><i class="fa fa-plus"></i>Nueva Tarea</a>
|
||||
</li>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
|
||||
@@ -139,27 +139,45 @@
|
||||
<asp:Literal ID="ImgAsunto0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="150px">
|
||||
<%--<th width="150px">
|
||||
<asp:LinkButton ID="LbComentario" runat="server" CausesValidation="False" Text="" CommandArgument="Comentario0;0" OnClick="LbOrden_Click">
|
||||
Comentario
|
||||
<asp:Literal ID="ImgComentario0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
</th>--%>
|
||||
<th width="80px">
|
||||
<asp:LinkButton ID="LbPrioridad" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LbOrden_Click">
|
||||
Prioridad
|
||||
<asp:Literal ID="ImgPrioridad0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="50px">
|
||||
<%--<th width="80px">
|
||||
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
|
||||
Tema
|
||||
<asp:Literal ID="Literal1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>--%>
|
||||
<th width="80px">
|
||||
<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
|
||||
Fecha Inicio
|
||||
<asp:Literal ID="Literal2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="80px">
|
||||
<asp:LinkButton ID="LinkButton3" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
|
||||
Fecha Fin
|
||||
<asp:Literal ID="Literal3" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<%--<th width="50px">
|
||||
<asp:LinkButton ID="LbOrden" runat="server" CausesValidation="False" Text="" CommandArgument="Orden0;0" OnClick="LbOrden_Click">
|
||||
Orden
|
||||
<asp:Literal ID="ImgOrden0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
</th>--%>
|
||||
<th width="150px">
|
||||
<asp:LinkButton ID="LbRevision" runat="server" CausesValidation="False" Text="" CommandArgument="Revision0;0" OnClick="LbOrden_Click">
|
||||
Revisión
|
||||
Tema
|
||||
<asp:Literal ID="ImgRevision0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
@@ -175,12 +193,12 @@
|
||||
<asp:Literal ID="ImgEventoEstatus0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="100px" runat="server" id="ThEmpresa" visible="false">
|
||||
<%--<th width="100px" runat="server" id="ThEmpresa" visible="false">
|
||||
<asp:LinkButton ID="LbEmpresa" runat="server" CausesValidation="False" Text="" CommandArgument="Empresa;0" OnClick="LbOrden_Click">
|
||||
Empresa
|
||||
<asp:Literal ID="ImgEmpresa0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
</th>--%>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
@@ -204,21 +222,36 @@
|
||||
<asp:Literal ID="LtlAsunto" runat="server" Text='<%# Eval("Asunto")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="150">
|
||||
<%--<asp:TemplateField ItemStyle-Width="150">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlComentario" runat="server" Text='<%# Eval("Comentario")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField ItemStyle-Width="80">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlPrioridad" runat="server" Text='<%# Eval("Prioridad")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="50">
|
||||
<%--<asp:TemplateField ItemStyle-Width="80">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlRevision" runat="server" Text='<%# Eval("Revision")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField ItemStyle-Width="80">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlFI" runat="server" Text='<%# Eval("FechaInicio", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="80">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlFF" runat="server" Text='<%# Eval("FechaFin", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:TemplateField ItemStyle-Width="50">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlOrden" runat="server" Text='<%# Eval("Orden", "{0:N0}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField ItemStyle-Width="150">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlRevision" runat="server" Text='<%# Eval("Revision")%>'></asp:Literal>
|
||||
@@ -234,11 +267,11 @@
|
||||
<asp:Literal ID="LtlEventoEstatus" runat="server" Text='<%# Eval("EventoEstatus")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="100" Visible="false">
|
||||
<%--<asp:TemplateField ItemStyle-Width="100" Visible="false">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlEmpresa" runat="server" Text='<%# Eval("Empresa")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</asp:TemplateField>--%>
|
||||
</Columns>
|
||||
<AlternatingRowStyle CssClass="TextoAlterno" />
|
||||
<RowStyle CssClass="Texto" />
|
||||
@@ -261,7 +294,7 @@
|
||||
<input type="text" id="TxtBusqueda2" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvDatosOIEventosTareasCCP.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvDatosOIEventosTareasCCP.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||
</div>
|
||||
<table class="table table-striped table-advance table-hover">
|
||||
<table class="table table-striped table-advance table-hover Widthall">
|
||||
<thead>
|
||||
<tr class="Titulos">
|
||||
<th width="40px">
|
||||
@@ -290,13 +323,25 @@
|
||||
<asp:Literal ID="ImgPrioridad1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="120px">
|
||||
<%--<th width="120px">
|
||||
<asp:LinkButton ID="LbOrden1" runat="server" CausesValidation="False" Text="Orden" CommandArgument="Orden1;1" OnClick="LbOrden_Click">
|
||||
<asp:Literal ID="ImgOrden1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>--%>
|
||||
<th width="80px">
|
||||
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
|
||||
Fecha Inicio
|
||||
<asp:Literal ID="Literal1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="80px">
|
||||
<asp:LinkButton ID="LinkButton4" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
|
||||
Fecha Fin
|
||||
<asp:Literal ID="Literal4" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="120px">
|
||||
<asp:LinkButton ID="LbRevision1" runat="server" CausesValidation="False" Text="Revisión" CommandArgument="Revision1;1" OnClick="LbOrden_Click">
|
||||
<asp:LinkButton ID="LbRevision1" runat="server" CausesValidation="False" Text="Tema" CommandArgument="Revision1;1" OnClick="LbOrden_Click">
|
||||
<asp:Literal ID="ImgRevision1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
@@ -316,7 +361,7 @@
|
||||
|
||||
<asp:UpdatePanel ID="UPDatosOIEventosTareasCCP" runat="server" style="overflow-y:auto;" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:GridView ID="GvDatosOIEventosTareasCCP" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="false" CssClass="table table-striped table-advance table-hover" Style="margin-top: -10px; text-align: center;" GridLines="None">
|
||||
<asp:GridView ID="GvDatosOIEventosTareasCCP" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="false" CssClass="table table-striped table-advance table-hover Widthall" Style="margin-top: -10px; text-align: center;" GridLines="None">
|
||||
<Columns>
|
||||
<asp:TemplateField ItemStyle-Width="40">
|
||||
<ItemTemplate>
|
||||
@@ -343,10 +388,20 @@
|
||||
<asp:Literal ID="LtlPrioridad" runat="server" Text='<%# Eval("Prioridad")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="120">
|
||||
<%--<asp:TemplateField ItemStyle-Width="120">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlOrden" runat="server" Text='<%# Eval("Orden", "{0:N0}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField ItemStyle-Width="80">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlFI" runat="server" Text='<%# Eval("FechaInicio", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="80">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlFF" runat="server" Text='<%# Eval("FechaFin", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="120">
|
||||
<ItemTemplate>
|
||||
@@ -385,7 +440,7 @@
|
||||
<input type="text" id="TxtBusqueda3" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda3','{0}')", GvDatosOIEventosTareasAsigne.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda3','{0}')", GvDatosOIEventosTareasAsigne.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||
</div>
|
||||
<table class="table table-striped table-advance table-hover">
|
||||
<table class="table table-striped table-advance table-hover Widthall">
|
||||
<thead>
|
||||
<tr class="Titulos">
|
||||
<th width="40px">
|
||||
@@ -408,14 +463,27 @@
|
||||
Prioridad
|
||||
<asp:Literal ID="ImgPrioridad2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton></th>
|
||||
<th width="120px">
|
||||
<%-- <th width="120px">
|
||||
<asp:LinkButton ID="LbOrden2" runat="server" CausesValidation="False" Text="" CommandArgument="Orden2;2" OnClick="LbOrden_Click">
|
||||
Orden
|
||||
<asp:Literal ID="ImgOrden2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton></th>
|
||||
</asp:LinkButton></th>--%>
|
||||
|
||||
<th width="80px">
|
||||
<asp:LinkButton ID="LinkButton5" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
|
||||
Fecha Inicio
|
||||
<asp:Literal ID="Literal5" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="80px">
|
||||
<asp:LinkButton ID="LinkButton6" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
|
||||
Fecha Fin
|
||||
<asp:Literal ID="Literal6" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</th>
|
||||
<th width="120px">
|
||||
<asp:LinkButton ID="LbRevision2" runat="server" CausesValidation="False" Text="" CommandArgument="Revision2;2" OnClick="LbOrden_Click">
|
||||
Revisión
|
||||
Tema
|
||||
<asp:Literal ID="ImgRevision2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton></th>
|
||||
<th width="150px">
|
||||
@@ -435,7 +503,7 @@
|
||||
|
||||
<asp:UpdatePanel ID="UPDatosOIEventosTareasAsigne" style="overflow-y:auto;" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:GridView ID="GvDatosOIEventosTareasAsigne" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="false" CssClass="table table-striped table-advance table-hover" Style="margin-top: -10px; text-align: center;" GridLines="None">
|
||||
<asp:GridView ID="GvDatosOIEventosTareasAsigne" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="false" CssClass="table table-striped table-advance table-hover Widthall" Style="margin-top: -10px; text-align: center;" GridLines="None">
|
||||
<Columns>
|
||||
<asp:TemplateField ItemStyle-Width="40">
|
||||
<ItemTemplate>
|
||||
@@ -457,10 +525,20 @@
|
||||
<asp:Literal ID="LtlPrioridad" runat="server" Text='<%# Eval("Prioridad")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="120">
|
||||
<%--<asp:TemplateField ItemStyle-Width="120">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlOrden" runat="server" Text='<%# Eval("Orden", "{0:N0}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:TemplateField ItemStyle-Width="80">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlFI" runat="server" Text='<%# Eval("FechaInicio", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="80">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlFF" runat="server" Text='<%# Eval("FechaFin", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="120">
|
||||
<ItemTemplate>
|
||||
|
||||
@@ -45,10 +45,10 @@ Partial Class OI_RepTareas
|
||||
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
||||
If Not Page.IsPostBack Then
|
||||
|
||||
If UsuarioActual.CveRol = 1 Then
|
||||
ThEmpresa.Visible = True
|
||||
GvDatosOIEventosTareasAsignaron.Columns(9).Visible = True
|
||||
End If
|
||||
'If UsuarioActual.CveRol = 1 Then
|
||||
' ThEmpresa.Visible = True
|
||||
' GvDatosOIEventosTareasAsignaron.Columns(9).Visible = True
|
||||
'End If
|
||||
|
||||
'ORDEN ASIGNADAS
|
||||
ViewState("Orden0") = ""
|
||||
@@ -150,8 +150,8 @@ Partial Class OI_RepTareas
|
||||
Protected Sub GvDatosOIEventosTareasAsignaron_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvDatosOIEventosTareasAsignaron.RowDataBound
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
|
||||
e.Row.FCLiteral("LtlUsuarioDe").Text = String.Format("<a Class=""Texto"" href=""/OI/EventoDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("UsuarioDe"))
|
||||
e.Row.FCLiteral("LtlAsunto").Text = String.Format("<a Class=""Texto"" href=""/OI/EventoDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("Asunto"))
|
||||
e.Row.FCLiteral("LtlUsuarioDe").Text = String.Format("<a Class=""Texto"" href=""/OI/TareaDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("UsuarioDe"))
|
||||
e.Row.FCLiteral("LtlAsunto").Text = String.Format("<a Class=""Texto"" href=""/OI/TareaDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("Asunto"))
|
||||
|
||||
e.Row.Attributes.Add("onclick", String.Format("Previo({0});", e.Row.DBCampo("CveEvento")))
|
||||
e.Row.Attributes.Add("onmouseover", "this.style.background='silver';this.style.cursor='pointer';")
|
||||
@@ -216,9 +216,9 @@ Partial Class OI_RepTareas
|
||||
End Sub
|
||||
Protected Sub GvDatosOIEventosTareasCCP_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvDatosOIEventosTareasCCP.RowDataBound
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
e.Row.FCLiteral("LtlUsuarioDe").Text = String.Format("<a class=""Texto"" href=""/OI/EventoDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("UsuarioDe"))
|
||||
e.Row.FCLiteral("LtlUsuarioPara").Text = String.Format("<a class=""Texto"" href=""/OI/EventoDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("UsuarioDe"))
|
||||
e.Row.FCLiteral("LtlAsunto").Text = String.Format("<a class=""Texto"" href=""/OI/EventoDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("Asunto"))
|
||||
e.Row.FCLiteral("LtlUsuarioDe").Text = String.Format("<a class=""Texto"" href=""/OI/TareaDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("UsuarioDe"))
|
||||
e.Row.FCLiteral("LtlUsuarioPara").Text = String.Format("<a class=""Texto"" href=""/OI/TareaDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("UsuarioDe"))
|
||||
e.Row.FCLiteral("LtlAsunto").Text = String.Format("<a class=""Texto"" href=""/OI/TareaDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("Asunto"))
|
||||
|
||||
e.Row.Attributes.Add("onclick", String.Format("Previo({0});", e.Row.DBCampo("CveEvento")))
|
||||
e.Row.Attributes.Add("onmouseover", "this.style.background='silver';this.style.cursor='pointer';")
|
||||
@@ -282,8 +282,8 @@ Partial Class OI_RepTareas
|
||||
End Sub
|
||||
Protected Sub GvDatosOIEventosTareasAsigne_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvDatosOIEventosTareasAsigne.RowDataBound
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
e.Row.FCLiteral("LtlUsuarioPara").Text = String.Format("<a class=""Texto"" href=""/OI/EventoDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("UsuarioPara"))
|
||||
e.Row.FCLiteral("LtlAsunto").Text = String.Format("<a class=""Texto"" href=""/OI/EventoDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("Asunto"))
|
||||
e.Row.FCLiteral("LtlUsuarioPara").Text = String.Format("<a class=""Texto"" href=""/OI/TareaDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("UsuarioPara"))
|
||||
e.Row.FCLiteral("LtlAsunto").Text = String.Format("<a class=""Texto"" href=""/OI/TareaDetalle.aspx?CveTipoEvento={0}&CveEvento={1}"">{2}</a>", e.Row.DBCampo("CveTipoEvento"), e.Row.DBCampo("CveEvento"), e.Row.DBCampo("Asunto"))
|
||||
|
||||
e.Row.Attributes.Add("onclick", String.Format("Previo({0});", e.Row.DBCampo("CveEvento")))
|
||||
e.Row.Attributes.Add("onmouseover", "this.style.background='silver';this.style.cursor='pointer';")
|
||||
@@ -393,4 +393,7 @@ Partial Class OI_RepTareas
|
||||
|
||||
|
||||
|
||||
Protected Sub LinkButton1_Click(sender As Object, e As EventArgs)
|
||||
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
@@ -214,7 +214,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="input-group form-group form-md-line-input date date-picker " data-date-format="dd/mm/yyyy hh:mm" style="display: inline-block;">
|
||||
<asp:TextBox ID="txtFechaI" runat="server" autocomplete="false" CssClass="form-control input-sm ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px "></asp:TextBox>
|
||||
<asp:TextBox ID="txtFechaI" runat="server" autocomplete="false" CssClass="form-control ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px "></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RFVtxtFechaI" runat="server" ControlToValidate="txtFechaI" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Inicio''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label AssociatedControlID="txtFechaI" runat="server" Text="Fecha Inicio"></asp:Label>
|
||||
<%--<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999 99:99" MaskType="DateTime" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>--%>
|
||||
@@ -223,7 +223,7 @@
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="input-group form-group form-md-line-input date date-picker " data-date-format="dd/mm/yyyy hh:mm" style="display: inline-block;">
|
||||
<asp:TextBox ID="txtFechaF" runat="server" autocomplete="false" CssClass="form-control input-sm ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px " placeholder=""></asp:TextBox>
|
||||
<asp:TextBox ID="txtFechaF" runat="server" autocomplete="false" CssClass="form-control ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px " placeholder=""></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RFVtxtFechaF" runat="server" ControlToValidate="txtFechaF" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Fin''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
<asp:Label AssociatedControlID="txtFechaF" runat="server" Text="Fecha Fin"></asp:Label>
|
||||
<%--<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999 99:99" MaskType="DateTime" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>--%>
|
||||
@@ -306,7 +306,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="30" Visible="false">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton data-toggle="tooltip" title="Editar" ID="LnkEditar" OnClick="LnkEditarCheck_Click" CssClass="btn btn-circle btn-sm green" runat="server" Text="<i class='fa fa-pencil'></i>"></asp:LinkButton>
|
||||
<%--<asp:LinkButton data-toggle="tooltip" title="Editar" ID="LnkEditar" OnClick="LnkEditarCheck_Click" CssClass="btn btn-circle btn-sm green" runat="server" Text="<i class='fa fa-pencil'></i>"></asp:LinkButton>--%>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="30">
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user