-- mejoras visuales
-- en repcontratos,. bloquear al modal de agregar contrato, para que los botónes solo la puedan cerrar, sin darle click fuera
This commit is contained in:
@@ -16,10 +16,14 @@
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="H" runat="Server">
|
||||
<li>
|
||||
<asp:LinkButton runat="server" ClientIDMode="Static"
|
||||
data-toggle="modal" data-target="#ModalAgregar"><i class='fa fa-plus' ></i>Agregar Contrato</asp:LinkButton>
|
||||
</li>
|
||||
|
||||
<asp:UpdatePanel ID="UppAddContrato" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<li>
|
||||
<asp:LinkButton runat="server" ID="LnkAgregarContrato" ClientIDMode="Static" OnClick="LnkAgregarContrato_Click"><i class='fa fa-plus' ></i>Agregar Contrato</asp:LinkButton>
|
||||
</li>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
<li>
|
||||
<asp:LinkButton runat="server" ClientIDMode="Static"
|
||||
|
||||
@@ -119,7 +119,7 @@ Partial Class ListadoContratos
|
||||
'Dim CveSubProyecto As Integer = GlobalDTSubProyectos(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveSubProyecto", "TipoSucursal = 1").ToEntero
|
||||
|
||||
'Agregamos Contrato
|
||||
Exit Sub
|
||||
|
||||
Dim ObjContratos As New ClsContratos
|
||||
ObjContratos.IniciaTransacSQL()
|
||||
|
||||
@@ -399,4 +399,8 @@ Partial Class ListadoContratos
|
||||
|
||||
#End Region
|
||||
|
||||
Protected Sub LnkAgregarContrato_Click(sender As Object, e As EventArgs)
|
||||
RegistraScript("$('#ModalAgregar').modal({ backdrop: 'static', keyboard: false });")
|
||||
UpTitulos.Update()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
@@ -339,7 +339,7 @@
|
||||
<div class="col-md-6">
|
||||
<div class="row my-1">
|
||||
|
||||
<label class="col-md-4 bold text-primary">Folio:</label>
|
||||
<label class="col-md-3 bold text-primary">Folio:</label>
|
||||
<div class="col-md-2">
|
||||
<asp:TextBox ID="TxtFolio" runat="server" Width="80px" Font-Bold="true" cssclass="textaslabel"></asp:TextBox>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user