<!DOCTYPE html>
<html lang="en">
<head>
    <title>Topics</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <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.5.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<style>
	html {
		height: 100%;
	}
	* {box-sizing: border-box;}

	body {
		margin: 0;
		height: 100%;
		font-family: Arial, Helvetica, sans-serif;
		background-image: url({{ url_for('static', filename='images/bg.jpg') }})
	}


	.header {
		overflow: hidden;
		background-color: #970103;
		padding: 5px 10px;
	}

	.header a {
		float: left;
		color: White;
		text-align: center;
		padding: 12px;
		text-decoration: none;
		font-size: 18px;
		line-height: 25px;
		border-radius: 4px;
	}

	.header a.logo {
		font-size: 25px;
		font-weight: bold;
	}

	.header a:hover {
		background-color: #8a8a8a;
		color: black;
	}

	.header a.active {
		background-color: #0b0b0b;
		color: white;
	}

	.header-right {
		float: right;
	}

	@media screen and (max-width: 500px) {
	  .header a {
		float: none;
		display: block;
		text-align: left;
	  }

	  .header-right {
		float: none;
	  }
	}

   .global-container{
		margin-top: 20px;
		display: flex;
		align-items: center;
		justify-content: center;
		float: left;
		width: 100%;
	}

	form{
		padding-top: 10px;
		font-size: 14px;
		margin-top: 50px;
		margin-left: 50px;
		margin-right: 50px;
	}

	.card-title{ font-weight:300; }

	.card{
	opacity: 0.95;

	}

	.card-body{
  margin-top: 100px;

	}

	.effect7{
		position:relative;
		-webkit-box-shadow:0 1px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
		-moz-box-shadow:0 1px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        box-shadow:0 1px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	}
	.login-form{
		width:1175px;
		margin:20px;
	}












</style>
<body>


<div class="global-container">
    <br>
    <br>
    <br>
    <div class="card login-form effect7">
        <div class="card-body">
            <center>
                <h2>Topics Ready</h2>
            </center>
            <table class="table" id="table">
                <thead>
                <tr>
                    <th>Index</th>
                    <th>Key Points ( Topics )</th>
                </tr>
                </thead>
                <tbody>
                {% for row in topic_list %}
                <tr>
                    <td>{{row[0]}}</td>
                    <td>{{row[2]}}</td>

                </tr>
                 {% endfor %}
                </tbody>
            </table>


        </div>
    </div>
</div>
</body>
</html>