templates/Karaoke/cliente/index.html.twig line 1

Open in your IDE?
  1. {#
  2.     <img src="{{ asset('assets/img/Dic_logoPNG.png') }}" class="img-fluid" width="2%" alt="logoDic" style="margin-top: -5px;"/>
  3. #}
  4. <!DOCTYPE html>
  5. <html lang="en">
  6.     <head>
  7.         <meta charset="UTF-8"/>
  8.         <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  9.         <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  10.         <title>Cancionero</title>
  11.         <style>
  12.         #particles-js{
  13.             position: fixed;
  14.             width: 100%;
  15.             height: 100vh;
  16.             z-index: -1;
  17.                         left: 10px
  18.         }
  19.     </style>
  20.         <!-- Bootstrap-->
  21.         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous"/>
  22.         <!-- DataTable -->
  23.         <link rel="stylesheet" href="https://cdn.datatables.net/1.12.1/css/dataTables.bootstrap5.min.css"/>
  24.         <!-- Font Awesome -->
  25.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer"/>
  26.     </head>
  27.     <body>
  28.         <div class="container my-4">
  29.         <div id="particles-js"></div>
  30.             <div class="row justify-content-center">
  31.                 <div class="col-8">
  32.                     
  33.                     <img src="{{ asset('assets/img/heroCancionero.png') }}" class="img-fluid"/>
  34.                     <div class="d-flex align-items-center text-primary" id="loadingTable" style="color: #ff5000 !important;">
  35.                         <strong>Cargando...</strong>
  36.                         <div class="spinner-border ms-auto" role="status" aria-hidden="true"></div>
  37.                     </div>
  38.                     <table id="datatable_users" class="table table-striped" style="display: none;">
  39.                         <thead>
  40.                             <tr>
  41.                                 <th class="centered">Código</th>
  42.                                 <th class="centered">Nombre Canción</th>
  43.                                 <th class="centered">Género</th>
  44.                                 <th class="centered">Autor</th>
  45.                             </tr>
  46.                         </thead>
  47.                         <tbody id="tableBody_users"></tbody>
  48.                     </table>
  49.                 </div>
  50.             </div>
  51.         </div>
  52.         <!-- Bootstrap-->
  53.         <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
  54.         <!-- jQuery -->
  55.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  56.         <!-- DataTable -->
  57.         <script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
  58.         <script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap5.min.js"></script>
  59.         {# Particles #}
  60.         <script type="text/javascript" src="{{ asset('assets/js/particles.min.js') }}"></script>
  61.         <!-- Custom JS -->
  62.         <script src="{{ asset('assets/js/karaoke/cliente/cancionero.js') }}"></script>
  63.         <script>
  64.         particlesJS(
  65.             {
  66.                 "particles": {
  67.                     "number": {
  68.                         "value": 85,
  69.                         "density": {
  70.                             "enable": true,
  71.                             "value_area": 800
  72.                         }
  73.                     },
  74.                     "color": {
  75.                         "value": "#ff5000"
  76.                     },
  77.                     "shape": {
  78.                         "type": "circle",
  79.                         "stroke": {
  80.                             "width": 0,
  81.                             "color": "#ff5000"
  82.                         },
  83.                         "polygon": {
  84.                             "nb_sides": 5
  85.                         },
  86.                         "image": {
  87.                             "src": "img/github.svg",
  88.                             "width": 100,
  89.                             "height": 100
  90.                         }
  91.                     },
  92.                     "opacity": {
  93.                         "value": 0.5,
  94.                         "random": false,
  95.                         "anim": {
  96.                             "enable": false,
  97.                             "speed": 1,
  98.                             "opacity_min": 0.1,
  99.                             "sync": false
  100.                         }
  101.                     },
  102.                     "size": {
  103.                         "value": 3,
  104.                         "random": true,
  105.                         "anim": {
  106.                             "enable": false,
  107.                             "speed": 40,
  108.                             "size_min": 0.1,
  109.                             "sync": false
  110.                         }
  111.                     },
  112.                     "line_linked": {
  113.                         "enable": true,
  114.                         "distance": 150,
  115.                         "color": "#ff5000",
  116.                         "opacity": 0.4,
  117.                         "width": 1
  118.                     },
  119.                     "move": {
  120.                         "enable": true,
  121.                         "speed": 11.22388442605866,
  122.                         "direction": "none",
  123.                         "random": false,
  124.                         "straight": false,
  125.                         "out_mode": "out",
  126.                         "bounce": false,
  127.                         "attract": {
  128.                             "enable": false,
  129.                             "rotateX": 600,
  130.                             "rotateY": 1200
  131.                         }
  132.                     }
  133.                 },
  134.                 "interactivity": {
  135.                     "detect_on": "canvas",
  136.                     "events": {
  137.                         "onhover": {
  138.                             "enable": false,
  139.                             "mode": "repulse"
  140.                         },
  141.                         "onclick": {
  142.                             "enable": true,
  143.                             "mode": "push"
  144.                         },
  145.                         "resize": true
  146.                     },
  147.                     "modes": {
  148.                         "grab": {
  149.                             "distance": 400,
  150.                             "line_linked": {
  151.                                 "opacity": 1
  152.                             }
  153.                         },
  154.                         "bubble": {
  155.                             "distance": 400,
  156.                             "size": 40,
  157.                             "duration": 2,
  158.                             "opacity": 8,
  159.                             "speed": 3
  160.                         },
  161.                         "repulse": {
  162.                             "distance": 200,
  163.                             "duration": 0.4
  164.                         },
  165.                         "push": {
  166.                             "particles_nb": 4
  167.                         },
  168.                         "remove": {
  169.                             "particles_nb": 2
  170.                         }
  171.                     }
  172.                 },
  173.                 "retina_detect": true
  174.             }
  175.         )
  176.     </script>
  177.     </body>
  178. </html>