TFS_ANTIGUO/SIGPC/ProyectoSIGPC/Forms/TRA/frwPausarTramiteSolicitud.aspx

288 lines
15 KiB
Text
Raw Normal View History

<%@ Page Title="Inspectores" Language="C#" MasterPageFile="~/formulario.master" AutoEventWireup="true" CodeFile="frwPausarTramiteSolicitud.aspx.cs" Inherits="Forms_Trans_frwPausarTramiteSolicitud" %>
<asp:Content ID="BodyContent" ContentPlaceHolderID="ContenidoFormulario" Runat="Server">
<script src="/../../Scripts/jquery-1.10.2.js"></script>
<script src="/../../Scripts/toastr.js" type="text/javascript"></script>
<link href="/../../Content/toastr.css" rel="stylesheet" />
<script src="/../../Scripts/bootstrap.js"></script>
<script type="text/javascript">
function VentanaAbrir() {
document.getElementById('light').style.display = 'block';
document.getElementById('fade').style.display = 'block';
}
function VentanaCerrar() {
document.getElementById('light').style.display = 'none';
document.getElementById('fade').style.display = 'none'
}
</script>
<script type="text/javascript">
function MensajeError() {
toastr["error"]("Debe seleccionar el tipo de proyecto para esta solicitud.", "SIGDD");
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toast-bottom-full-width",
"preventDuplicates": false,
"onclick": null,
"showDuration": "1300",
"hideDuration": "1000",
"timeOut": "10000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
};
}
</script>
<style type="text/css">
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0px;
padding: 0px;
font-family: Verdana;
background: -webkit-radial-gradient(center, ellipse cover rgb(250, 252, 251) 0%, rgb(223, 240, 247) 100%);
}
.black_overlay{
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
/*background-color: black;*/
z-index:1;
-moz-opacity: 0.8;
opacity:.80;
filter: alpha(opacity=80);
}
.white_content {
display: none;
position: absolute;
top: 10%;
left: 5%;
width: 90%;
height: 80%;
padding: 16px;
border: 1px solid #000;
background-color: white;
z-index:5;
overflow: auto;
}
</style>
<asp:ScriptManager ID="ScripManager1" EnablePartialRendering="true" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="updPanel" runat="server">
<ContentTemplate>
<asp:UpdateProgress ID="updProgress" runat="server">
<ProgressTemplate>
<div>
<div class="espera">
<asp:Image ID="imgEspera" runat="server" ImageUrl="~/Images/Animados/cargando.gif" Style="position:absolute; top:40%; left:45%;
Width:80px; Height:80px"/>
<asp:Label ID="lblEspera" runat="server" Text="Espere... " Style="position:absolute; top:57%; left:46%; Width:50px; Height:50px;
color:#c8c8c8; Font-Size:medium; font-weight:700"></asp:Label>
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<!-- TITULO -->
<div id="divTitulo" align="center">
<legend>Pausar Trámite</legend>
<%--<asp:Label ID="lblTitulo" runat="server" CssClass="lblTitulo" Text="Pausar Trámite"/>--%>
</div>
<!-- INSTRUCCIONES -->
<div id="divInstrucciones">
</div>
<!-- SEPARADOR -->
<div id="divSeparador1" class="divSeparador">
</div>
<div align="center" style="width: 100%">
<%-- **********************************************************************Datos Superiores ********************************************************************************* --%>
<div id="divDatosSuperiores" runat="server" visible="false">
<%--Consultar--%>
<div >
<div align="center" id=" " >
<table id="tblDatosProyecto" style="border-width: medium; border-color: #BFBFBF; text-align:left" border="0" class="table-responsive">
<tr>
<td colspan="3"><h4 style="text-align:center; color: #000000;">Número de Solicitud:
<asp:Label ID="lblNumSolicitud" runat="server" Text="Label"></asp:Label>
</h4></td>
</tr>
<tr>
<td colspan="3">
ID</td>
</tr>
<tr>
<td colspan="3">
<asp:Label ID="lblID" runat="server" Text=""></asp:Label> </td>
</tr>
<tr>
<td colspan="3">Fecha</td>
</tr>
<tr>
<td >
<asp:Label ID="lblFecha" runat="server" Text=""></asp:Label> </td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td >
Responsable</td>
<td>&nbsp;</td>
<td>
</td>
</tr>
<tr>
<td >
<asp:Label ID="lblResponsable" runat="server" Text=""></asp:Label> </td>
<td>&nbsp;</td>
<td>
</td>
</tr>
<tr>
<td >
Justificación</td>
<td >
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td colspan="3" style="text-align:left">
<asp:TextBox ID="txtJustificacion" runat="server" Height="92px" MaxLength="1000" TextMode="MultiLine" Width="100%"></asp:TextBox>
<br />
<asp:RequiredFieldValidator ID="rfv" runat="server" ControltoValidate="txtJustificacion" initialvalue=" ">
Debe digitar una justificación.
</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="3">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
<tr>
<td colspan="3" style="text-align:center">
<asp:Button ID="btnGuardar" runat="server" OnClick="btnGuardarDeBaja_Click" Text="Guardar" />
</td>
</tr>
<tr>
<td colspan="3" style="text-align:center">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
<tr>
<td colspan="3" style="text-align:left">
<asp:GridView ID="grvListaPausarTramiteSolicitud" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="2" Font-Names="Verdana" Font-Size="16px" GridLines="None" OnRowCommand="grvListaPausarTramiteSolicitud_RowCommand" PageSize="5" Width="100%">
<RowStyle BackColor="#EFF3FB" VerticalAlign="Middle" />
<AlternatingRowStyle BackColor="White" VerticalAlign="Middle" />
<PagerStyle CssClass="gridViewPaginacion" ForeColor="#44608c" HorizontalAlign="Center" />
<HeaderStyle CssClass="gridViewHeader" Font-Bold="True" ForeColor="White" />
<PagerSettings PageButtonCount="25" />
<Columns>
<%--<asp:ButtonField ButtonType="Image" CommandName="borrar" ImageUrl="~/Images/MiniBotones/btnRemover.png" />--%>
<asp:BoundField DataField="PKPAUSARTRAMITESOLICITUD" HeaderText="ID" SortExpression="PKPAUSARTRAMITESOLICITUD" Visible="False" >
<HeaderStyle Width="25px" />
</asp:BoundField>
<asp:BoundField DataField="FKNUMSOLICITUDCLIENTESOLICITUD" HeaderText="Solicitud" SortExpression="FKNUMSOLICITUDCLIENTESOLICITUD" Visible="False" >
<HeaderStyle Height="105px" />
</asp:BoundField>
<asp:BoundField DataField="FECHAINICIOPAUSARTRAMITESOLICITUD" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Fecha Inicio" SortExpression="FECHAINICIOPAUSARTRAMITESOLICITUD" >
<HeaderStyle Width="105px" />
</asp:BoundField>
<asp:BoundField DataField="FECHAFINPAUSARTRAMITESOLICITUD" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Fecha Finalizó" NullDisplayText="--/--/----" SortExpression="FECHAFINPAUSARTRAMITESOLICITUD" >
<HeaderStyle Width="105px" />
</asp:BoundField>
<asp:BoundField DataField="USUARIOPAUSARTRAMITESOLICITUD" HeaderText="Encargado" SortExpression="USUARIOPAUSARTRAMITESOLICITUD" >
<HeaderStyle Width="250px" />
</asp:BoundField>
<asp:BoundField DataField="JUSTIFICACIONPAUSARTRAMITESOLICITUD" HeaderText="Justificacion" SortExpression="JUSTIFICACIONPAUSARTRAMITESOLICITUD" >
<ItemStyle HorizontalAlign="Left" Width="150px" />
</asp:BoundField>
</Columns>
</asp:GridView>
</td>
</tr>
</table>
<br />
<br />
</div>
</div>
<br />
<br />
<%--Listado de Datos--%>
<%-- <td class="tabla" id="tdLista" runat="server" align="center">--%>
<div id="tdLista" runat="server" class="tabla">
</div>
<%--Botonera Superior--%>
<div id="tdBotoneraSuperior" runat="server" style="text-align:center" class="tabla">
</div>
</div>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>