File size: 2,088 Bytes
4cdba86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
  <head>
    <title> AIML </title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
  </head>
  
  <body>
    <nav class="navbar navbar-inverse">
      <div class="container-fluid">
        <div class="navbar-header">
          <a class="navbar-brand" href="#">AIML</a>
        </div>
        <ul class="nav navbar-nav">
          <li class="active"><a href="/">Home</a></li>
          <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Page 1 <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="boot1.html">Bootstrap </a></li>
              <li><a href="box.html">Box</a></li>
              
            </ul>
          </li>
          <li><a href="index1.html">Website1</a></li>
          <li><a href="data.html">Data from OpenCV</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
        </ul>
      </div>
    </nav>
    
    <div class="container">
      <h2>
        Data from User Table 
      </h2>
      <div class="row"> 
        
        <table class="table table-striped">
          <thead>
            <tr>
              <th>ID </th>
              <th>User Name</th>
              <th>Matching %</th>
              <th> Recording Time</th>
            </tr>
          </thead>
          {% for rec in data %}
          <tr>
          <td> {{ rec['id']}} </td>
            <td> {{ rec['username']}} </td>
            <td> {{ rec['matching']}} </td>
            <td> {{ rec['recordingtime']}}  </td>
          </tr>
           {% endfor %} 
        </table>
              
        
      </div>
    </div>
  </body>
</html>