diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/Dawn/templates/cds_blotter.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/python/Dawn/templates/cds_blotter.html b/python/Dawn/templates/cds_blotter.html new file mode 100644 index 00000000..3682c98b --- /dev/null +++ b/python/Dawn/templates/cds_blotter.html @@ -0,0 +1,40 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> + </head> + <body style="max-width:1500px; margin:0 auto"> + <table class="table table-striped"> + <thead> + <tr> + <td>Deal ID</td> + <td>Trade Date</td> + <td>Protection</td> + <td>Description</td> + <td>Red Code</td> + <td>Notional</td> + <td>Attach</td> + <td>Detach</td> + <td>Counterparty</td> + <td>Strategy</td> + </tr> + </thead> + {% for trade in trades %} + <tr> + <td><a href="{{url_for('cds_trade_manage', tradeid=trade.id)}}">{{trade.dealid}}</a></td> + <td>{{trade.trade_date}}</td> + <td>{{trade.protection}}</td> + <td>{{trade.security_desc}}</td> + <td>{{trade.security_id}}</td> + <td>{{trade.notional}}</td> + <td>{{trade.attach}}</td> + <td>{{trade.detach}}</td> + <td><a href="{{url_for('edit_counterparty', + cpcode=trade.counterparty.code)}}">{{trade.counterparty.name}}</a></td> + <td>{{trade.folder}}</td> + </tr> + {% endfor %} + </table> + </body> +</html> |
