From c7ab25b20357559ac406108366c1b740b10cc317 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Thu, 4 Apr 2024 19:07:53 +1100 Subject: [PATCH] Convert CGT adjustment forms to Tailwind CSS --- austax/templates/cgt_adjustments_edit.html | 93 ++++++++-------- .../templates/cgt_adjustments_multinew.html | 100 ++++++++++-------- 2 files changed, 99 insertions(+), 94 deletions(-) diff --git a/austax/templates/cgt_adjustments_edit.html b/austax/templates/cgt_adjustments_edit.html index 502da05..d075641 100644 --- a/austax/templates/cgt_adjustments_edit.html +++ b/austax/templates/cgt_adjustments_edit.html @@ -1,5 +1,5 @@ {# DrCr: Web-based double-entry bookkeeping framework - Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo) + Copyright (C) 2022–2024 Lee Yingtong Li (RunasSudo) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -15,57 +15,54 @@ along with this program. If not, see . #} -{% extends 'base.html' %} +{% extends 'base_tailwind.html' %} {% block title %}{{ 'Edit' if adjustment else 'New' }} CGT adjustment{% endblock %} {% block content %} -

{{ 'Edit' if adjustment else 'New' }} CGT adjustment

- -
-

CGT asset

+
+

+ {{ 'Edit' if adjustment else 'New' }} CGT adjustment +

-
- -
- + +
+

CGT asset

+ + +
+ +
+ +
+ +
+ +
+ +
+ +

CGT adjustment

+ + +
+ +
+ +
+ +
+ +
+
+ $ +
+ +
-
-
- -
- + +
+
-
-
- -
- -
-
- -

CGT adjustment

- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
- + +
{% endblock %} diff --git a/austax/templates/cgt_adjustments_multinew.html b/austax/templates/cgt_adjustments_multinew.html index 8fb6820..5d3bc96 100644 --- a/austax/templates/cgt_adjustments_multinew.html +++ b/austax/templates/cgt_adjustments_multinew.html @@ -1,5 +1,5 @@ {# DrCr: Web-based double-entry bookkeeping framework - Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo) + Copyright (C) 2022–2024 Lee Yingtong Li (RunasSudo) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -15,55 +15,63 @@ along with this program. If not, see . #} -{% extends 'base.html' %} +{% extends 'base_tailwind.html' %} {% block title %}Multiple CGT adjustments{% endblock %} {% block content %} -

Multiple CGT adjustments

- -
-

CGT assets

+
+

+ Multiple CGT adjustments +

-
- -
- + +
+

CGT assets

+ + +
+ +
+ +
+ +
+ +
+
+
+ + + +
+
+

The total cost adjustment will be distributed proportionally across all matching CGT assets.

+
+
+
+ +

CGT adjustment

+ + +
+ +
+ +
+ +
+ +
+
+ $ +
+ +
-
-
- -
- + +
+
-
- - - -

CGT adjustment

- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
- + +
{% endblock %}