DmitrMakeev commited on
Commit
2bea333
1 Parent(s): fafa910

Update data_gc.html

Browse files
Files changed (1) hide show
  1. data_gc.html +24 -17
data_gc.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
  <title>Contacts</title>
7
- <style>
8
  body {
9
  font-family: Arial, sans-serif;
10
  text-align: center;
@@ -20,13 +20,18 @@
20
  margin: 0;
21
  border-bottom: 2px solid #388E3C;
22
  }
23
- table {
 
 
24
  width: 70%;
25
  margin: 20px auto;
26
- border-collapse: collapse;
27
  background-color: white;
28
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
29
  }
 
 
 
 
30
  th, td {
31
  border: 1px solid #ddd;
32
  padding: 12px;
@@ -53,19 +58,21 @@
53
  <body>
54
  <h1>База синзронизации с Getcurse</h1>
55
  <p>Total users: {{ total_users }}</p>
56
- <table>
57
- <tr>
58
- <th>Имя</th>
59
- <th>Телефон</th>
60
- <th>Почта</th>
61
- </tr>
62
- {% for contact in contacts %}
63
- <tr>
64
- <td>{{ contact[0] }}</td>
65
- <td>{{ contact[1] }}</td>
66
- <td>{{ contact[2] }}</td>
67
- </tr>
68
- {% endfor %}
69
- </table>
 
 
70
  </body>
71
  </html>
 
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
  <title>Contacts</title>
7
+ <style>
8
  body {
9
  font-family: Arial, sans-serif;
10
  text-align: center;
 
20
  margin: 0;
21
  border-bottom: 2px solid #388E3C;
22
  }
23
+ .scroll-container {
24
+ max-height: 400px; /* Устанавливаем максимальную высоту контейнера */
25
+ overflow-y: auto; /* Добавляем вертикальную прокрутку */
26
  width: 70%;
27
  margin: 20px auto;
 
28
  background-color: white;
29
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
30
  }
31
+ table {
32
+ width: 100%;
33
+ border-collapse: collapse;
34
+ }
35
  th, td {
36
  border: 1px solid #ddd;
37
  padding: 12px;
 
58
  <body>
59
  <h1>База синзронизации с Getcurse</h1>
60
  <p>Total users: {{ total_users }}</p>
61
+ <div class="scroll-container">
62
+ <table>
63
+ <tr>
64
+ <th>Имя</th>
65
+ <th>Телефон</th>
66
+ <th>Почта</th>
67
+ </tr>
68
+ {% for contact in contacts %}
69
+ <tr>
70
+ <td>{{ contact[0] }}</td>
71
+ <td>{{ contact[1] }}</td>
72
+ <td>{{ contact[2] }}</td>
73
+ </tr>
74
+ {% endfor %}
75
+ </table>
76
+ </div>
77
  </body>
78
  </html>