merchant-frontend-examples

ZZZ: Inactive/Deprecated
Log | Files | Refs

backoffice.html (1242B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3   <!-- This file is in the public domain -->
      4   <head>
      5     <title>Minimal merchant back office</title>
      6     <script src="/history.js" type="application/javascript"></script>
      7   </head>
      8   <body>
      9     <form action='/track-transaction.php' method='GET'>
     10       <input type='text' name='order_id' placeholder='Order ID'></input>
     11       <input type='text' name='instance' value='tutorial' hidden></input>
     12       <input type='submit' value='Track transaction'></input>
     13     </form>
     14     <form action='/track-transfer.php' method='GET'>
     15       <input type='text' name='wtid' placeholder='Wire transfer ID'></input>
     16       <input type='text' name='exchange' placeholder='Exchange URL'></input>
     17       <input type='text' name='instance' value="tutorial" hidden></input>
     18       <input type='submit' value='Track transfer'></input>
     19     </form>
     20     <form id="history_form" action="" method="GET">
     21       <a href="#" onclick="submit_history()">Get transactions list</a>
     22       <br>
     23       <small>Works only if JavaScript enabled</small>
     24     </form>
     25     <br/>
     26     <table id="history" style="visibility: hidden;">
     27       <tr>
     28         <th>Order ID</th>
     29         <th>Date</th>
     30         <th>Amount</th>
     31       </tr>
     32     </table>
     33   </body>
     34 </html>