<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0" />
<title>{% block title %}CSL - Gestión de Salud{% endblock %}</title>
{% block stylesheets %}
<link href="{{ asset('bootstrap/css/bootstrap.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('fontawesome-free/web-fonts-with-css/css/fontawesome-all.min.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('css/smoothness/jquery-ui-1.9.2.custom.min.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('calendar/fullcalendar.min.css') }}" rel="stylesheet" />
<link href="{{ asset('calendar/fullcalendar.print.min.css') }}" rel="stylesheet" media='print' />
<style type="text/css">
.stepwizard-step p {
margin-top: 10px;
}
.stepwizard-row {
display: table-row;
}
.stepwizard {
display: table;
width: 100%;
position: relative;
}
.stepwizard-step button[disabled] {
opacity: 1 !important;
filter: alpha(opacity=100) !important;
}
.stepwizard-row:before {
top: 18px;
bottom: 0;
position: absolute;
content: " ";
width: 100%;
height: 5px;
background-color: #ccc;
z-order: 0;
}
.stepwizard-step {
display: table-cell;
text-align: center;
position: relative;
}
.btn-circle {
width: 40px;
height: 40px;
text-align: center;
padding: 6px 0;
font-size: 12px;
line-height: 1.428571429;
border-radius: 20px;
}
.navbar-border{border-bottom: solid 3px #96BF0D;}
.navbar-border{border-bottom: solid 3px #000000;}
ul.social-network {
list-style: none;
display: inline;
margin-left:0 !important;
padding: 0;
}
ul.social-network li {
display: inline;
margin: 0 5px;
}
/* footer social icons */
.social-network a.icoRss:hover {
background-color: #F56505;
}
.social-network a.icoFacebook:hover {
background-color:#3B5998;
}
.social-network a.icoTwitter:hover {
background-color:#33ccff;
}
.social-network a.icoGoogle:hover {
background-color:#BD3518;
}
.social-network a.icoVimeo:hover {
background-color:#0590B8;
}
.social-network a.icoLinkedin:hover {
background-color:#007bb7;
}
.social-network a.icoRss:hover i, .social-network a.icoFacebook:hover i, .social-network a.icoTwitter:hover i,
.social-network a.icoGoogle:hover i, .social-network a.icoVimeo:hover i, .social-network a.icoLinkedin:hover i {
color:#fff;
}
a.socialIcon:hover, .socialHoverClass {
color:#44BCDD;
}
.social-circle li a {
display:inline-block;
position:relative;
margin:0 auto 0 auto;
-moz-border-radius:50%;
-webkit-border-radius:50%;
border-radius:50%;
text-align:center;
width: 60px;
height: 60px;
font-size:20px;
}
.social-circle li i {
margin:0;
line-height:50px;
text-align: center;
}
.social-circle li a:hover i, .triggeredHover {
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-ms--transform: rotate(360deg);
transform: rotate(360deg);
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
-ms-transition: all 0.2s;
transition: all 0.2s;
}
.social-circle i {
color: #fff;
-webkit-transition: all 0.8s;
-moz-transition: all 0.8s;
-o-transition: all 0.8s;
-ms-transition: all 0.8s;
transition: all 0.8s;
}
.redes i {
color: #96BF0D;
-webkit-transition: all 0.8s;
-moz-transition: all 0.8s;
-o-transition: all 0.8s;
-ms-transition: all 0.8s;
transition: all 0.8s;
margin-top: 10px;
}
.fa-number-1:before {
content: "1";
}
.fa-number-2:before {
content: "2";
}
.fa-number-3:before {
content: "3";
}
.fa-number-4:before {
content: "4";
}
.icon-background {
color: #96BF0D;
}
/* Modal Content (Image) */
.modal-content {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
}
.stepline{border: solid 2px #96BF0D;border-radius:10px; vertical-align: middle;display: inline-block;}
.panel.with-nav-tabs .panel-heading{
padding: 5px 5px 0 5px;
}
.panel.with-nav-tabs .nav-tabs{
border-bottom: none;
}
.panel.with-nav-tabs .nav-justified{
margin-bottom: -1px;
}
.dropdown-submenu {
position: relative;
}
.dropdown-submenu>.dropdown-menu {
top: 0;
left: 100%;
margin-top: -6px;
margin-left: -1px;
-webkit-border-radius: 0 6px 6px 6px;
-moz-border-radius: 0 6px 6px;
border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: #ccc;
margin-top: 5px;
margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
border-left-color: #fff;
}
.dropdown-submenu.pull-left {
float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left: -100%;
margin-left: 10px;
-webkit-border-radius: 6px 0 6px 6px;
-moz-border-radius: 6px 0 6px 6px;
border-radius: 6px 0 6px 6px;
}
.glyphicon-refresh-animate {
-animation: spin .7s infinite linear;
-ms-animation: spin .7s infinite linear;
-webkit-animation: spinw .7s infinite linear;
-moz-animation: spinm .7s infinite linear;
}
@keyframes spin {
from { transform: scale(1) rotate(0deg);}
to { transform: scale(1) rotate(360deg);}
}
@-webkit-keyframes spinw {
from { -webkit-transform: rotate(0deg);}
to { -webkit-transform: rotate(360deg);}
}
@-moz-keyframes spinm {
from { -moz-transform: rotate(0deg);}
to { -moz-transform: rotate(360deg);}
}
@media (min-width: 30em) {
html {
font-size: 125%;
}
}
@media (min-width: 40em) {
html {
font-size: 150%;
}
}
@media (min-width: 50em) {
html {
font-size: 175%;
}
}
@media (min-width: 60em) {
html {
font-size: 200%;
}
}
.ui-datepicker {
width: 17em;
margin-top: -180px;
}
</style>
{% endblock %}
{% block javascripts %}
<link rel="shortcut icon" href="{{ asset('favicon.png') }}" />
<script src="{{ asset('calendar/lib/moment.min.js') }}"></script>
<script src="{{ asset('js/jquery-3.3.1.js') }}"></script>
<script src="{{ asset('calendar/fullcalendar.js') }}"></script>
<script src="{{ asset('calendar/locale-all.js') }}"></script>
<script src="{{ asset('bootstrap/js/bootstrap.js') }}"></script>
<script src="{{ asset('js/jquery-ui-1.9.2.custom.min.js') }}"></script>
<script src="{{ asset('js/jquery.number.min.js') }}"></script>
<script src="{{ asset('js/autonumeric/autoNumeric.js') }}"></script>
<script src="{{ asset('js/jquery.currency.js') }}"></script>
<script src="{{ asset('ckeditor/ckeditor.js') }}"></script>
{% endblock %}
</head>
<body>
<div class="container-fluid" style="margin: 1%">
{% block navigation %}
<nav class="navbar navbar-default" style="margin-bottom:0px">
<div class="container-fluid" style="margin-bottom:0px" >
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header" style="margin-top:0px">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-brand" style="margin-top:-15px" >
<div class="hidden-xs hidden-sm">
<a href="{{ path('home') }}">
<i class="fa fa-medkit fa-8x" style="font-size:50px;color:#822890;"> </i>
</a>
</div>
<div class="visible-sm">
<a href="{{ path('home') }}">
<i class="fa fa-medkit fa-8x" style="font-size:50px;color:#822890;"> </i></a>
</div>
<div class="visible-xs">
<a href="{{ path('home') }}">
<i class="fa fa-medkit fa-8x" style="font-size:50px;color:#822890;"> </i>
</a>
</div>
</div>
<br>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
{% if is_granted('ROLE_ADMINISTRADOR') or is_granted('ROLE_ADMINISTRACION') %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i style="color: #822890" class="fas fa-users fa-2x "></i> <strong> Clientes </strong> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('clientes') }}">Clientes Registrados</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('clientes_new') }}">Crear Cliente</a></li>
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_ADMINISTRADOR') or is_granted('ROLE_MEDICO') %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i style="color: #822890" class="fas fa-file-alt fa-2x "></i> <strong> Órdenes</strong> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('ordenes_index', {currentPage:1}) }}">Ordenes de Servicio</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('ordenes_consultareventos') }}">Consultar Órdenes por Afiliado</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('ordenes_new') }}">Crear Orden</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('ordenes_misordenes') }}">Mis Ordenes</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('ordenes_calendariovista') }}">Calendario</a></li>
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_ANALISTA') %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i style="color: #822890" class="fas fa-address-book fa-2x "></i> <strong> Órdenes</strong> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('ordenes_consultareventos') }}">Consultar Órdenes por Afiliado</a></li>
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_PROVEEDOR') %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i style="color: #822890" class="fas fa-address-book fa-2x "></i> <strong> Órdenes</strong> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('ordenes_index', {currentPage:1}) }}">Órdenes de Servicio</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('ordenes_calendariovista') }}">Calendario</a></li>
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_ADMINISTRADOR') or is_granted('ROLE_ADMINISTRACION') %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i style="color: #822890" class="fas fa-cogs fa-2x "></i> <strong> Mantenimiento</strong> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('parametros') }}">Parámetros </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('motivosconsulta_index') }}">Motivos </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('tiposervicios_index') }}">Servicios </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('planes_index') }}">Planes </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('planesservicios_index') }}">Planes Servicios </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('planesserviciostarifas_index') }}">Tarifas </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('bancos_index') }}">Bancos </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('cuentas_index') }}">Cuentas </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('patologias_index') }}">Diagnósticos </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('baremosproveedores_index') }}">Baremos Proveedores </a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('unidades_index') }}">Unidades</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('usuarios') }}">Usuarios Registrados</a></li>
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_ADMINISTRADOR') or is_granted('ROLE_ADMINISTRACION') %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i style="color: #822890" class="fa fa-money-bill-alt fa-2x"></i><strong> Administración</strong> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('contratos_index') }}">Contratos</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('recibos_index') }}">Recibos</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('ingresos_index') }}">Ingresos</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('proveedores_index') }}">Proveedores</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('tasascambio_index') }}">Tasas de cambio</a></li>
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_ADMINISTRADOR') or is_granted('ROLE_MEDICO') or is_granted('ROLE_ADMINISTRACION')%}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i style="color: #822890" class="fa fa-file-pdf fa-2x"></i><strong> Reportes</strong> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('afiliados_index', {currentPage:1}) }}">Cartera de Afiliados</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('ordenes_pendientes', {currentPage:1}) }}">Órdenes Pendientes Por Conciliar</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('ordenes_resumen', {currentPage:1}) }}">Resumen de Órdenes</a></li>
</ul>
</li>
{% endif %}
</ul>
{% if is_granted('ROLE_ADMINISTRADOR') or is_granted('ROLE_ADMINISTRACION') or is_granted('ROLE_MEDICO') or is_granted('ROLE_AFILIADO') or is_granted('ROLE_PROVEEDOR') or is_granted('ROLE_ANALISTA') %}
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i style="color: #822890" class="fa fa-user-md fa-2x "></i> <strong> Mi cuenta </strong> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ path('usuarios_micuenta') }}">Mi cuenta</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('cambioclave') }}">Cambio de contraseña</a></li>
<li role="separator" class="divider"></li>
<li><a href="{{ path('bufete_acceso_logout') }}">Salir</a></li>
</ul>
</li>
</ul>
{% endif %}
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="text-right" style="margin-top:0px"> <i style="color: #822890" class="glyphicon glyphicon-user"></i> {{app.session.get('username')}}</div>
{% for flash_message in app.session.flashbag.get('warning') %}
<div class="alert alert-warning text-center">
<strong> {{ flash_message }} <i class="glyphicon glyphicon-warning-sign fa-1x"></i></strong>
</div>
{% endfor %}
{% for flash_message in app.session.flashbag.get('success') %}
<div class="alert alert-success text-center">
<strong> {{ flash_message }} </strong>
</div>
{% endfor %}
{% endblock %}
{% block body %}
{% endblock %}
</div>
</body>
</html>