Spaces:
Sleeping
Sleeping
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <title>Contacts</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| text-align: center; | |
| background-color: #f0f0f0; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| h1 { | |
| background-color: #4CAF50; | |
| color: white; | |
| padding: 20px; | |
| margin: 0; | |
| border-bottom: 2px solid #388E3C; | |
| } | |
| .scroll-container { | |
| max-height: 400px; /* Устанавливаем максимальную высоту контейнера */ | |
| overflow-y: auto; /* Добавляем вертикальную прокрутку */ | |
| width: 70%; | |
| margin: 20px auto; | |
| background-color: white; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| } | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| th, td { | |
| border: 1px solid #ddd; | |
| padding: 12px; | |
| text-align: left; | |
| } | |
| th { | |
| background-color: #4CAF50; | |
| color: white; | |
| border-bottom: 2px solid #388E3C; | |
| position: sticky; /* Делаем шапку фиксированной */ | |
| top: 0; /* Фиксируем шапку сверху */ | |
| z-index: 1; /* Устанавливаем z-index для шапки */ | |
| } | |
| tr:nth-child(even) { | |
| background-color: #f2f2f2; | |
| } | |
| tr:hover { | |
| background-color: #e0e0e0; | |
| } | |
| p { | |
| margin-top: 20px; | |
| font-size: 18px; | |
| color: #333; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>Data GC</h1> | |
| <p>Total Users: {{ total_users }}</p> | |
| <table border="1"> | |
| <tr> | |
| <th>ID</th> | |
| <th>Name</th> | |
| <th>Phone</th> | |
| <th>Email</th> | |
| <th>VK ID</th> | |
| <th>Chat ID</th> | |
| <th>WS Statys</th> | |
| <th>WS Stop</th> | |
| <th>Web Statys</th> | |
| <th>Fin Progress</th> | |
| <th>Shop Statys Full</th> | |
| <th>PR1</th> | |
| <th>PR2</th> | |
| <th>PR3</th> | |
| <th>PR4</th> | |
| <th>PR5</th> | |
| <th>Ad URL</th> | |
| <th>Curator</th> | |
| <th>Key PR</th> | |
| <th>N Con</th> | |
| <th>Canal</th> | |
| <th>Data T</th> | |
| </tr> | |
| {% for contact in contacts %} | |
| <tr> | |
| <td>{{ contact[0] }}</td> | |
| <td>{{ contact[1] }}</td> | |
| <td>{{ contact[2] }}</td> | |
| <td>{{ contact[3] }}</td> | |
| <td>{{ contact[4] }}</td> | |
| <td>{{ contact[5] }}</td> | |
| <td>{{ contact[6] }}</td> | |
| <td>{{ contact[7] }}</td> | |
| <td>{{ contact[8] }}</td> | |
| <td>{{ contact[9] }}</td> | |
| <td>{{ contact[10] }}</td> | |
| <td>{{ contact[11] }}</td> | |
| <td>{{ contact[12] }}</td> | |
| <td>{{ contact[13] }}</td> | |
| <td>{{ contact[14] }}</td> | |
| <td>{{ contact[15] }}</td> | |
| <td>{{ contact[16] }}</td> | |
| <td>{{ contact[17] }}</td> | |
| <td>{{ contact[18] }}</td> | |
| <td>{{ contact[19] }}</td> | |
| <td>{{ contact[20] }}</td> | |
| <td>{{ contact[21] }}</td> | |
| </tr> | |
| {% endfor %} | |
| </table> | |
| </body> | |
| </html> |