templates/bundles/AccesoBundle/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html charset=utf-8" />
  5.         <meta name="viewport" content="initial-scale=1.0" />
  6.         <title>{% block title %}CSL - Gestión de Salud{% endblock %}</title>
  7.          {% block stylesheets %}
  8.         <link href="{{ asset('bootstrap/css/bootstrap.css') }}" type="text/css" rel="stylesheet" />
  9.         <link href="{{ asset('fontawesome-free/web-fonts-with-css/css/fontawesome-all.min.css') }}" type="text/css" rel="stylesheet" />
  10.         <link href="{{ asset('css/smoothness/jquery-ui-1.9.2.custom.min.css') }}" type="text/css" rel="stylesheet" />
  11.         <link href="{{ asset('calendar/fullcalendar.min.css') }}"  rel="stylesheet" />
  12.         <link href="{{ asset('calendar/fullcalendar.print.min.css') }}" rel="stylesheet" media='print' />
  13.         <style type="text/css">
  14.                 .stepwizard-step p {
  15.     margin-top: 10px;    
  16. }
  17. .stepwizard-row {
  18.     display: table-row;
  19. }
  20. .stepwizard {
  21.     display: table;     
  22.     width: 100%;
  23.     position: relative;
  24. }
  25. .stepwizard-step button[disabled] {
  26.     opacity: 1 !important;
  27.     filter: alpha(opacity=100) !important;
  28. }
  29. .stepwizard-row:before {
  30.     top: 18px;
  31.     bottom: 0;
  32.     position: absolute;
  33.     content: " ";
  34.     width: 100%;
  35.     height: 5px;
  36.     background-color: #ccc;
  37.     z-order: 0;
  38.     
  39. }
  40. .stepwizard-step {    
  41.     display: table-cell;
  42.     text-align: center;
  43.     position: relative;
  44. }
  45. .btn-circle {
  46.   width: 40px;
  47.   height: 40px;
  48.   text-align: center;
  49.   padding: 6px 0;
  50.   font-size: 12px;
  51.   line-height: 1.428571429;
  52.   border-radius: 20px;
  53. }
  54. .navbar-border{border-bottom: solid 3px #96BF0D;}
  55. .navbar-border{border-bottom: solid 3px #000000;}
  56. ul.social-network {
  57.     list-style: none;
  58.     display: inline;
  59.     margin-left:0 !important;
  60.     padding: 0;
  61. }
  62. ul.social-network li {
  63.     display: inline;
  64.     margin: 0 5px;
  65. }
  66. /* footer social icons */
  67. .social-network a.icoRss:hover {
  68.     background-color: #F56505;
  69. }
  70. .social-network a.icoFacebook:hover {
  71.     background-color:#3B5998;
  72. }
  73. .social-network a.icoTwitter:hover {
  74.     background-color:#33ccff;
  75. }
  76. .social-network a.icoGoogle:hover {
  77.     background-color:#BD3518;
  78. }
  79. .social-network a.icoVimeo:hover {
  80.     background-color:#0590B8;
  81. }
  82. .social-network a.icoLinkedin:hover {
  83.     background-color:#007bb7;
  84. }
  85. .social-network a.icoRss:hover i, .social-network a.icoFacebook:hover i, .social-network a.icoTwitter:hover i,
  86. .social-network a.icoGoogle:hover i, .social-network a.icoVimeo:hover i, .social-network a.icoLinkedin:hover i {
  87.     color:#fff;
  88. }
  89. a.socialIcon:hover, .socialHoverClass {
  90.     color:#44BCDD;
  91. }
  92. .social-circle li a {
  93.     display:inline-block;
  94.     position:relative;
  95.     margin:0 auto 0 auto;
  96.     -moz-border-radius:50%;
  97.     -webkit-border-radius:50%;
  98.     border-radius:50%;
  99.     text-align:center;
  100.     width: 60px;
  101.     height: 60px;
  102.     font-size:20px;
  103. }
  104. .social-circle li i {
  105.     margin:0;
  106.     line-height:50px;
  107.     text-align: center;
  108. }
  109. .social-circle li a:hover i, .triggeredHover {
  110.     -moz-transform: rotate(360deg);
  111.     -webkit-transform: rotate(360deg);
  112.     -ms--transform: rotate(360deg);
  113.     transform: rotate(360deg);
  114.     -webkit-transition: all 0.2s;
  115.     -moz-transition: all 0.2s;
  116.     -o-transition: all 0.2s;
  117.     -ms-transition: all 0.2s;
  118.     transition: all 0.2s;
  119. }
  120. .social-circle i {
  121.     color: #fff;
  122.     -webkit-transition: all 0.8s;
  123.     -moz-transition: all 0.8s;
  124.     -o-transition: all 0.8s;
  125.     -ms-transition: all 0.8s;
  126.     transition: all 0.8s;
  127. }
  128. .redes i {
  129.     color: #96BF0D;
  130.     -webkit-transition: all 0.8s;
  131.     -moz-transition: all 0.8s;
  132.     -o-transition: all 0.8s;
  133.     -ms-transition: all 0.8s;
  134.     transition: all 0.8s;
  135.         margin-top: 10px;
  136. }
  137. .fa-number-1:before {
  138.     content: "1";
  139. }
  140. .fa-number-2:before {
  141.     content: "2";
  142. }
  143. .fa-number-3:before {
  144.     content: "3";
  145. }
  146. .fa-number-4:before {
  147.     content: "4";
  148. }
  149. .icon-background {
  150.     color: #96BF0D;
  151. }
  152. /* Modal Content (Image) */
  153. .modal-content {
  154.     margin: auto;
  155.     display: block;
  156.     width: 80%;
  157.     max-width: 700px;
  158. }
  159. .stepline{border: solid 2px #96BF0D;border-radius:10px;   vertical-align: middle;display: inline-block;}
  160. .panel.with-nav-tabs .panel-heading{
  161.     padding: 5px 5px 0 5px;
  162. }
  163. .panel.with-nav-tabs .nav-tabs{
  164.     border-bottom: none;
  165. }
  166. .panel.with-nav-tabs .nav-justified{
  167.     margin-bottom: -1px;
  168. }
  169.                 .dropdown-submenu {
  170.                     position: relative;
  171.                 }
  172.                 .dropdown-submenu>.dropdown-menu {
  173.                     top: 0;
  174.                     left: 100%;
  175.                     margin-top: -6px;
  176.                     margin-left: -1px;
  177.                     -webkit-border-radius: 0 6px 6px 6px;
  178.                     -moz-border-radius: 0 6px 6px;
  179.                     border-radius: 0 6px 6px 6px;
  180.                 }
  181.                 .dropdown-submenu:hover>.dropdown-menu {
  182.                     display: block;
  183.                 }
  184.                 .dropdown-submenu>a:after {
  185.                     display: block;
  186.                     content: " ";
  187.                     float: right;
  188.                     width: 0;
  189.                     height: 0;
  190.                     border-color: transparent;
  191.                     border-style: solid;
  192.                     border-width: 5px 0 5px 5px;
  193.                     border-left-color: #ccc;
  194.                     margin-top: 5px;
  195.                     margin-right: -10px;
  196.                 }
  197.                 .dropdown-submenu:hover>a:after {
  198.                     border-left-color: #fff;
  199.                 }
  200.                 .dropdown-submenu.pull-left {
  201.                     float: none;
  202.                 }
  203.                 .dropdown-submenu.pull-left>.dropdown-menu {
  204.                     left: -100%;
  205.                     margin-left: 10px;
  206.                     -webkit-border-radius: 6px 0 6px 6px;
  207.                     -moz-border-radius: 6px 0 6px 6px;
  208.                     border-radius: 6px 0 6px 6px;
  209.                 }
  210.                 .glyphicon-refresh-animate {
  211.                     -animation: spin .7s infinite linear;
  212.                     -ms-animation: spin .7s infinite linear;
  213.                     -webkit-animation: spinw .7s infinite linear;
  214.                     -moz-animation: spinm .7s infinite linear;
  215.                 }
  216.                 @keyframes spin {
  217.                     from { transform: scale(1) rotate(0deg);}
  218.                 to { transform: scale(1) rotate(360deg);}
  219.                 }
  220.                 @-webkit-keyframes spinw {
  221.                     from { -webkit-transform: rotate(0deg);}
  222.                 to { -webkit-transform: rotate(360deg);}
  223.                 }
  224.                 @-moz-keyframes spinm {
  225.                     from { -moz-transform: rotate(0deg);}
  226.                 to { -moz-transform: rotate(360deg);}
  227.                 }
  228.                 @media (min-width: 30em) {
  229.   html {
  230.     font-size: 125%;
  231.   }
  232. }
  233. @media (min-width: 40em) {
  234.   html {
  235.     font-size: 150%;
  236.   }
  237. }
  238. @media (min-width: 50em) {
  239.   html {
  240.     font-size: 175%;
  241.   }
  242. }
  243. @media (min-width: 60em) {
  244.   html {
  245.     font-size: 200%;
  246.   }
  247. }
  248. .ui-datepicker {
  249.     width: 17em;
  250.     margin-top: -180px;
  251. }
  252.             </style>
  253.         {% endblock %}
  254. {% block javascripts %}
  255.              <link rel="shortcut icon" href="{{ asset('favicon.png') }}" />
  256.             <script src="{{ asset('calendar/lib/moment.min.js') }}"></script>
  257.             <script src="{{ asset('js/jquery-3.3.1.js') }}"></script>
  258.             <script src="{{ asset('calendar/fullcalendar.js') }}"></script>
  259.             <script src="{{ asset('calendar/locale-all.js') }}"></script>
  260.             <script src="{{ asset('bootstrap/js/bootstrap.js') }}"></script>
  261.             <script src="{{ asset('js/jquery-ui-1.9.2.custom.min.js') }}"></script>
  262.             <script src="{{ asset('js/jquery.number.min.js') }}"></script>
  263.             <script src="{{ asset('js/autonumeric/autoNumeric.js') }}"></script>
  264.             <script src="{{ asset('js/jquery.currency.js') }}"></script>
  265.             <script src="{{ asset('ckeditor/ckeditor.js') }}"></script>
  266.  {% endblock %}         
  267.         </head>
  268.         <body>
  269.             <div class="container-fluid" style="margin: 1%">
  270.                       {% block navigation %}
  271.                     <nav class="navbar navbar-default" style="margin-bottom:0px">
  272.                         <div class="container-fluid" style="margin-bottom:0px" >
  273.                             <!-- Brand and toggle get grouped for better mobile display -->
  274.                             <div class="navbar-header" style="margin-top:0px">
  275.                                 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
  276.                                     <span class="sr-only">Toggle navigation</span>
  277.                                     <span class="icon-bar"></span>
  278.                                     <span class="icon-bar"></span>
  279.                                     <span class="icon-bar"></span>
  280.                                 </button>
  281.                                 <div class="navbar-brand" style="margin-top:-15px" >
  282.                                     <div class="hidden-xs hidden-sm">
  283.                                         <a href="{{ path('home') }}">     
  284.                                             <i class="fa fa-medkit fa-8x" style="font-size:50px;color:#822890;">   </i>
  285.                                         </a>
  286.                   
  287.                                     </div>
  288.                                              <div class="visible-sm">
  289.                                    
  290.                                                   <a href="{{ path('home') }}">    
  291.                                                       <i class="fa fa-medkit fa-8x" style="font-size:50px;color:#822890;">    </i></a>
  292.                 
  293.                                     </div>
  294.                                          <div class="visible-xs">
  295.                                    
  296.                                     <a href="{{ path('home') }}">  
  297.                                         <i class="fa fa-medkit fa-8x" style="font-size:50px;color:#822890;">    </i>
  298.                                     </a>
  299.                    
  300.                                     </div>
  301.                                         </div>
  302.                                     
  303.                                 <br>
  304.                             </div>
  305.                             <!-- Collect the nav links, forms, and other content for toggling -->
  306.                             <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  307.                                 <ul class="nav navbar-nav">
  308.                                      {% if is_granted('ROLE_ADMINISTRADOR') or  is_granted('ROLE_ADMINISTRACION') %}
  309.                                      <li class="dropdown">
  310.                                         <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>
  311.                                         <ul class="dropdown-menu">
  312.                                             <li><a href="{{ path('clientes') }}">Clientes Registrados</a></li>
  313.                                             <li role="separator" class="divider"></li>
  314.                                             <li><a href="{{ path('clientes_new') }}">Crear Cliente</a></li>
  315.                                   
  316.                                         </ul>
  317.                                     </li>
  318.                                        {% endif %}
  319.                                 
  320.                                         {% if is_granted('ROLE_ADMINISTRADOR') or  is_granted('ROLE_MEDICO') %}
  321.                                     <li class="dropdown">
  322.                                         <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>
  323.                                         <ul class="dropdown-menu">
  324.                                             <li><a href="{{ path('ordenes_index', {currentPage:1}) }}">Ordenes de Servicio</a></li>
  325.                                              <li role="separator" class="divider"></li>
  326.                                                 <li><a href="{{ path('ordenes_consultareventos') }}">Consultar Órdenes por Afiliado</a></li>
  327.                                               <li role="separator" class="divider"></li>
  328.                                             <li><a href="{{ path('ordenes_new') }}">Crear Orden</a></li>
  329.                                               <li role="separator" class="divider"></li>
  330.                                             <li><a href="{{ path('ordenes_misordenes') }}">Mis Ordenes</a></li>
  331.                                             <li role="separator" class="divider"></li>
  332.                                             <li><a href="{{ path('ordenes_calendariovista') }}">Calendario</a></li>
  333.                                         </ul>
  334.                                     </li>
  335.                                        {% endif %}
  336.                                          {% if is_granted('ROLE_ANALISTA') %}
  337.                                                    <li class="dropdown">
  338.                                         <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>
  339.                                         <ul class="dropdown-menu">
  340.                                                 <li><a href="{{ path('ordenes_consultareventos') }}">Consultar Órdenes por Afiliado</a></li>
  341.                                         </ul>
  342.                                     </li>
  343.                                          {% endif %}
  344.                                            {% if is_granted('ROLE_PROVEEDOR') %}
  345.                                     <li class="dropdown">
  346.                                         <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>
  347.                                         <ul class="dropdown-menu">
  348.                                             <li><a href="{{ path('ordenes_index', {currentPage:1}) }}">Órdenes de Servicio</a></li>
  349.                                             <li role="separator" class="divider"></li>
  350.                                             <li><a href="{{ path('ordenes_calendariovista') }}">Calendario</a></li>
  351.                                         </ul>
  352.                                     </li>
  353.                                        {% endif %}
  354.                                    
  355.               {% if is_granted('ROLE_ADMINISTRADOR')  or  is_granted('ROLE_ADMINISTRACION') %}
  356.                                     <li class="dropdown">
  357.                                         <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>
  358.                                         <ul class="dropdown-menu">
  359.                                             <li><a href="{{ path('parametros') }}">Parámetros </a></li>
  360.                                             <li role="separator" class="divider"></li>
  361.                                               <li><a href="{{ path('motivosconsulta_index') }}">Motivos </a></li>
  362.                                             <li role="separator" class="divider"></li>
  363.                                             <li><a href="{{ path('tiposervicios_index') }}">Servicios </a></li>
  364.                                             <li role="separator" class="divider"></li>
  365.                                             <li><a href="{{ path('planes_index') }}">Planes </a></li>
  366.                                             <li role="separator" class="divider"></li>
  367.                                             <li><a href="{{ path('planesservicios_index') }}">Planes Servicios </a></li>
  368.                                             <li role="separator" class="divider"></li>
  369.                                             <li><a href="{{ path('planesserviciostarifas_index') }}">Tarifas </a></li>
  370.                                             <li role="separator" class="divider"></li>
  371.                           
  372.                                             <li><a href="{{ path('bancos_index') }}">Bancos </a></li>
  373.                                             <li role="separator" class="divider"></li>
  374.                                             <li><a href="{{ path('cuentas_index') }}">Cuentas </a></li>
  375.                                             <li role="separator" class="divider"></li>
  376.                                              <li><a href="{{ path('patologias_index') }}">Diagnósticos </a></li>
  377.                                             <li role="separator" class="divider"></li>
  378.                                             <li><a href="{{ path('baremosproveedores_index') }}">Baremos Proveedores </a></li>
  379.                                             <li role="separator" class="divider"></li>
  380.                                              <li><a href="{{ path('unidades_index') }}">Unidades</a></li>
  381.                                             <li role="separator" class="divider"></li>
  382.                                              <li><a href="{{ path('usuarios') }}">Usuarios Registrados</a></li>
  383.                                            
  384.                                             </ul>
  385.                                         </li>
  386.         {% endif %}
  387.         {% if is_granted('ROLE_ADMINISTRADOR') or  is_granted('ROLE_ADMINISTRACION') %}
  388.                                         <li class="dropdown">
  389.                                             <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>
  390.                                             <ul class="dropdown-menu">
  391.                                                 <li><a href="{{ path('contratos_index') }}">Contratos</a></li>
  392.                                                 <li role="separator" class="divider"></li>
  393.                                                 <li><a href="{{ path('recibos_index') }}">Recibos</a></li>
  394.                                               <li role="separator" class="divider"></li>
  395.                                                 <li><a href="{{ path('ingresos_index') }}">Ingresos</a></li>
  396.                                                 <li role="separator" class="divider"></li>
  397.                                                   <li><a href="{{ path('proveedores_index') }}">Proveedores</a></li>
  398.                                                 <li role="separator" class="divider"></li>
  399.                                    
  400.                                              <li><a href="{{ path('tasascambio_index') }}">Tasas de cambio</a></li>
  401.                                                 </ul>
  402.                                             </li>
  403.         {% endif %}
  404.         {% if is_granted('ROLE_ADMINISTRADOR')  or  is_granted('ROLE_MEDICO') or  is_granted('ROLE_ADMINISTRACION')%}
  405.                                             <li class="dropdown">
  406.                                                 <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>
  407.                                              <ul class="dropdown-menu">
  408.                                             <li><a href="{{ path('afiliados_index', {currentPage:1}) }}">Cartera de Afiliados</a></li>
  409.                                              <li role="separator" class="divider"></li>
  410.                                                     <li><a href="{{ path('ordenes_pendientes', {currentPage:1}) }}">Órdenes Pendientes Por Conciliar</a></li>
  411.                                              <li role="separator" class="divider"></li>
  412.                                                     <li><a href="{{ path('ordenes_resumen', {currentPage:1}) }}">Resumen de Órdenes</a></li>
  413.                                              </ul>
  414.                                             </li>
  415.         {% endif %}
  416.                                         </ul>
  417. {% 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') %}
  418.                                         <ul class="nav navbar-nav navbar-right">
  419.                                             <li class="dropdown">
  420.                                                 <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>
  421.                                                 <ul class="dropdown-menu">
  422.                                                     <li><a href="{{ path('usuarios_micuenta') }}">Mi cuenta</a></li>
  423.                                                     <li role="separator" class="divider"></li>
  424.                                                     <li><a href="{{ path('cambioclave') }}">Cambio de contraseña</a></li>
  425.                                                     <li role="separator" class="divider"></li>
  426.                                                     <li><a href="{{ path('bufete_acceso_logout') }}">Salir</a></li>
  427.                                                 </ul>
  428.                                             </li>
  429.                                         </ul>
  430.                                     {% endif %}
  431.                                     </div><!-- /.navbar-collapse -->
  432.                                 </div><!-- /.container-fluid -->
  433.                             </nav>
  434.                             <div class="text-right" style="margin-top:0px"> <i style="color: #822890" class="glyphicon glyphicon-user"></i> {{app.session.get('username')}}</div>
  435.                                     {% for flash_message in app.session.flashbag.get('warning') %}
  436.     <div class="alert alert-warning text-center">
  437.         <strong>  {{ flash_message }} <i class="glyphicon glyphicon-warning-sign fa-1x"></i></strong> 
  438.     </div>
  439. {% endfor %}  
  440.                                        {% for flash_message in app.session.flashbag.get('success') %}
  441.     <div class="alert alert-success text-center">
  442.         <strong>  {{ flash_message }} </strong> 
  443.     </div>
  444. {% endfor %}                          
  445.  {% endblock %}
  446. {% block body %}
  447. {% endblock %}
  448.                         </div>
  449.                     </body>
  450.                 </html>