This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "icons": [ | |
| { | |
| "src": "img/icons/Icon-72", | |
| "type": "image/png", | |
| "sizes": "72x72" | |
| }, | |
| { | |
| "src": "img/icons/Icon-120.png", | |
| "type": "image/png", | |
| "sizes": "120x120" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "platillos": [ | |
| { | |
| "id": 1, | |
| "nombre": "Pizza a la Leña Chica", | |
| "precio": 30, | |
| "categoria": 1 | |
| }, | |
| { | |
| "id": 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ` <tr> | |
| <td class="px-6 py-4 whitespace-no-wrap border-b border-gray-200"> | |
| <p class="text-sm leading-5 font-medium text-gray-700 text-lg font-bold"> ${nombre} </p> | |
| <p class="text-sm leading-10 text-gray-700"> ${email} </p> | |
| </td> | |
| <td class="px-6 py-4 whitespace-no-wrap border-b border-gray-200 "> | |
| <p class="text-gray-700">${telefono}</p> | |
| </td> | |
| <td class="px-6 py-4 whitespace-no-wrap border-b border-gray-200 leading-5 text-gray-700"> | |
| <p class="text-gray-600">${empresa}</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.citas.forEach(cita => { | |
| const divCita = document.createElement('div'); | |
| divCita.classList.add('mx-5', 'my-10', 'bg-white', 'shadow-md', 'px-5', 'py-10' ,'rounded-xl', 'p-3'); | |
| const paciente = document.createElement('p'); | |
| paciente.classList.add('font-normal', 'mb-3', 'text-gray-700', 'normal-case') | |
| paciente.innerHTML = `<span class="font-bold uppercase">Paciente: </span> ${cita.paciente}`; | |
| const propietario = document.createElement('p'); | |
| propietario.classList.add('font-normal', 'mb-3', 'text-gray-700', 'normal-case') |