File "qr-code.ejs"

Full Path: /home/wiomgjqe/neduas.store/v3/qr-code.ejs
File size: 1.14 KB
MIME-type: text/html
Charset: utf-8

<html>
<head>
  <title><%= type %> Payment | QR Code</title>
  <% if(type == "paytm"){ %>
  <style>
    body{
      background-color: white;
      width: 100vw;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    
    img{
      height: auto;
      max-height: 100%;
      width: auto;
    }
    
    p{
      width: 88%;
      color: #4b4b4b;
      font-size: 18px;
      text-align: center;
    }
    
  </style>
  <% } else { %>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    body{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      height: 100vh;
      width: 100vw;
      overflow: scroll;
    }
    img{
      height: auto;
      max-height: 100vh;
      width: auto;
      max-width: 100vw;
      border: 4px solid black;
    }
  </style>
  <% } %>
  </head>
  <body>
    <img src="<%= url %>" alt="<%= type %> payment qr code">
    <% if(type == "paytm"){ %>
    <p>Note: Always Generate A New Payment Address. Do Not Make A Payment On Same QRCode Again !!</p>
    <% } %>
  </body>
</html>