820 lines
58 KiB
Plaintext
820 lines
58 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="DesarrolloWizard.aspx.vb" Inherits="OI_DesarrolloWizard" EnableEventValidation="false" ValidateRequest="false" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
<%-- <style>
|
|
body{
|
|
font-size:15px;
|
|
}
|
|
.template{
|
|
min-width: 275px!important;
|
|
}
|
|
.marginFixRow{
|
|
margin-top:8px!important;
|
|
}
|
|
.marginRowLeft{
|
|
margin-left:10px!important;
|
|
}
|
|
.orange {
|
|
background-color: orangered;
|
|
}
|
|
|
|
</style>
|
|
<style>
|
|
.rownomargin {
|
|
margin-right: 0px;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.dataTables_scrollFoot {
|
|
display: none;
|
|
}
|
|
|
|
.table-scrollable {
|
|
margin: 0px !important;
|
|
}
|
|
|
|
.dataTables_scroll {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.table.dataTable {
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.dataTables_scrollBody table th {
|
|
padding: 0px !important;
|
|
padding-right: 4px !important;
|
|
padding-left: 4px !important;
|
|
}
|
|
|
|
.EncabezadosGV {
|
|
text-align: center;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.portlet-filter .portlet-body {
|
|
line-height: 1;
|
|
}
|
|
|
|
.colf-1, .colf-2, .colf-3 {
|
|
}
|
|
|
|
.paddintop {
|
|
margin-top: -2px;
|
|
}
|
|
|
|
label.colf-1 {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.colf-1 {
|
|
width: 7%;
|
|
float: left;
|
|
padding: 3px;
|
|
}
|
|
|
|
.colf-2 {
|
|
width: 14%;
|
|
float: left;
|
|
padding: 3px;
|
|
}
|
|
|
|
.colf-3 {
|
|
width: 21%;
|
|
float: left;
|
|
padding: 3px;
|
|
}
|
|
}
|
|
</style>--%>
|
|
<style type="text/css">
|
|
.nav-pills.nav-wizard > li {
|
|
position: relative;
|
|
overflow: visible;
|
|
border-right: 15px solid transparent !important;
|
|
border-left: 15px solid transparent !important;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li + li {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li:first-child {
|
|
border-left: 0 !important;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li:first-child a {
|
|
border-radius: 5px 0 0 5px !important;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li:last-child {
|
|
border-right: 0 !important;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li:last-child a {
|
|
border-radius: 0 5px 5px 0 !important;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li a {
|
|
border-radius: 0;
|
|
background-color: #eee;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li .nav-arrow {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: -20px;
|
|
width: 0px;
|
|
height: 0px;
|
|
border-style: solid;
|
|
border-width: 20px 0 20px 20px;
|
|
border-color: transparent transparent transparent #eee;
|
|
z-index: 0;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li .nav-wedge {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: -20px;
|
|
width: 0px;
|
|
height: 0px;
|
|
border-style: solid;
|
|
border-width: 20px 0 20px 20px;
|
|
border-color: #eee #eee #eee transparent;
|
|
z-index: 0;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li:hover .nav-arrow {
|
|
border-color: transparent transparent transparent #aaa;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li:hover .nav-wedge {
|
|
border-color: #aaa #aaa #aaa transparent;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li:hover a {
|
|
background-color: #aaa;
|
|
color: #fff;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li.active .nav-arrow {
|
|
border-color: transparent transparent transparent #428bca;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li.active .nav-wedge {
|
|
border-color: #428bca #428bca #428bca transparent;
|
|
}
|
|
|
|
.nav-pills.nav-wizard > li.active a {
|
|
background-color: #428bca !important;
|
|
}
|
|
</style>
|
|
|
|
<style type="text/css">
|
|
.radioButtonList { list-style:none; margin: 0; padding: 0;}
|
|
.radioButtonList.horizontal li { display: inline;}
|
|
|
|
.radioButtonList label{
|
|
display:inline;
|
|
}
|
|
</style>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
Desarrollo: <asp:label ID="LblDesarrollo" runat="server" ></asp:label>
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
|
|
|
|
|
|
|
|
|
|
</asp:Content>
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
<asp:UpdatePanel runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="portlet light" id="form_wizard_1">
|
|
|
|
<div class="caption">
|
|
<i class=" icon-layers font-red"></i>
|
|
<span class="caption-subject font-red bold uppercase">Asistente desarrollo - <span class="step-title">Paso 1 de 3 </span></span>
|
|
</div>
|
|
|
|
<div class="portlet-body form">
|
|
<div class="form-horizontal" id="submit_form">
|
|
<div class="form-wizard">
|
|
<div class="form-body" style="padding: 0px;">
|
|
<ul class="nav nav-pills nav-justified steps" style="padding: 0px;">
|
|
<li id="Htab1" runat="server" class="active">
|
|
<a href="#tab1" data-toggle="tab" class="step active">
|
|
<span class="number">
|
|
<asp:Literal ID="WLtl14" ClientIDMode="Static" runat="server" Text="1"></asp:Literal>
|
|
</span>
|
|
<span class="desc">
|
|
<i class="fa fa-check"></i>
|
|
<asp:Literal ID="WLtlText14" ClientIDMode="Static" runat="server" Text="Formato Técnico"></asp:Literal>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
|
|
<li id="Htab2" runat="server" visible="true">
|
|
<a href="#tab2" data-toggle="tab" class="step">
|
|
<span class="number">
|
|
<asp:Literal ID="WLtl24" ClientIDMode="Static" runat="server" Text="2"></asp:Literal>
|
|
</span>
|
|
<span class="desc">
|
|
<i class="fa fa-check"></i>
|
|
<asp:Literal ID="WLtlText24" ClientIDMode="Static" runat="server" Text="Pruebas"></asp:Literal>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li id="Htab3" runat="server" visible="true">
|
|
<a href="#tab3" data-toggle="tab" class="step">
|
|
<span class="number">
|
|
<asp:Literal ID="WLtl44" runat="server" ClientIDMode="Static" Text="3"></asp:Literal>
|
|
</span>
|
|
<span class="desc">
|
|
<i class="fa fa-check"></i>
|
|
<asp:Literal ID="WLtlText4" ClientIDMode="Static" runat="server" Text="Terminado"></asp:Literal>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div id="bar" class="progress progress-striped active" role="progressbar" style="margin-bottom: 5px;">
|
|
<div class="progress-bar progress-bar-success"></div>
|
|
</div>
|
|
|
|
<asp:UpdatePanel runat="server">
|
|
<ContentTemplate>
|
|
<asp:Button ID="btnBack" runat="server" CssClass="btn btn-primary" Text="< Regresar" Style="float: left" />
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
<asp:UpdatePanel runat="server">
|
|
<ContentTemplate>
|
|
<asp:Button ID="btnNext" runat="server" Style="float: right" CssClass="btn btn-primary" Text="Continuar >" />
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
<div class="tab-content" style="margin-top: 50px!important">
|
|
<div class="tab-pane active" id="tab1">
|
|
<table class="Widthall">
|
|
<tr>
|
|
<td class="Widthall">
|
|
<div class="col-md-12" id="DVFormatoTecnico" runat="server" visible="true">
|
|
|
|
<div class="portlet light smmallpadding bordered">
|
|
<div class="portlet-title font-green">
|
|
<div class="caption font-green">
|
|
<i class="fa fa-indent font-green"></i><span class="caption-subject bold uppercase">Formato Técnico</span>
|
|
</div>
|
|
<div class="tools">
|
|
<div style="display: inline-block">
|
|
<asp:UpdatePanel ID="UpModalTools" runat="server" UpdateMode="Conditional" >
|
|
<ContentTemplate>
|
|
<asp:LinkButton ID="LnkMostrarAdjuntos" runat="server" class="fa fa-paperclip fa-2x"></asp:LinkButton>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</div>
|
|
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portlet-body rowpadding">
|
|
|
|
<asp:UpdatePanel ID="UpFT" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
|
|
<div class="Widthall">
|
|
|
|
<b>Tareas</b>
|
|
<asp:GridView ID="GvFTTareas" DataKeyNames="CveDesarrolloDetalle,CveDesarrollo,CveDesarrolloDetalleTipo,Descripcion,DesarrolloDetalleTipo,CvePrioridad"
|
|
runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="true"
|
|
CssClass="table table-striped table-advance table-hover Widthall ScrollAD"
|
|
data-sort="true"
|
|
data-freezerows="1"
|
|
GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkEstatus" OnCheckedChanged="ChkTareas_Click" AutoPostBack="true" runat="server" Checked='<%# Eval("Estatus") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
|
|
<asp:TemplateField HeaderText="Tarea" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblDesarrollo" runat="server" Text='<%# Eval("Descripcion")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Prioridad" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="100">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblPrioridad" runat="server" Text='<%# Eval("CvePrioridad")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
</asp:GridView>
|
|
|
|
</div>
|
|
|
|
<div class="Widthall">
|
|
<b>Comprobaciones</b>
|
|
<asp:GridView ID="GvFTComprobaciones" DataKeyNames="CveDesarrolloDetalle,CveDesarrollo,CveDesarrolloDetalleTipo,Descripcion,DesarrolloDetalleTipo,CvePrioridad" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="true" CssClass="table table-striped table-advance table-hover Widthall ScrollAD"
|
|
data-sort="true"
|
|
data-freezerows="1"
|
|
GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkEstatus" OnCheckedChanged="ChkTareas_Click" AutoPostBack="true" runat="server" Checked='<%# Eval("Estatus") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Cmprobación" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblDesarrollo" runat="server" Text='<%# Eval("Descripcion")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Prioridad" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="100">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblPrioridad" runat="server" Text='<%# Eval("CvePrioridad")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
</asp:GridView>
|
|
</div>
|
|
|
|
<div class="Widthall">
|
|
|
|
<b>Recomendaciones</b>
|
|
<asp:GridView ID="GvFTRecomendaciones" DataKeyNames="CveDesarrolloDetalle,CveDesarrollo,CveDesarrolloDetalleTipo,Descripcion,DesarrolloDetalleTipo" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="true" CssClass="table table-striped table-advance table-hover Widthall ScrollAD"
|
|
data-sort="true"
|
|
data-freezerows="1"
|
|
GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left" Visible="false">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkEstatus" OnCheckedChanged="ChkTareas_Click" AutoPostBack="true" runat="server" Checked='<%# Eval("Estatus") %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Sugerencia" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblDesarrollo" runat="server" Text='<%# Eval("Descripcion")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
</asp:GridView>
|
|
</div>
|
|
|
|
<div class="Widthall">
|
|
<div class="Widthall" style="text-align: right">
|
|
<asp:LinkButton ID="LnkAgregarbubida" CssClass="Texto font-green" runat="server"><i class="fa fa-plus font-green"></i> Agregar Subida</asp:LinkButton>
|
|
</div>
|
|
<b>Subida</b>
|
|
<asp:GridView ID="GVSubida" DataKeyNames="CveSubida,Subida,CveSubidaTipo,DB,Tabla,Campo,Procedimiento,SubidaTipo,LlaveForanea,TipoDato,Script" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="true"
|
|
CssClass="table table-striped table-advance table-hover Widthall ScrollAD"
|
|
data-sort="true"
|
|
data-freezerows="1"
|
|
GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="Tipo" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlSubidaTipo" runat="server" Text='<%# Eval("SubidaTipo")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Subida" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlSubidaDescripcion" runat="server" Text='<%# Eval("Descripcion")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Usuario" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="150px" >
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlUsuario" runat="server" Text='<%# Eval("Usuario")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-HorizontalAlign="Right" ItemStyle-Width="100px" HeaderText="">
|
|
<ItemTemplate>
|
|
<asp:LinkButton ID="imgE" Width="28" runat="server" AlternateText="Editar" OnClick="EditSubida_Click" CausesValidation="False" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-pencil'></i>" />
|
|
<asp:LinkButton ID="imgD" Width="28" runat="server" AlternateText="Eliminar" OnClick="DeleteSubida_Click" CausesValidation="False" CssClass="btn btn-circle btn-sm red" Text="<i class='icon-trash'></i>" data-toggle="confirmation" data-popout="true" data-original-title="Confirmar" data-btn-ok-label="si" />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
</asp:GridView>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tab-pane" id="tab2" style="display:normal!important">
|
|
|
|
<table class="Widthall">
|
|
<tr>
|
|
<td class="Widthall">
|
|
|
|
<div class="col-md-12" id="DVPruebas" runat="server" visible="true">
|
|
<div class="portlet light smmallpadding bordered">
|
|
<div class="portlet-title font-green">
|
|
<div class="caption font-green">
|
|
<i class="fa fa-indent font-green"></i><span class="caption-subject bold uppercase">Pruebas</span>
|
|
</div>
|
|
<div class="tools">
|
|
<div style="display: inline-block">
|
|
</div>
|
|
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portlet-body rowpadding">
|
|
|
|
<asp:UpdatePanel ID="UpPruebas" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
|
|
<div class="Widthall">
|
|
<b>Pruebas Basicas</b>
|
|
<asp:GridView ID="GvPruebasBasicas" DataKeyNames="CveDesarrolloDetalle,CveDesarrollo,CveDesarrolloDetalleTipo,Descripcion,DesarrolloDetalleTipo,CvePrioridad" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="true"
|
|
CssClass="table table-striped table-advance table-hover Widthall ScrollAD"
|
|
data-sort="true"
|
|
data-freezerows="1"
|
|
GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="Prueba basica" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblDesarrollo" runat="server" Text='<%# Eval("Descripcion")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Prioridad" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="100">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblPrioridad" runat="server" Text='<%# Eval("CvePrioridad")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Desarrollo" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkP1" OnCheckedChanged="ChkPruebas_Click" runat="server" AutoPostBack="true" Checked='<%# If(IsDBNull(Eval("P1")), False, Eval("P1")) %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Pruebas" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkP2" OnCheckedChanged="ChkPruebas_Click" runat="server" AutoPostBack="true" Checked='<%# If(IsDBNull(Eval("P2")), False, Eval("P2")) %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Pre-Productivo" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkP3" OnCheckedChanged="ChkPruebas_Click" runat="server" AutoPostBack="true" Checked='<%# If(IsDBNull(Eval("P3")), False, Eval("P3")) %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
</asp:GridView>
|
|
|
|
</div>
|
|
|
|
<div class="Widthall">
|
|
|
|
<b>Pruebas Especificas</b>
|
|
<asp:GridView ID="GvPruebaspecificas" DataKeyNames="CveDesarrolloDetalle,CveDesarrollo,CveDesarrolloDetalleTipo,Descripcion,DesarrolloDetalleTipo,CvePrioridad" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="true"
|
|
CssClass="table table-striped table-advance table-hover Widthall ScrollAD" data-sort="true" data-freezerows="1" GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="Prueba especifica" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblDesarrollo" runat="server" Text='<%# Eval("Descripcion")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Prioridad" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="100">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblPrioridad" runat="server" Text='<%# Eval("CvePrioridad")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Desarrollo" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkP1" OnCheckedChanged="ChkPruebas_Click" AutoPostBack="true" runat="server" Checked='<%# If(IsDBNull(Eval("P1")), False, Eval("P1")) %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Pruebas" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkP2" OnCheckedChanged="ChkPruebas_Click" AutoPostBack="true" runat="server" Checked='<%# If(IsDBNull(Eval("P2")), False, Eval("P2")) %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Pre-Productivo" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:CheckBox ID="ChkP3" OnCheckedChanged="ChkPruebas_Click" AutoPostBack="true" runat="server" Checked='<%# If(IsDBNull(Eval("P3")), False, Eval("P3")) %>' />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
</asp:GridView>
|
|
</div>
|
|
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane" id="tab3" style="display: normal">
|
|
|
|
<table class="Widthall">
|
|
<tr>
|
|
<td class="Widthall">
|
|
<div class="portlet light smmallpadding bordered">
|
|
<div class="portlet-title font-green">
|
|
<div class="caption font-green">
|
|
<i class="fa fa-indent font-green"></i><span class="caption-subject bold uppercase">Terminado</span>
|
|
</div>
|
|
<div class="tools">
|
|
<div style="display: inline-block">
|
|
</div>
|
|
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
|
</div>
|
|
</div>
|
|
<div class="portlet-body rowpadding">
|
|
<asp:UpdatePanel runat="server" ID="UpTerminado" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<asp:CheckBox runat="server" ID="ChkProduccion" AutoPostBack="true" OnCheckedChanged="ChkProduccion_CheckedChanged" Text="Producción" />
|
|
<br />
|
|
<asp:CheckBox runat="server" ID="ChkClienteNotificado" AutoPostBack="true" OnCheckedChanged="ChkClienteNotificado_CheckedChanged" Text="Cliente notificado" />
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<a style="display: none; float: right" class="btn green button-submit">Guardar<i class='fa fa-check'></i></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
|
|
<div id="DivModalSubida" class="modal ADS fade" role="dialog">
|
|
<div class="modal-dialog" style="width: 450px;">
|
|
<asp:UpdatePanel runat="server" class="modal-content" ID="UpModalSubida" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="modal-header ">
|
|
<button type="button" class="close" data-dismiss="modal"></button>
|
|
<h4 class="modal-title">
|
|
<asp:Literal ID="LtlTituloModalSubida" runat="server">Agregar registro subida</asp:Literal></h4>
|
|
</div>
|
|
<div class="modal-body rowpadding">
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= DdlSubidaTipo.ClientID.ToString()%>">Tipo:</label>
|
|
<asp:DropDownList ID="DdlSubidaTipo" runat="server" Width="250" DataTextField ="SubidaTipo" DataValueField="CveSubidaTipo" CssClass="select2me" AutoPostBack="true" CausesValidation="true" ></asp:DropDownList>
|
|
<asp:RequiredFieldValidator ID="RfvDdlSubidaTipo" Enabled="false" runat="server" InitialValue="-1" ControlToValidate="DdlSubidaTipo" Display="None" ErrorMessage="El campo <b>''Tipo''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSubida"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="RfvcDdlSubidaTipo" Enabled="false" runat="server" TargetControlID="RfvDdlSubidaTipo" HighlightCssClass="vco" Width="250px"></ajax:ValidatorCalloutExtender>
|
|
</div>
|
|
|
|
<div id="DvSubidaArchivo" visible="false" runat="server" class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtSubidaArchivo.ClientID.ToString()%>">Archivo:</label>
|
|
<asp:TextBox ID="TxtSubidaArchivo" MaxLength="50" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RfvTxtSubidaArchivo" runat="server" ControlToValidate="TxtSubidaArchivo" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSubida"></asp:RequiredFieldValidator>
|
|
|
|
</div>
|
|
|
|
<div id="DvSubidaDB" visible="false" runat="server" class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtSubidaDB.ClientID.ToString()%>">DB:</label>
|
|
<asp:TextBox ID="TxtSubidaDB" MaxLength="50" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RfvTxtSubidaDB" runat="server" ControlToValidate="TxtSubidaDB" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSubida"></asp:RequiredFieldValidator>
|
|
</div>
|
|
|
|
<div id="DvSubidaTabla" visible="false" runat="server" class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtSubidaTabla.ClientID.ToString()%>">Tabla:</label>
|
|
<asp:TextBox ID="TxtSubidaTabla" MaxLength="50" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RfvTxtSubidaTabla" runat="server" ControlToValidate="TxtSubidaTabla" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSubida"></asp:RequiredFieldValidator>
|
|
</div>
|
|
|
|
<div id="DvSubidaCampo" visible="false" runat="server" class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtSubidaCampo.ClientID.ToString()%>">Campo:</label>
|
|
<asp:TextBox ID="TxtSubidaCampo" MaxLength="50" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RfvTxtSubidaCampo" runat="server" ControlToValidate="TxtSubidaCampo" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSubida"></asp:RequiredFieldValidator>
|
|
</div>
|
|
|
|
<div id="DvSubidaTipoDato" visible="false" runat="server" class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtSubidaTipoDato.ClientID.ToString()%>">Tipo Dato:</label>
|
|
<asp:TextBox ID="TxtSubidaTipoDato" MaxLength="50" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RfvTxtSubidaTipoDato" runat="server" ControlToValidate="TxtSubidaTipoDato" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSubida"></asp:RequiredFieldValidator>
|
|
</div>
|
|
|
|
<div id="DvSubidaLlabeForanea" visible="false" runat="server" class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtSubidaLlaveForanea.ClientID.ToString()%>">Llave Foranea:</label>
|
|
<asp:TextBox ID="TxtSubidaLlaveForanea" MaxLength="50" CssClass="form-control" runat="server"></asp:TextBox>
|
|
|
|
</div>
|
|
|
|
|
|
<div id="DvSubidaProcedimiento" visible="false" runat="server" class ="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtSubidaProcedimiento.ClientID.ToString()%>">Procedimiento:</label>
|
|
<asp:TextBox ID="TxtSubidaProcedimiento" MaxLength="50" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RfvTxtSubidaProcedimiento" runat="server" ControlToValidate="TxtSubidaProcedimiento" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSubida"></asp:RequiredFieldValidator>
|
|
</div>
|
|
<div id="DvSubidaScript" visible="false" runat="server" class ="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtSubidaScript.ClientID.ToString()%>">Script:</label>
|
|
<asp:TextBox ID="TxtSubidaScript" MaxLength="50000" TextMode="MultiLine" Rows="4" CssClass="form-control" runat="server"></asp:TextBox>
|
|
|
|
</div>
|
|
|
|
<div runat="server" class ="form-group form-md-line-input input-iconright">
|
|
<label for="<%= ChkModalSubidaContinuarAgregando.ClientID.ToString()%>">Continuar agregando:</label>
|
|
<asp:CheckBox ID="ChkModalSubidaContinuarAgregando" CssClass="form-control" runat="server" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<asp:LinkButton ID="LnkModalAgregarSubida" cssClass="btn btn-success" runat="server" ValidationGroup="GrpGuardarSubida" >Guardar</asp:LinkButton>
|
|
<button id="btnCancelarSubida" runat="server" type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<div id="DIVModalAdjuntos" class="modal ADS fade" role="dialog">
|
|
<div class="modal-dialog" style="width: 450px;">
|
|
<asp:UpdatePanel runat="server" class="modal-content" ID="UpModalAdjuntos" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="modal-header ">
|
|
<button type="button" class="close" data-dismiss="modal"></button>
|
|
<h4 class="modal-title">
|
|
<asp:Literal ID="LlTituloModalAdjuntos" Text="Adjuntos" runat="server"></asp:Literal>
|
|
</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="portlet-body rowpadding">
|
|
|
|
<div class="Widthall">
|
|
<asp:UpdatePanel ID="UpAdjunto" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<asp:GridView ID="GvAdjuntos" DataKeyNames="CveDesarrolloAdjunto,CveDesarrollo,DesarrolloAdjunto,DesarrolloAdjuntoArchivo,CveUsuario" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="true" CssClass="table table-striped table-advance table-hover Widthall ScrollAD"
|
|
data-sort="true"
|
|
data-freezerows="1"
|
|
GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="Adjunto" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblAdjunto" runat="server" Text='<%# Eval("DesarrolloAdjunto")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="archivo" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LblAdjuntoArchivo" runat="server" Text='<%# Eval("DesarrolloAdjuntoArchivo")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Fecha" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="80">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlFecha" runat="server" Text='<%# Eval("FechaIng", "{0:d}")%>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-HorizontalAlign="Right" HeaderText="Comandos" ItemStyle-Width="150">
|
|
<ItemTemplate>
|
|
<asp:LinkButton ID="ImgD" runat="server" Width="28" AlternateText="Descargar" OnClick="DowloadAdjunto_Click" CausesValidation="False" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-cloud-download'></i>"></asp:LinkButton>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<RowStyle CssClass="Texto" />
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button id="btnCacelarPruebas" runat="server" type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</asp:Content>
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
|
|
<script src="../Metronic/assets/global/plugins/bootstrap-wizard/jquery.bootstrap.wizard.js"></script>
|
|
<script>
|
|
var handleTitle = function (tab, navigation, index) {
|
|
var total = navigation.find('li').length;
|
|
var current = index + 1;
|
|
// set wizard title
|
|
$('.step-title', $('#form_wizard_1')).text('Paso ' + (index + 1) + ' de ' + total);
|
|
// set done steps
|
|
jQuery('li', $('#form_wizard_1')).removeClass("done");
|
|
var li_list = navigation.find('li');
|
|
for (var i = 0; i < index; i++) {
|
|
jQuery(li_list[i]).addClass("done");
|
|
}
|
|
|
|
|
|
Metronic.scrollTo($('.page-title'));
|
|
}
|
|
|
|
// default form wizard
|
|
$(document).ready(function () {
|
|
|
|
$('#form_wizard_1').bootstrapWizard({
|
|
'nextSelector': '.button-next',
|
|
'previousSelector': '.button-previous',
|
|
onTabClick: function (tab, navigation, index, clickedIndex) {
|
|
return false;
|
|
/*
|
|
success.hide();
|
|
error.hide();
|
|
if (form.valid() == false) {
|
|
return false;
|
|
}
|
|
handleTitle(tab, navigation, clickedIndex);
|
|
*/
|
|
},
|
|
onNext: function (tab, navigation, index) {
|
|
//success.hide();
|
|
//error.hide();
|
|
handleTitle(tab, navigation, index);
|
|
|
|
},
|
|
onPrevious: function (tab, navigation, index) {
|
|
//success.hide();
|
|
//error.hide();
|
|
|
|
handleTitle(tab, navigation, index);
|
|
$("#Giro").click()
|
|
|
|
},
|
|
onTabShow: function (tab, navigation, index) {
|
|
var total = navigation.find('li').length;
|
|
var current = index + 1;
|
|
var $percent = (current / total) * 100;
|
|
//$('#button-submit').css("display", "none")
|
|
handleTitle(tab, navigation, index);
|
|
$('#form_wizard_1').find('.progress-bar').css({
|
|
width: $percent + '%'
|
|
});
|
|
}
|
|
});
|
|
|
|
|
|
$('#tab2').css('display', '');
|
|
})
|
|
|
|
</script>
|
|
|
|
</asp:Content> |