Guest User

Untitled

a guest
Sep 20th, 2017
99
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% extends "layout.html" %}
  2.  
  3. {% block title %}
  4. Index
  5. {% endblock %}
  6.  
  7. {% block main %}
  8. <table width = 100%>
  9. <tr>
  10. <th>Symbol</th>
  11. <th>Name</th>
  12. <th>Shares</th>
  13. <th>Price</th>
  14. <th>Value</th>
  15.  
  16. </tr>
  17. {% for stock in stocks %}
  18.  
  19. <tr>
  20. <td>{{stock.symbol}}</td>
  21. <td>{{stock.name}}</td>
  22. <td>{{stock.price}}</td>
  23. </tr>
  24.  
  25. {% endfor %}
  26. <tr>
  27. <td>Total Value</td>
  28. <td>&nbsp;</td>
  29. <td>&nbsp;</td>
  30. <td>&nbsp;</td>
  31. <td>{{total}}</td>
  32. </tr>
  33. <tr>
  34. <td>Cash</td>
  35. <td>&nbsp;</td>
  36. <td>&nbsp;</td>
  37. <td>&nbsp;</td>
  38. <td>{{cash}}</td>
  39. </tr>
  40. <tr></tr>
  41. <td>Total Assets</td>
  42. <td>&nbsp;</td>
  43. <td>&nbsp;</td>
  44. <td>&nbsp;</td>
  45. <td>{{grandTotal}}</td>
  46. </tr>
  47. </table>
  48. {% endblock %}
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×