From a7d89d654048ce6d6651f842e2b2389c575dfb1d Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 14 Jul 2021 12:54:20 -0400 Subject: trad: prettied up the tables in list view --- app/trading/templates/trading/create_form.html | 34 ++++++++++++++++++-------- app/trading/templates/trading/list.html | 2 +- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/app/trading/templates/trading/create_form.html b/app/trading/templates/trading/create_form.html index 521d420..ce51449 100644 --- a/app/trading/templates/trading/create_form.html +++ b/app/trading/templates/trading/create_form.html @@ -1,7 +1,7 @@ {% extends 'trading/base.html' %} {% load typogrify_tags %} {% block content %} -
{% csrf_token %} + {% csrf_token %} {% for field in form %}
{{ field.errors }} @@ -15,16 +15,30 @@ {% endif %}
{% endfor %} - + + + + + + + + + + + + + + + + + + + +
R/R:
% Portfolio:
Risk:
Total Invested:
$ Goal:
% Goal:
+
+ +
-
-
R/R:
-
% Portfolio:
-
Risk:
-
Total Invested:
-
$ Goal:
-
% Goal:
-
{% endblock %} {% block js %} diff --git a/app/trading/templates/trading/list.html b/app/trading/templates/trading/list.html index 2e50fe1..83ccef2 100644 --- a/app/trading/templates/trading/list.html +++ b/app/trading/templates/trading/list.html @@ -4,8 +4,8 @@ - + -- cgit v1.2.3
Open Date SymbolOpen Date Entry Price Stop Target