PraneshJs commited on
Commit
358b920
·
verified ·
1 Parent(s): 259aab5

end of support for 2022-2026 4th Years

Browse files
Files changed (1) hide show
  1. app.py +27 -68
app.py CHANGED
@@ -1320,6 +1320,33 @@ with gr.Blocks(
1320
  theme=gr.themes.Soft(),
1321
  ) as app:
1322
  gr.Markdown("## 🎓 Student Reward Points Checker")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1323
  gr.Markdown("##### Search for Reward Points, Redemption Dates and Innovative Practice (IP) Details")
1324
  gr.Markdown("##### எல்லா புகழும் இறைவனுக்கே ✝ 🕉 ☪")
1325
  gr.Markdown("""
@@ -1328,74 +1355,6 @@ with gr.Blocks(
1328
  **📚 IP Details Tab**,
1329
  **ℹ️ System Info Tab**
1330
  """)
1331
-
1332
-
1333
-
1334
- gr.HTML(
1335
- """
1336
- <style>
1337
- .urgent-banner {
1338
- background: linear-gradient(90deg, #ff0000, #ffae00, #ff0000);
1339
- background-size: 300% 300%;
1340
- animation: gradientMove 4s ease infinite, glowPulse 1.5s infinite;
1341
- padding: 20px 24px;
1342
- border-radius: 14px;
1343
- color: #ffffff;
1344
- font-weight: 800;
1345
- font-size: 18px;
1346
- text-align: center;
1347
- box-shadow:
1348
- 0 0 20px rgba(255,0,0,0.9),
1349
- 0 0 40px rgba(255,174,0,0.8);
1350
- margin-bottom: 16px;
1351
- }
1352
-
1353
- @keyframes gradientMove {
1354
- 0% { background-position: 0% 50%; }
1355
- 50% { background-position: 100% 50%; }
1356
- 100% { background-position: 0% 50%; }
1357
- }
1358
-
1359
- @keyframes glowPulse {
1360
- 0% { box-shadow: 0 0 15px rgba(255,0,0,0.8); }
1361
- 50% { box-shadow: 0 0 35px rgba(255,174,0,1); }
1362
- 100% { box-shadow: 0 0 15px rgba(255,0,0,0.8); }
1363
- }
1364
-
1365
- .urgent-btn {
1366
- display: inline-block;
1367
- margin-top: 12px;
1368
- padding: 10px 18px;
1369
- background: #000000;
1370
- color: #ffd700;
1371
- font-weight: 800;
1372
- font-size: 16px;
1373
- border-radius: 8px;
1374
- text-decoration: none;
1375
- box-shadow: 0 0 10px rgba(0,0,0,0.6);
1376
- transition: transform 0.2s ease, box-shadow 0.2s ease;
1377
- }
1378
-
1379
- .urgent-btn:hover {
1380
- transform: scale(1.05);
1381
- box-shadow: 0 0 20px rgba(255,215,0,0.9);
1382
- }
1383
- </style>
1384
-
1385
- <div class="urgent-banner">
1386
- 🚨 <strong>URGENT – RP SITE OVERALL FEEDBACK</strong> 🚨<br><br>
1387
-
1388
- 📢 This is an <u>overall feedback form</u>.<br>
1389
- 📊 Using this feedback, the <strong>future presence of this website for upcoming semesters will be decided</strong>.<br><br>
1390
-
1391
- ⚠️ <strong>Kindly give genuine and honest responses.</strong><br>
1392
-
1393
- <a class="urgent-btn" href="https://forms.gle/y2xLTtgVxPEsH7jRA" target="_blank">
1394
- 📝 GIVE FEEDBACK NOW
1395
- </a>
1396
- </div>
1397
- """
1398
- )
1399
  gr.Markdown("💻 **Mode**: Use Desktop Mode in browser for Good UI and UX")
1400
  gr.Markdown("🕒 **Auto-Updates**: Data automatically refreshes when there is a change in Reward Points Sheet")
1401
  gr.Markdown("📝 **Issue/Feedback Form** : [Issue/Feedback Form](https://docs.google.com/forms/d/e/1FAIpQLScnl0udcN2pUDENHl45HIj5HZbvDuwZ0g2eepBbp8tJYg-NvQ/viewform)")
 
1320
  theme=gr.themes.Soft(),
1321
  ) as app:
1322
  gr.Markdown("## 🎓 Student Reward Points Checker")
1323
+ gr.HTML(
1324
+ """
1325
+ <style>
1326
+ .info-banner {
1327
+ background: linear-gradient(90deg, #2c3e50, #4b6cb7);
1328
+ padding: 14px 18px;
1329
+ border-radius: 10px;
1330
+ color: #ffffff;
1331
+ font-size: 15px;
1332
+ font-weight: 600;
1333
+ text-align: center;
1334
+ box-shadow: 0 2px 10px rgba(0,0,0,0.25);
1335
+ margin-bottom: 14px;
1336
+ }
1337
+
1338
+ .info-banner span {
1339
+ color: #ffd966;
1340
+ font-weight: 700;
1341
+ }
1342
+ </style>
1343
+
1344
+ <div class="info-banner">
1345
+ ℹ️ <strong>Notice:</strong> Support has ended for <span>2022–2026 (4th Year)</span> students.<br>
1346
+ 📚 <span>Innovative Practice (IP) Details</span> will continue to be available.
1347
+ </div>
1348
+ """
1349
+ )
1350
  gr.Markdown("##### Search for Reward Points, Redemption Dates and Innovative Practice (IP) Details")
1351
  gr.Markdown("##### எல்லா புகழும் இறைவனுக்கே ✝ 🕉 ☪")
1352
  gr.Markdown("""
 
1355
  **📚 IP Details Tab**,
1356
  **ℹ️ System Info Tab**
1357
  """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1358
  gr.Markdown("💻 **Mode**: Use Desktop Mode in browser for Good UI and UX")
1359
  gr.Markdown("🕒 **Auto-Updates**: Data automatically refreshes when there is a change in Reward Points Sheet")
1360
  gr.Markdown("📝 **Issue/Feedback Form** : [Issue/Feedback Form](https://docs.google.com/forms/d/e/1FAIpQLScnl0udcN2pUDENHl45HIj5HZbvDuwZ0g2eepBbp8tJYg-NvQ/viewform)")