Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Add job page to scenario mgt template (#34)
Browse files Browse the repository at this point in the history
* Add job page to scenario mgt template

* increase time out to 40 mins
  • Loading branch information
jrobinAV authored Oct 13, 2023
1 parent 62d1bda commit 0240131
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from .scenario_page import scenario_page
from .job_page import job_page
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .job_page import job_page
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<|job_selector|>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from taipy.gui import Markdown


job_page = Markdown("pages/job_page/job_page.md")
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
|>
|>

<|part|class_name=main|render={selected_scenario}|
<|part|class_name=main|

<|navbar|>

<|part|class_name=main|
<|content|>
|>

|>
|>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from config.config import configure
from pages import scenario_page
from pages import scenario_page, job_page
from pages.root import root, selected_scenario, selected_data_node, content

import taipy as tp
Expand All @@ -22,6 +22,7 @@ def on_change(state, var, val):
pages = {
"/": root,
"scenario": scenario_page,
"jobs": job_page,
}


Expand Down

0 comments on commit 0240131

Please sign in to comment.