Untitled
unknown
plain_text
2 years ago
3.9 kB
4
Indexable
Never
<!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org" lang="en"> <head> <title>Pending Forward Trade</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <link rel="stylesheet" type="text/css" href="basic.css"> </head> <body> <!-- NAVBAR --> <div class="navbar"> <div class ="nav-left"> <div class ="nav-logo"><a href="/">BULL.EX</a></div> <form action="/orders" method="get"><button type="submit">Spot Trade</button></form> <a th:href="@{/newforwardorder}"><button>Forward Trade</button></a> <a th:href="@{/activeforwardtradesdashboard}"><button>Active Forward Trades</button></a> <a th:href="@{/pendingforwardtradesdashboard}"><button>Pending Forward Trades</button></a> </div> <div class ="nav-right"> <form action="/transferfunds" method="get"><button type="submit"> <span class="glyphicon glyphicon-user"></span> Wallet </button></form> <form action="/logout" method="get"><button type="submit"> <span class="glyphicon glyphicon-log-out"></span> Logout </button></form> </div> </div> <!-- NAVBAR --> <!-- CONTENT --> <div class="index-splash"> <div class = "table"> <h3>Forward Orders Accepted By Me</h3> <table> <tr> <th>Initiated By</th> <th>Accepted By</th> <th>From Currency</th> <th>To Currency</th> <th>From Currency Price</th> <th>To Currency Quantity</th> <th>Transaction Date</th> </tr> <tr th:each="forwardOrder : ${forwardOrdersAccepted}"> <td th:text="${forwardOrder.initiatorUser.username}"></td> <td th:text="${forwardOrder.acceptorUser.username}"></td> <td th:text="${forwardOrder.fromCurrency.currencyName}"></td> <td th:text="${forwardOrder.toCurrency.currencyName}"></td> <td th:text="${forwardOrder.fromCurrencyPrice}"></td> <td th:text="${forwardOrder.toCurrencyQuantity}"></td> <td th:text="${forwardOrder.transactionDate}"></td> </tr> </table> <br><br> <h3>Forward Orders Initiated By Me, Not Yet Accepted</h3> <table> <tr> <th>Initiated By</th> <th>From Currency</th> <th>To Currency</th> <th>From Currency Price</th> <th>To Currency Quantity</th> <th>Transaction Date</th> </tr> <tr th:each="forwardOrder : ${unacceptedForwardOrdersInitiated}"> <td th:text="${forwardOrder.initiatorUser.username}"></td> <td th:text="${forwardOrder.fromCurrency.currencyName}"></td> <td th:text="${forwardOrder.toCurrency.currencyName}"></td> <td th:text="${forwardOrder.fromCurrencyPrice}"></td> <td th:text="${forwardOrder.toCurrencyQuantity}"></td> <td th:text="${forwardOrder.transactionDate}"></td> </tr> </table> <br><br> <h3>Forward Orders Initiated By Me, Accepted and Currently Pending</h3> <table> <tr> <th>Initiated By</th> <th>Accepted By</th> <th>From Currency</th> <th>To Currency</th> <th>From Currency Price</th> <th>To Currency Quantity</th> <th>Transaction Date</th> </tr> <tr th:each="forwardOrder : ${acceptedForwardOrdersInitiated}"> <td th:text="${forwardOrder.initiatorUser.username}"></td> <td th:text="${forwardOrder.acceptorUser.username}"></td> <td th:text="${forwardOrder.fromCurrency.currencyName}"></td> <td th:text="${forwardOrder.toCurrency.currencyName}"></td> <td th:text="${forwardOrder.fromCurrencyPrice}"></td> <td th:text="${forwardOrder.toCurrencyQuantity}"></td> <td th:text="${forwardOrder.transactionDate}"></td> </tr> </table> </div> </div> <!-- CONTENT --> </body> </html>