Create data_ras.html
Browse files- data_ras.html +40 -0
 
    	
        data_ras.html
    ADDED
    
    | 
         @@ -0,0 +1,40 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            <!doctype html>
         
     | 
| 2 | 
         
            +
            <html lang="en">
         
     | 
| 3 | 
         
            +
              <head>
         
     | 
| 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 | 
         
            +
                  table {
         
     | 
| 9 | 
         
            +
                    width: 70%;
         
     | 
| 10 | 
         
            +
                    border-collapse: collapse;
         
     | 
| 11 | 
         
            +
                  }
         
     | 
| 12 | 
         
            +
                  th, td {
         
     | 
| 13 | 
         
            +
                    border: 1px solid black;
         
     | 
| 14 | 
         
            +
                    padding: 8px;
         
     | 
| 15 | 
         
            +
                    text-align: left;
         
     | 
| 16 | 
         
            +
                  }
         
     | 
| 17 | 
         
            +
                  th {
         
     | 
| 18 | 
         
            +
                    background-color: #f2f2f2;
         
     | 
| 19 | 
         
            +
                  }
         
     | 
| 20 | 
         
            +
                </style>
         
     | 
| 21 | 
         
            +
              </head>
         
     | 
| 22 | 
         
            +
              <body>
         
     | 
| 23 | 
         
            +
                <h1>Contacts</h1>
         
     | 
| 24 | 
         
            +
                <p>Total users: {{ total_users }}</p>
         
     | 
| 25 | 
         
            +
                <table>
         
     | 
| 26 | 
         
            +
                  <tr>
         
     | 
| 27 | 
         
            +
                    <th>Name</th>
         
     | 
| 28 | 
         
            +
                    <th>Phone</th>
         
     | 
| 29 | 
         
            +
                    <th>Email</th>
         
     | 
| 30 | 
         
            +
                  </tr>
         
     | 
| 31 | 
         
            +
                  {% for contact in contacts %}
         
     | 
| 32 | 
         
            +
                  <tr>
         
     | 
| 33 | 
         
            +
                    <td>{{ contact[0] }}</td>
         
     | 
| 34 | 
         
            +
                    <td>{{ contact[1] }}</td>
         
     | 
| 35 | 
         
            +
                    <td>{{ contact[2] }}</td>
         
     | 
| 36 | 
         
            +
                  </tr>
         
     | 
| 37 | 
         
            +
                  {% endfor %}
         
     | 
| 38 | 
         
            +
                </table>
         
     | 
| 39 | 
         
            +
              </body>
         
     | 
| 40 | 
         
            +
            </html>
         
     |