Skip to content

Commit f4f3f22

Browse files
Auto-update API lists and context files
1 parent 77ab535 commit f4f3f22

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

llms_ctx.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,11 +1815,12 @@ app, rt = fast_app(
18151815
@rt
18161816
def index():
18171817
return Div(
1818-
H1(A("Observable", href="https://observablehq.com/@observablehq/plot", target="_blank"), " Plot Demo"),
1819-
P("The data is randomly generated on the server and is fetched on initial page load."),
1820-
P("Try opening the browser developer tools and viewing the Network tab to see the data reponse for each http request."),
1821-
# On bytton click it sends a get request to the `get_data` route and puts the response in the `data-store` div
1822-
Button("Fetch New Data", get=get_data, hx_target="#data-store", cls='btn btn-primary'),
1818+
Section(
1819+
H1(A("Observable", href="https://observablehq.com/@observablehq/plot", target="_blank"), " Plot Demo"),
1820+
P("The data is randomly generated on the server and is fetched on initial page load."),
1821+
P("Try opening the browser developer tools and viewing the Network tab to see the data reponse for each http request."),
1822+
# On bytton click it sends a get request to the `get_data` route and puts the response in the `data-store` div
1823+
Button("Fetch New Data", get=get_data, hx_target="#data-store")),
18231824
# Store for the JSON chart data
18241825
Div(id="data-store", get=get_data, hx_trigger="load", hidden=True),
18251826
# Plot container

0 commit comments

Comments
 (0)