PluginProbe
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More / 0.0.1
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More v0.0.1
2.4.1 2.4.0 2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.2 2.2.1 2.2.0 2.1.2 2.1.1 trunk 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 All 68 releases
better-payment / admin / views / template-email-notification.php

template-email-notification.php in Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More 0.0.1, at admin/views/template-email-notification.php

133 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <style>
2 * {
3 padding: 0;
4 margin: 0;
5 box-sizing: border-box;
6 }
7
8 .bp__email__template__footer {
9 max-width: 640px;
10 margin: 30px auto;
11 text-align: center;
12 }
13
14 .bp__email__template__footer ul {
15 padding: 0;
16 margin: 0;
17 margin-bottom: 20px;
18 list-style: none;
19 display: flex;
20 justify-content: center;
21 align-items: center;
22 }
23
24 .bp__email__template__footer ul li:not(:last-child) {
25 margin-right: 10px;
26 }
27
28 .bp__email__template__footer ul li a {
29 height: 40px;
30 width: 40px;
31 border-radius: 50%;
32 background: #5f5f5f;
33 color: #fff;
34 line-height: 42px;
35 text-align: center;
36 display: inline-block;
37 text-decoration: none;
38 }
39
40 .bp__email__template__footer ul li a.icon__facebook {
41 background: #1877f2;
42 }
43
44 .bp__email__template__footer ul li a.icon__twitter {
45 background: #1da1f2;
46 }
47
48 .bp__email__template__footer ul li a.icon__youtube {
49 background: #ff0000;
50 }
51
52 .bp__email__template__footer ul li a.icon__wordpress {
53 background: #0087be;
54 }
55
56 .bp__email__template__footer ul li a.icon__github {
57 background: #4078c0;
58 }
59 </style>
60 <div class="bp__email__template" style="width: 60%;margin:auto;
61 background-color: #f3f3f3;
62 padding: 50px;
63 min-height: 100vh;
64 font-family: 'DM Sans', sans-serif;
65 ">
66 <div class="bp__email__template__body" style="
67 max-width: 640px;
68 margin: 0 auto 30px;
69 background: #fff;
70 border-radius: 5px;
71 box-shadow: 0 0 0 20px rgba(0, 0, 0 0, 1);
72 padding: 30px;
73 ">
74 <table style="width: 100%;">
75 <tr>
76 <td>
77 <?php if($type === 'customer') : ?>
78 <p style="color: #222;"> <?php _e('Howdy,', 'better-payment') ?> </p>
79 <p> <?php _e('Thank you! We just received your payment', 'better-payment') ?> 😎.</p>
80 <?php else : ?>
81 <p style="color: #222;"> <?php _e('Howdy,', 'better-payment') ?> <span class="username" style="display: none;"> <?php _e('Admin', 'better-payment') ?> </span></p>
82 <p> <?php _e('Good news! New BetterPayment transaction just occured', 'better-payment') ?> 😎.</p>
83 <?php endif; ?>
84
85 <?php if( !$is_empty_email_body ) : ?>
86 <h4 style="margin-bottom: 15px;"> <?php _e('Transaction Details:', 'better-payment') ?> </h4>
87 <?php endif; ?>
88 <?php echo wp_kses( $bp_form_fields_html_content, wp_kses_allowed_html( 'post' ) ); ?>
89 </td>
90 </tr>
91 </table>
92 <div style="text-align: center;">
93 <p style="margin-bottom: 0;"> <?php _e('You can also find the transaction details visiting below link.', 'better-payment') ?> </p>
94 <a href="<?php echo esc_url($referer_content_page_link); ?>" class="button"
95 style="text-align: center;
96 padding: 12px 30px;
97 line-height: 1;
98 color: #fff;
99 border: 1px solid transparent;
100 background: #6E58F7;
101 font-size: 14px;
102 font-weight: 500;
103 font-family: 'DM Sans', sans-serif;
104 overflow: hidden;
105 z-index: 1;
106 border-radius: 10px;
107 display: inline-block;
108 text-decoration: none;
109 margin-top: 15px;"
110 > <?php _e('View Transaction', 'better-payment') ?> </a>
111 </div>
112 </div>
113 <div class="bp__email__template__footer">
114 <p style="margin-bottom: 0;
115 color: #9095A2;
116 font-size: 14px;
117 line-height: 1.7;
118 "> <?php _e('@BetterPayment. Pay Easy, Pay Safe!', 'better-payment') ?> </p>
119 <p style="margin-bottom: 20px;
120 color: #9095A2;
121 font-size: 14px;
122 line-height: 1.7;
123 "> <?php _e('Feel free to suggest us and make BetterPayment even better', 'better-payment') ?> &#128525;</p>
124 <p style="text-align: center;padding-top: 10px;
125 color: #9095A2;
126 margin-bottom: 10px;
127 font-size: 14px;
128 line-height: 1.7;
129 "> <?php _e('Powered By', 'better-payment') ?>
130 <br><img src="<?php echo esc_url(WPBP_ADMIN_ASSET_URL . 'img/logo.svg'); ?>" alt="BetterPayment">
131 </p>
132 </div>
133 </div>