theWitcher commited on
Commit
74af9e8
·
1 Parent(s): 93ac955

update suggestToolForm

Browse files
Files changed (2) hide show
  1. index.html +49 -37
  2. style.css +5 -0
index.html CHANGED
@@ -370,58 +370,70 @@ https://chatgpt.com/c/67efa5ae-ab80-8005-a7d4-de3ced6ccec4
370
  </div>
371
  </div>
372
  </div>
373
- <div id="suggestToolModal" class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center hidden z-50 px-4">
374
- <div class="bg-white rounded-lg p-6 w-full max-w-md shadow-lg max-h-[90vh] overflow-y-auto text-right">
 
 
 
375
  <h2 class="text-xl font-semibold mb-4">הצעת כלי חדש</h2>
376
- <form id="suggestToolForm">
377
-
378
- <label class="block mb-2">שם הכלי</label>
379
- <input type="text" name="name" required class="w-full mb-4 border rounded p-2">
 
380
 
381
- <label class="block mb-2">לינק</label>
382
- <input type="url" name="url" required placeholder="כתובת URL של הכלי: לדוגמא: https://linktr.ee/sagib" dir="ltr" class="w-full mb-4 border rounded p-2">
 
 
383
 
384
- <label class="block mb-2">תיאור קצר</label>
385
- <textarea name="description" required class="w-full mb-4 border rounded p-2"></textarea>
 
 
386
 
387
- <hr class="my-4">
 
 
 
388
 
389
- <label class="block mb-2">השם שלך</label>
390
- <input type="text" name="userName" placeholder="איך לקרוא לך כשנחזור אליך?" class="w-full mb-4 border rounded p-2">
 
 
391
 
392
- <label class="block mb-2">מס' טלפון נייד</label>
393
- <input type="tel" name="userPhone" placeholder="05X-XXXXXXX" class="w-full mb-2 border rounded p-2" dir="ltr">
394
  <p class="text-sm text-gray-500">נשמח לחזור אליך כשהכלי שצעת נוסף לאתר ❤️</p>
395
- <p class="text-sm text-gray-500 italic mt-1">
396
- ✦ הפרטים שלך נשמרים אצלנו רק לצורך עדכון – אין שימוש אחר.
397
- </p>
398
-
399
- <div class="flex justify-end mt-4">
400
- <button type="button" onclick="closeSuggestModal()" class="mr-2 px-4 py-2 bg-gray-300 rounded">ביטול</button>
401
- <button type="submit" class="px-4 py-2 bg-purple-600 text-white rounded hover:bg-purple-700">שלח</button>
402
- </div>
403
  </form>
 
 
 
 
 
 
 
404
  </div>
405
  </div>
406
 
 
407
  <!-- /* --- Footer --- */ -->
408
  <footer class="fixed bottom-0 left-0 w-full z-50 backdrop-blur-md bg-white/80 shadow-xl border-t border-gray-200">
409
 
410
- <div class="container mx-auto px-4 py-3 text-center space-y-2">
411
- <div class="flex justify-center gap-4">
412
- <!-- אייקונים -->
413
- <a href="https://chat.whatsapp.com/GPFASYBEA9CFGUMCVZ5RXP" target="_blank" class="w-9 h-9 rounded-full bg-white shadow flex items-center justify-center text-green-500 hover:bg-green-500 hover:text-white transition"><i class="fab fa-whatsapp"></i></a>
414
- <a href="http://www.linkedin.com/in/sagi-bar-on" target="_blank" class="w-9 h-9 rounded-full bg-white shadow flex items-center justify-center text-blue-500 hover:bg-blue-700 hover:text-white transition"><i class="fab fa-linkedin-in"></i></a>
415
- <a href="https://www.facebook.com/SAGI.BARON" target="_blank" class="w-9 h-9 rounded-full bg-white shadow flex items-center justify-center text-blue-600 hover:bg-blue-800 hover:text-white transition"><i class="fab fa-facebook-f"></i></a>
416
- <a href="https://www.youtube.com/@SAGIBARON" target="_blank" class="w-9 h-9 rounded-full bg-white shadow flex items-center justify-center text-red-500 hover:bg-red-700 hover:text-white transition"><i class="fab fa-youtube"></i></a>
 
 
 
 
 
 
417
  </div>
418
- <button id="editJsonBtnFooter"
419
- class="px-4 py-2 rounded-xl bg-gradient-to-br from-pink-500 to-purple-600 text-white font-bold shadow hover:scale-105 transition">
420
- <i class="fas fa-pen-to-square ml-2"></i> הציעו כלי חדש
421
- </button>
422
- <p class="text-gray-500 text-xs">© 2025 כל הזכויות שמורות לשגיא בר און</p>
423
- </div>
424
- </footer>
425
 
426
 
427
  <!-- /* --- Load Tailwind CSS via CDN --- */ -->
 
370
  </div>
371
  </div>
372
  </div>
373
+ <div id="suggestToolModal" class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center z-[9999] px-4">
374
+ <div class="bg-white rounded-lg w-full max-w-md shadow-lg max-h-[90vh] overflow-hidden flex flex-col text-right relative">
375
+
376
+ <!-- תוכן -->
377
+ <div class="p-6 overflow-y-auto flex-grow">
378
  <h2 class="text-xl font-semibold mb-4">הצעת כלי חדש</h2>
379
+ <form id="suggestToolForm" class="space-y-4">
380
+ <div>
381
+ <label class="block mb-1">שם הכלי</label>
382
+ <input type="text" name="name" required class="w-full border rounded p-2">
383
+ </div>
384
 
385
+ <div>
386
+ <label class="block mb-1">לינק</label>
387
+ <input type="url" name="url" required placeholder="כתובת URL של הכלי: לדוגמא: https://linktr.ee/sagib" dir="ltr" class="w-full border rounded p-2">
388
+ </div>
389
 
390
+ <div>
391
+ <label class="block mb-1">תיאור קצר</label>
392
+ <textarea name="description" required class="w-full border rounded p-2"></textarea>
393
+ </div>
394
 
395
+ <div>
396
+ <label class="block mb-1">השם שלך</label>
397
+ <input type="text" name="userName" placeholder="איך לקרוא לך כשנחזור אליך?" class="w-full border rounded p-2">
398
+ </div>
399
 
400
+ <div>
401
+ <label class="block mb-1">מס' טלפון נייד</label>
402
+ <input type="tel" name="userPhone" placeholder="05X-XXXXXXX" class="w-full border rounded p-2" dir="ltr">
403
+ </div>
404
 
 
 
405
  <p class="text-sm text-gray-500">נשמח לחזור אליך כשהכלי שצעת נוסף לאתר ❤️</p>
406
+ <p class="text-sm text-gray-500 italic">✦ הפרטים שלך נשמרים אצלנו רק לצורך עדכון – אין שימוש אחר.</p>
 
 
 
 
 
 
 
407
  </form>
408
+ </div>
409
+
410
+ <!-- כפתורים קבועים בתחתית -->
411
+ <div class="sticky bottom-0 bg-white/80 backdrop-blur-md px-6 py-4 border-t flex justify-center space-x-4 space-x-reverse z-10 rounded-b-lg">
412
+ <button type="button" onclick="closeSuggestModal()" class="px-5 py-2 bg-gray-200 text-gray-800 rounded hover:bg-gray-300">ביטול</button>
413
+ <button type="submit" form="suggestToolForm" class="px-6 py-2 bg-purple-600 text-white rounded hover:bg-purple-700">שלח</button>
414
+ </div>
415
  </div>
416
  </div>
417
 
418
+
419
  <!-- /* --- Footer --- */ -->
420
  <footer class="fixed bottom-0 left-0 w-full z-50 backdrop-blur-md bg-white/80 shadow-xl border-t border-gray-200">
421
 
422
+ <div class="container mx-auto px-4 py-3 text-center space-y-2">
423
+ <div class="flex justify-center gap-4">
424
+ <!-- אייקונים -->
425
+ <a href="https://chat.whatsapp.com/GPFASYBEA9CFGUMCVZ5RXP" target="_blank" class="w-9 h-9 rounded-full bg-white shadow flex items-center justify-center text-green-500 hover:bg-green-500 hover:text-white transition"><i class="fab fa-whatsapp"></i></a>
426
+ <a href="http://www.linkedin.com/in/sagi-bar-on" target="_blank" class="w-9 h-9 rounded-full bg-white shadow flex items-center justify-center text-blue-500 hover:bg-blue-700 hover:text-white transition"><i class="fab fa-linkedin-in"></i></a>
427
+ <a href="https://www.facebook.com/SAGI.BARON" target="_blank" class="w-9 h-9 rounded-full bg-white shadow flex items-center justify-center text-blue-600 hover:bg-blue-800 hover:text-white transition"><i class="fab fa-facebook-f"></i></a>
428
+ <a href="https://www.youtube.com/@SAGIBARON" target="_blank" class="w-9 h-9 rounded-full bg-white shadow flex items-center justify-center text-red-500 hover:bg-red-700 hover:text-white transition"><i class="fab fa-youtube"></i></a>
429
+ </div>
430
+ <button id="editJsonBtnFooter"
431
+ class="px-4 py-2 rounded-xl bg-gradient-to-br from-pink-500 to-purple-600 text-white font-bold shadow hover:scale-105 transition">
432
+ <i class="fas fa-pen-to-square ml-2"></i> הציעו כלי חדש
433
+ </button>
434
+ <p class="text-gray-500 text-xs">© 2025 כל הזכויות שמורות לשגיא בר און</p>
435
  </div>
436
+ </footer>
 
 
 
 
 
 
437
 
438
 
439
  <!-- /* --- Load Tailwind CSS via CDN --- */ -->
style.css CHANGED
@@ -26,3 +26,8 @@ p {
26
  .card p:last-child {
27
  margin-bottom: 0;
28
  }
 
 
 
 
 
 
26
  .card p:last-child {
27
  margin-bottom: 0;
28
  }
29
+ .scroll-container {
30
+ max-height: 90vh;
31
+ overflow-y: auto;
32
+ padding-bottom: 80px; /* כדי לא להיתקע מאחורי הפוטר */
33
+ }