TFS_ANTIGUO/SIGPC/ProyectoSIGPC/Forms/TRA/frwObservacionesSolicitud.aspx
kledezma 7fdadc4709 KLB
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C519
2021-01-22 15:05:35 +00:00

234 lines
12 KiB
Text

<%@ Page Title="Agenda" ValidateRequest="true" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="frwObservacionesSolicitud.aspx.cs" Inherits="Forms_TRA_frwObservaciones" %>
<%@ Register Src="~/ControlUsuario/cuwBusquedaList.ascx" TagPrefix="uc1" TagName="cuwBusquedaList" %>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" 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 VentanaAbrirActividades() {
$("#MainContent_divDatosSuperiores").hide();
document.getElementById('lightActividades').style.display = 'block';
document.getElementById('fade').style.display = 'block';
parpa();
//menu = document.getElementById('cuwMenu_mnuMenu').style.display = 'none';
//document.getElementById("cuwMenu_mnuMenu").disabled;
}
function VentanaCerrarActividades() {
$("#MainContent_divDatosSuperiores").show()
document.getElementById('lightActividades').style.display = 'none';
document.getElementById('fade').style.display = 'none'
//document.getElementById('cuwMenu_mnuMenu').style.display = 'block'
}
function VentanaAbrir() {
document.getElementById('light').style.display = 'block';
document.getElementById('fade').style.display = 'block';
}
function VentanaCerrar() {
VentanaAbrirActividades();
document.getElementById('light').style.display = 'none';
document.getElementById('fade').style.display = 'none'
}
</script>
<script type="text/javascript">
function MensajeAlerta() {
toastr["warning"]("Debe agregar observación.", "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="Esper..." 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>Agenda</legend>
<%-- <asp:Label ID="lblTitulo" runat="server" CssClass="lblTitulo" Text="Agregar Observaciones" />--%>
</div>
<!-- INSTRUCCIONES -->
<div id="divInstrucciones">
<%--<asp:Label ID="lblInstrucciones" runat="server" Text="Observaciones" />--%>
</div>
<!-- SEPARADOR -->
<div id="divSeparador1" class="divSeparador">
</div>
<div align="center" style="width: 100%"></div>
<%-- **********************************************************************Datos Superiores ********************************************************************************* --%>
<div id="divDatosSuperiores" runat="server" visible="true">
<%--Consultar --%>
<div id="tdConsultar" runat="server" align="center">
<uc1:cuwBusquedaList ID="cuwBusquedaList" runat="server" Visible="false" />
</div>
<td colspan="5">
<h4 style="text-align: center; color: #000000;">Número de Solicitud:
<asp:Label ID="lblNumSolicitud" runat="server" Text="Label"></asp:Label>
</h4>
</td>
<div class="col-sm-6">
<div id="Panel1" class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Ingrese observaciones</h3>
</div>
<div class="panel-body">
<div align="rigth" id=" ">
<div class="col-sm-12">
<div class="row">
<div class="col-xs-5 col-sm-6 col-lg-4" style="width: 300px;">
<asp:TextBox ID="txtobservaciones" TextMode="MultiLine" runat="server" CssClass="textBox" MaxLength="300" Width="400px" Height="200px" autofocus="autofocus" />
</div>
</div>
<%-- <div class="Separador"></div>--%>
<div class="row">
<div class="col-xs-9 col-sm-6 col-lg-4" style="width: 300px;">
<div id="tdPlano" runat="server" class="tabla">
<asp:GridView ID="grvListarObservaciones" runat="server" CellPadding="2" GridLines="None" AutoGenerateColumns="false" AllowPaging="true" PageSize="10" OnRowCommand="grvListarObservaciones_RowCommand"
OnPageIndexChanging="grvListarObservaciones_PageIndexChanging" CssClass="gridViewG" Font-Names="Verdana" Font-Size="16px">
<RowStyle BackColor="#EFF3FB" VerticalAlign="Middle" />
<AlternatingRowStyle BackColor="White" VerticalAlign="Middle" />
<PagerStyle CssClass="gridViewPaginacion" ForeColor="#44608c" HorizontalAlign="Center" />
<HeaderStyle Font-Bold="True" ForeColor="White" CssClass="gridViewHeader" />
<PagerSettings PageButtonCount="25" />
<Columns>
<asp:TemplateField>
<HeaderTemplate>
<input id="chkHeader" onclick="CheckAllGridViewItems(this);" type="checkbox" name="chkHeader" runat="server" />
</HeaderTemplate>
<ItemTemplate>
<input id="chkItem" type="checkbox" name="chkItem" runat="server" />
</ItemTemplate>
</asp:TemplateField>
<asp:ButtonField ImageUrl="~/Images/Estado/imgBolita_Verde.png" ButtonType="Image" CommandName="editar" Visible="false" />
</Columns>
<EmptyDataTemplate>
<div class="gridViewVacio">
<div class="gridViewCheck">
</div>
<div class="gridFilaVacia">
<div class="textoGrid">
<asp:Label ID="lblGridView" Text="No se obtuvieron resultados de su búsqueda" runat="server" />
</div>
</div>
</div>
</EmptyDataTemplate>
</asp:GridView>
<div class="detalleGridView">
<div class="Izquierda">
<asp:Label ID="lblTotalDatos" runat="server" Text="Registros: " CssClass="textoDetalleGridView" />
</div>
<div class="Derecha">
<asp:ImageButton ID="btnRefrescar" ImageUrl="~/Images/MiniBotones/btnRefrescar.png" CausesValidation="false" runat="server" OnClick="btnRefrescar_Click" Width="20px" />
</div>
</div>
</div>
</div>
</div>
<div>
</div>
</div>
</div>
</div>
</div>
</div>
<div align="center" id=" Principal ">
<div>
<table class="table table-responsive text-center">
<tr>
<td></td>
</tr>
</table>
<caption>
<asp:Button ID="btnGuarda" runat="server" OnClick="btnGuardar_Click" Text="Agregar" />
</caption>
</div>
</div>
</div>
<%--Listado de Datos--%>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>