PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / trunk
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution vtrunk
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
fluent-booking / app / Views / admin / general_error.php

general_error.php in Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution trunk, at app/Views/admin/general_error.php

82 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined( 'ABSPATH' ) || exit;
3
4 /**
5 * @var string $title
6 * @var string $body
7 * @var string $btn_url
8 * @var string $btn_text
9 */
10 ?>
11
12 <!DOCTYPE html>
13 <html lang='en'>
14 <head>
15 <title>Something went wrong</title>
16 <meta charset='utf-8'>
17
18 <meta content='width=device-width, initial-scale=1' name='viewport'>
19 <meta content='yes' name='apple-mobile-web-app-capable'>
20 <meta name="robots" content="noindex"/>
21
22 <style>
23 body * {
24 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
25 }
26 body {
27 background: #f6f6f6;
28 }
29 .fcal_error_wrap {
30 margin: 100px auto;
31 max-width: 600px;
32 background: white;
33 border-radius: 8px;
34 box-shadow: 0 0 10px rgba(0,0,0,.1);
35 }
36
37 .error_header {
38 padding: 10px 15px;
39 border-bottom: 1px solid #ebebeb;
40 }
41
42 .error_header h3 {
43 margin: 0;
44 }
45
46 .error_body {
47 padding: 10px 15px;
48 }
49
50 .error_footer {
51 padding: 10px 15px;
52 text-align: center;
53 border-top: 1px solid #ebebeb;
54 }
55
56 .error_footer a {
57 padding: 9px 12px;
58 display: inline-block;
59 text-decoration: none;
60 background: #3F51B5;
61 color: white;
62 border-radius: 6px;
63 }
64 </style>
65 </head>
66 <body>
67 <div class="fcal_error_wrap">
68 <div class="error_header">
69 <h3><?php echo esc_html($title); ?></h3>
70 </div>
71 <div class="error_body">
72 <p><?php echo wp_kses_post($body); ?></p>
73 </div>
74 <?php if (!empty($btn_url)): ?>
75 <div class="error_footer">
76 <a href="<?php echo esc_url($btn_url); ?>" class="button"><?php echo esc_html($btn_text); ?></a>
77 </div>
78 <?php endif; ?>
79 </div>
80 </body>
81 </html>
82