2021-08-11 11:15:08 +00:00
|
|
|
<div class="content">
|
2021-08-12 01:18:18 +00:00
|
|
|
<button type="button" class="ds-btn ds-btn--primary" (click)="exportReportesGeneralesAdministradorExcel()">Export as Excel</button>
|
|
|
|
<button type="button" class="ds-btn ds-btn--primary" (click)="exportReportesGeneralesAdministradorPDF()">Export as PDF</button>
|
|
|
|
|
2021-08-11 11:15:08 +00:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row justify-content-around">
|
|
|
|
<div class="col-lg-3 col-sm-6">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-5 w-25 px-1">
|
|
|
|
<div class="icon-big icon-success text-center">
|
|
|
|
<fa-icon [icon]="faWallet"></fa-icon>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-7 w-50">
|
|
|
|
<div class="numbers">
|
|
|
|
<p class="ds-title">Ganancias por plantillas</p>
|
2021-08-12 01:18:18 +00:00
|
|
|
${{ gananciasTotales | number: '1.2' }}
|
2021-08-11 11:15:08 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-footer">
|
|
|
|
<hr />
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-3 col-sm-6">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-content">
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-xs-5 w-25 px-1">
|
|
|
|
<div class="icon-big icon-users-active text-center">
|
|
|
|
<fa-icon [icon]="faUsers"></fa-icon>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-7 w-75">
|
|
|
|
<div class="numbers">
|
|
|
|
<p class="ds-title">Cantidad usuarios activos</p>
|
|
|
|
{{ cantUsuarioActivos }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-footer">
|
|
|
|
<hr />
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-lg-3 col-sm-6">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-content">
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-xs-4 w-25 px-1">
|
|
|
|
<div class="icon-big icon-users-block text-center">
|
|
|
|
<fa-icon [icon]="faUsersSlash"></fa-icon>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-5 w-75">
|
|
|
|
<div class="numbers">
|
|
|
|
<p class="ds-title">Cantidad usuarios bloqueados</p>
|
|
|
|
{{ cantUsuarioBloqueados }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-footer">
|
|
|
|
<hr />
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row justify-content-around por-categoria">
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="grafico-encuestas-fecha">
|
|
|
|
<div class="card">
|
|
|
|
<h1 class="ds-title">Cantidad de encuestas publicadas por mes</h1>
|
|
|
|
|
|
|
|
<div class="ct-chart ct-chart-line"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="card encuestas-por-categoria">
|
|
|
|
<div class="card-header w-100">
|
|
|
|
<h4 class="ds-title">Cantidad de Encuestas Publicadas por Categoria</h4>
|
|
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr *ngFor="let categoria of categorias; let i = index; trackBy: trackId">
|
|
|
|
<td>{{ categoria.nombre }}</td>
|
|
|
|
|
|
|
|
<td class="text-right">
|
|
|
|
{{ encuestasPublicadasCategoria[i] }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="card encuestas-por-categoria">
|
|
|
|
<div class="card-header w-100">
|
|
|
|
<h4 class="ds-title">Cantidad de Encuestas Finalizadas por Categoria</h4>
|
|
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr *ngFor="let categoria of categorias; let i = index; trackBy: trackId">
|
|
|
|
<td>{{ categoria.nombre }}</td>
|
|
|
|
|
|
|
|
<td class="text-right">
|
|
|
|
{{ encuestasFinalzadasCategoria[i] }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-08-12 02:54:16 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-3 col-sm-6">
|
|
|
|
<div class="card card-circle-chart" data-background-color="blue" style="background-color: #88c5d6eb">
|
|
|
|
<div class="card-header text-center">
|
|
|
|
<h5 class="card-title ds-subtitle" style="color: #082463">Encuestas En Borrador</h5>
|
|
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
|
|
<div id="surveyDraft" class="chart-circle">{{ encuestasBorrador }}<canvas height="160" width="160"></canvas></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-3 col-sm-6">
|
|
|
|
<div class="card card-circle-chart" data-background-color="green" style="background-color: #67ceb6">
|
|
|
|
<div class="card-header text-center">
|
|
|
|
<h5 class="card-title ds-subtitle" style="color: #0a2922">Encuestas Publicadas</h5>
|
|
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
|
|
<div id="surveyActive" class="chart-circle">{{ encuestasPublicadas }}<canvas height="160" width="160"></canvas></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-3 col-sm-6">
|
|
|
|
<div class="card card-circle-chart" style="background-color: #de8e78">
|
|
|
|
<div class="card-header text-center">
|
|
|
|
<h5 class="card-title ds-subtitle" style="color: #671a04">Encuestas Finalizadas</h5>
|
|
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
|
|
<div id="surveyFinished" class="chart-circle">{{ encuestasFinalizadas }}<canvas height="160" width="160"></canvas></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-3 col-sm-6">
|
|
|
|
<div class="card card-circle-chart" data-background-color="brown" style="background-color: #d6c1ab">
|
|
|
|
<div class="card-header text-center">
|
|
|
|
<h5 class="card-title ds-subtitle" style="color: #252422">Encuestas Completadas por Usuarios</h5>
|
|
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
|
|
<div id="surveyCountCompletede" class="chart-circle">{{ encuestasCompletadas }}<canvas height="160" width="160"></canvas></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-08-11 11:15:08 +00:00
|
|
|
</div>
|
|
|
|
</div>
|