216 lines
9.1 KiB
Plaintext
216 lines
9.1 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepVotos.aspx.vb" Inherits="Temporal_RepVotos" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
<link href="/Metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css" rel="stylesheet" />
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
<style>
|
|
.Widthall {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.dataTables_scrollHeadInner {
|
|
width: 100% !important;
|
|
background-color: #dddddd;
|
|
padding-left: 0px !important;
|
|
}
|
|
|
|
.dataTables_scrollFoot {
|
|
display: none;
|
|
position: static;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.sinlink td a {
|
|
pointer-events: none;
|
|
cursor: default;
|
|
color: black;
|
|
font-size: small;
|
|
}
|
|
|
|
.white a{
|
|
color: white !important;
|
|
}
|
|
|
|
</style>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
<li>
|
|
<asp:LinkButton ID="ImgExcelHombres" runat="server"> <i class="fa fa-ad-excel"></i> Generar Excel Hombres</asp:LinkButton>
|
|
</li>
|
|
|
|
<li>
|
|
<asp:LinkButton ID="ImgExcelMujeres" runat="server"> <i class="fa fa-ad-excel"></i> Generar Excel Mujeres</asp:LinkButton>
|
|
</li>
|
|
</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 ID="UpIndicador" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="row" >
|
|
|
|
<div id="DivHombres" runat="server" class="col-md-offset-3 col-md-3">
|
|
<div class="dashboard-stat dashboard-stat-v2 blue">
|
|
<div class="visual"><i class="fa fa-bar-chart" '=""></i></div>
|
|
<div class="details"><div class="number"><i class="fa fa-male"></i> Hombres</div>
|
|
<div class="desc"><label class="indicadortipo2 tooltips"> Votos<br />
|
|
<asp:Label ID="LblVotosHombre" runat="server"></asp:Label></label>
|
|
<label class="indicadortipo2 tooltips col-md-6"> Boletas <br />
|
|
<asp:Label ID="LblBoletasHombre" runat="server"></asp:Label></label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="Div3" runat="server" class="col-md-3">
|
|
<div class="dashboard-stat dashboard-stat-v2 red">
|
|
<div class="visual"><i class="fa fa-bar-chart" '=""></i></div>
|
|
<div class="details"><div class="number"><i class="fa fa-female"></i> Mujeres</div>
|
|
<div class="desc"><label class="indicadortipo2 tooltips" >Votos<br />
|
|
<asp:Label ID="LblVotosMujeres" runat="server" ></asp:Label></label>
|
|
<label class="indicadortipo2 tooltips col-md-6">Boletas <br />
|
|
<asp:Label ID="LblBoletasMujer" runat="server"></asp:Label></label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
|
|
<asp:UpdatePanel runat="server" ID="UpDatos" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="portlet smmallpadding light bordered" id="Div2" runat="server">
|
|
<div class="portlet-title">
|
|
<div class="caption font-green">
|
|
<i class="icon-pin font-green"></i>
|
|
<span class="caption-subject bold uppercase">Hombres</span>
|
|
</div>
|
|
<div class="actions">
|
|
<div class="btn-group">
|
|
</div>
|
|
</div>
|
|
<div class="tools">
|
|
<a href="javascript:;" class="expand"></a>
|
|
</div>
|
|
</div>
|
|
<div class="portlet-body form">
|
|
<asp:UpdatePanel ID="UpMasculino" UpdateMode="Conditional" runat="server">
|
|
<ContentTemplate>
|
|
<asp:GridView runat="server" EmptyDataText="Aún no se ha registrado boleta" AutoGenerateColumns="false" GridLines="none" ID="GvMasculino" CssClass="table table-striped table-advance table-hover">
|
|
<Columns>
|
|
<asp:BoundField HeaderText="# Consejero" DataField="NumConsejero" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="15%" />
|
|
<asp:BoundField HeaderText="Nombre" DataField="Nombre" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="70%" />
|
|
<asp:BoundField HeaderText="Votos" DataField="Votos" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="15%" />
|
|
</Columns>
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
<div class="portlet smmallpadding light bordered" id="Div1" runat="server">
|
|
<div class="portlet-title">
|
|
<div class="caption font-green">
|
|
<i class="icon-pin font-green"></i>
|
|
<span class="caption-subject bold uppercase">Mujeres</span>
|
|
</div>
|
|
<div class="actions">
|
|
<div class="btn-group">
|
|
</div>
|
|
</div>
|
|
<div class="tools">
|
|
<a href="javascript:;" class="expand"></a>
|
|
</div>
|
|
</div>
|
|
<div class="portlet-body form">
|
|
<asp:UpdatePanel ID="UpFemenino" UpdateMode="Conditional" runat="server">
|
|
<ContentTemplate>
|
|
<asp:GridView runat="server" EmptyDataText="Aún no se ha registrado boleta" AutoGenerateColumns="false" GridLines="none" ID="GvFemenino" CssClass="table table-striped table-advance table-hover">
|
|
<Columns>
|
|
<asp:BoundField HeaderText="# Consejero" DataField="NumConsejero" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="15%" />
|
|
<asp:BoundField HeaderText="Nombre" DataField="Nombre" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="70%" />
|
|
<asp:BoundField HeaderText="Votos" DataField="Votos" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="15%" />
|
|
</Columns>
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
|
|
</asp:Content>
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
<script src="/Metronic/assets/global/scripts/datatable.js"></script>
|
|
<script src="/Metronic/assets/global/plugins/datatables/all.min.js"></script>
|
|
<script type="text/javascript">
|
|
|
|
function OrdenarGV() {
|
|
var Tam = TamañoVentana();
|
|
var Alto = Tam.height - 270;
|
|
if (Alto < 100) {
|
|
Alto = 100;
|
|
}
|
|
$('#C_GvFemenino').DataTable({
|
|
scrollY: Alto + 'px',
|
|
scrollCollapse: true,
|
|
paging: false,
|
|
searching: false,
|
|
info: false,
|
|
"aaSorting": []
|
|
});
|
|
$('#C_GvFemenino').parent().parent().children().first().css("position", "static");
|
|
|
|
|
|
$('#C_GvMasculino').DataTable({
|
|
scrollY: Alto + 'px',
|
|
scrollCollapse: true,
|
|
paging: false,
|
|
searching: false,
|
|
info: false,
|
|
"aaSorting": []
|
|
});
|
|
$('#C_GvMasculino').parent().parent().children().first().css("position", "static");
|
|
}
|
|
</script>
|
|
</asp:Content>
|
|
|