result.blade.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Pay Result - Apcopay</title>
  7. <style>
  8. body {
  9. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  10. line-height: 1.5;
  11. padding: 2rem;
  12. max-width: 600px;
  13. margin: 0 auto;
  14. text-align: center;
  15. }
  16. .result-box {
  17. padding: 2rem;
  18. border-radius: 8px;
  19. margin: 2rem 0;
  20. }
  21. .success {
  22. background-color: #d4edda;
  23. color: #155724;
  24. border: 1px solid #c3e6cb;
  25. }
  26. .error {
  27. background-color: #f8d7da;
  28. color: #721c24;
  29. border: 1px solid #f5c6cb;
  30. }
  31. .message {
  32. font-size: 1.2rem;
  33. margin: 1rem 0;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <div class="result-box {{ $success ? 'success' : 'error' }}">
  39. <h1>{{ $success ? 'Success' : 'Failed' }}</h1>
  40. <div class="message">{{ $message }}</div>
  41. </div>
  42. </body>
  43. </html>