Create templates/table.html
Browse files- templates/table.html +45 -0
templates/table.html
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head>
|
| 3 |
+
<style>
|
| 4 |
+
body {
|
| 5 |
+
margin: 0;
|
| 6 |
+
height: 100vh;
|
| 7 |
+
display: flex;
|
| 8 |
+
justify-content: center;
|
| 9 |
+
align-items: center;
|
| 10 |
+
background: url('https://picsum.photos/1200/800') no-repeat center center/cover;
|
| 11 |
+
font-family: Arial, sans-serif;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.glass-card {
|
| 15 |
+
background: rgba(255, 255, 255, 0.1);
|
| 16 |
+
border-radius: 20px;
|
| 17 |
+
backdrop-filter: blur(10px);
|
| 18 |
+
-webkit-backdrop-filter: blur(10px);
|
| 19 |
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
| 20 |
+
padding: 30px 50px;
|
| 21 |
+
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
|
| 22 |
+
text-align: center;
|
| 23 |
+
color: #fff;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
h2 {
|
| 27 |
+
margin-bottom: 20px;
|
| 28 |
+
font-size: 28px;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
h3 {
|
| 32 |
+
margin: 8px 0;
|
| 33 |
+
font-weight: normal;
|
| 34 |
+
}
|
| 35 |
+
</style>
|
| 36 |
+
</head>
|
| 37 |
+
<body>
|
| 38 |
+
<div class="glass-card">
|
| 39 |
+
<h2>Printing table of {{n}}</h2>
|
| 40 |
+
{% for i in range(1,11) %}
|
| 41 |
+
<h3>{{n}} × {{i}} = {{n * i}}</h3>
|
| 42 |
+
{% endfor %}
|
| 43 |
+
</div>
|
| 44 |
+
</body>
|
| 45 |
+
</html>
|