Skip to content

Commit 3c54eec

Browse files
committed
mock project and contract progress bars
1 parent 21f6b98 commit 3c54eec

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/views.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from typing import Optional, List, Tuple
22
import datetime
3+
import random
34

45
from loguru import logger
56

@@ -17,6 +18,7 @@
1718
PopupMenuItem,
1819
AlertDialog,
1920
TextButton,
21+
ProgressBar,
2022
)
2123
from flet import icons
2224

@@ -215,6 +217,10 @@ def make_contract_view(
215217
],
216218
),
217219
),
220+
ProgressBar(
221+
color="blue",
222+
value=random.random(), # TODO: set project progress bar
223+
),
218224
Column(
219225
[
220226
# date range
@@ -321,6 +327,10 @@ def on_click_delete_project(event):
321327
],
322328
),
323329
),
330+
ProgressBar(
331+
color="blue",
332+
value=random.random(), # TODO: set project progress bar
333+
),
324334
Column(
325335
[
326336
Text(f"Client: {project.client.name}"),

0 commit comments

Comments
 (0)