Merge pull request #30 from cryptochangements34/master

Update Design
This commit is contained in:
serhack 2017-11-03 06:46:27 +01:00 committed by GitHub
commit 8f2419e25e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,35 +254,54 @@ class Monero_Gateway extends WC_Payment_Gateway
$color = "DC143C"; $color = "DC143C";
} }
echo "<h4><font color=$color>" . $message . "</font></h4>"; echo "<h4><font color=$color>" . $message . "</font></h4>";
echo "<link rel='stylesheet' href='http://cdn.monerointegrations.com/style.css'>"; echo "
echo "<div class='container-xmr-payment'> <head>
<div class='header-xmr-payment'> <!--Import Google Icon Font-->
<span class='logo-xmr'><img src='img/logomonero.png' /></span> <link href='https://fonts.googleapis.com/icon?family=Material+Icons' rel='stylesheet'>
<span class='xmr-payment-text-header'><h2>MONERO PAYMENT</h2></span> <link href='https://fonts.googleapis.com/css?family=Montserrat:400,800' rel='stylesheet'>
</div> <link href='http://cdn.monerointegrations.com/style.css' rel='stylesheet'>
<!-- end header --> <!--Let browser know website is optimized for mobile-->
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<!-- xmr content box --> </head>
<div class='content-xmr-payment'> <body>
<!-- page container -->
<div class='xmr-amount-send'> <div class='page-container'>
<!-- monero container payment box -->
<div class='container-xmr-payment'>
<!-- header -->
<div class='header-xmr-payment'>
<span class='logo-xmr'><img src='img/logomonero.png' /></span>
<span class='xmr-payment-text-header'><h2>MONERO PAYMENT</h2></span>
</div>
<!-- end header -->
<!-- xmr content box -->
<div class='content-xmr-payment'>
<div class='xmr-amount-send'>
<span class='xmr-label'>Send:</span> <span class='xmr-label'>Send:</span>
<div class='xmr-amount-box'>".$amount_xmr2"</div><div class='xmr-box'>XMR</div> <div class='xmr-amount-box'>$amount_xmr2</div><div class='xmr-box'>XMR</div>
</div> </div>
<div class='xmr-address'>
<div class='xmr-address'>
<span class='xmr-label'>To this address:</span> <span class='xmr-label'>To this address:</span>
<div class='xmr-address-box'>".$array_integrated_address["integrated_address"]."</div> <div class='xmr-address-box'>$array_integrated_address[integrated_address]</div>
</div> </div>
<div class='xmr-qr-code'>
<div class='xmr-qr-code'>
<span class='xmr-label'>Or scan QR:</span> <span class='xmr-label'>Or scan QR:</span>
<div class='xmr-qr-code-box'><img src='https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=".$uri."' /></div> <div class='xmr-qr-code-box'><img src='https://api.qrserver.com/v1/create-qr-code/? size=200x200&data=monero:$integrated_address' /></div>
</div> </div>
<div class='clear'></div>
</div>
<div class='clear'></div> <!-- end content box -->
</div>" <!-- footer xmr payment -->
<div class='footer-xmr-payment'>
<a href='https://getmonero.org' target='_blank'>Help</a> | <a href='https://getmonero.org' target='_blank'>About Monero</a>
</div>
<!-- end footer xmr payment -->
</div>
<!-- end monero container payment box -->
</div>
<!-- end page container -->
</body>
";