vaithi663 commited on
Commit
945485b
·
verified ·
1 Parent(s): 67e843a

Update templates/database.html

Browse files
Files changed (1) hide show
  1. templates/database.html +11 -2
templates/database.html CHANGED
@@ -4,6 +4,7 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>RetiCheck | Patient Database</title>
 
7
  <style>
8
  * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
9
  body { background: #0f172a; color: white; padding: 30px; text-align: center; }
@@ -19,8 +20,13 @@
19
  .safe { color: #10b981; font-weight: bold; }
20
  .urgent { color: #ef4444; font-weight: bold; }
21
 
22
- .btn-back { display: inline-block; padding: 10px 20px; margin-top: 20px; background: #334155; color: white; text-decoration: none; border-radius: 10px; transition: 0.3s; }
23
  .btn-back:hover { background: #475569; }
 
 
 
 
 
24
  </style>
25
  </head>
26
  <body>
@@ -54,7 +60,10 @@
54
  </tbody>
55
  </table>
56
 
57
- <a href="/upload" class="btn-back">🔙 Back to Scanner</a>
 
 
 
58
  </div>
59
 
60
  </body>
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>RetiCheck | Patient Database</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
  <style>
9
  * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
10
  body { background: #0f172a; color: white; padding: 30px; text-align: center; }
 
20
  .safe { color: #10b981; font-weight: bold; }
21
  .urgent { color: #ef4444; font-weight: bold; }
22
 
23
+ .btn-back { display: inline-block; padding: 12px 20px; background: #334155; color: white; text-decoration: none; border-radius: 10px; transition: 0.3s; font-weight: bold; }
24
  .btn-back:hover { background: #475569; }
25
+
26
+ /* PUDHU CODE: எக்செல் பட்டன் டிசைன் 👇 */
27
+ .btn-export { display: inline-block; padding: 12px 20px; background: #10b981; color: white; text-decoration: none; border-radius: 10px; font-weight: bold; margin-right: 15px; transition: 0.3s; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
28
+ .btn-export:hover { background: #059669; transform: translateY(-2px); }
29
+ /* PUDHU CODE END 👆 */
30
  </style>
31
  </head>
32
  <body>
 
60
  </tbody>
61
  </table>
62
 
63
+ <div style="margin-top: 30px;">
64
+ <a href="/export_csv" class="btn-export"><i class="fa-solid fa-file-excel"></i> Download Excel Report</a>
65
+ <a href="/upload" class="btn-back">🔙 Back to Scanner</a>
66
+ </div>
67
  </div>
68
 
69
  </body>