aeiche01 commited on
Commit
643d748
Β·
verified Β·
1 Parent(s): 7a1e60a

Update pages/00_overview.py

Browse files
Files changed (1) hide show
  1. pages/00_overview.py +8 -8
pages/00_overview.py CHANGED
@@ -1,5 +1,5 @@
1
  """
2
- 00_overview.py β€” Session Setup and Species Information
3
 
4
  Tab 1 of the AOH Species Reviewer app.
5
  Sets reviewer name and target species; shows Wikipedia species card
@@ -21,7 +21,7 @@ import solara
21
  import _common as common
22
 
23
 
24
- # ── Wikipedia helper ──────────────────────────────────────────────────────────
25
 
26
  def get_species_info(species_name: str) -> dict | None:
27
  """
@@ -80,7 +80,7 @@ def get_species_info(species_name: str) -> dict | None:
80
  }
81
 
82
 
83
- # ── Sub-components ────────────────────────────────────────────────────────────
84
 
85
  @solara.component
86
  def SessionSetupCard():
@@ -189,7 +189,7 @@ def SessionSummaryCard():
189
 
190
  if n_flagged:
191
  solara.Warning(
192
- f"{n_flagged} occurrence(s) flagged β€” remember to submit.",
193
  icon=True,
194
  )
195
 
@@ -201,7 +201,7 @@ def SessionSummaryCard():
201
  )
202
 
203
 
204
- # ── Main Page ─────────────────────────────────────────────────────────────────
205
 
206
  @solara.component
207
  def Page():
@@ -215,7 +215,7 @@ def Page():
215
 
216
  with solara.Column(style={"width": "100%", "padding": "0"}):
217
 
218
- # ── Hero banner ───────────────────────────────────────────────────────
219
  with solara.Row(
220
  style={
221
  "padding": "36px 48px",
@@ -233,11 +233,11 @@ def Page():
233
  },
234
  )
235
  solara.Text(
236
- "Review and validate Area of Habitat distribution models.",
237
  style={"font-size": "1.1em", "color": "#555"},
238
  )
239
 
240
- # ── Three-column layout ───────────────────────────────────────────────
241
  with solara.Row(
242
  style={
243
  "padding": "32px 40px",
 
1
  """
2
+ 00_overview.py - Session Setup and Species Information
3
 
4
  Tab 1 of the AOH Species Reviewer app.
5
  Sets reviewer name and target species; shows Wikipedia species card
 
21
  import _common as common
22
 
23
 
24
+ # Wikipedia helper
25
 
26
  def get_species_info(species_name: str) -> dict | None:
27
  """
 
80
  }
81
 
82
 
83
+ # Sub-components
84
 
85
  @solara.component
86
  def SessionSetupCard():
 
189
 
190
  if n_flagged:
191
  solara.Warning(
192
+ f"{n_flagged} occurrence(s) flagged - remember to submit.",
193
  icon=True,
194
  )
195
 
 
201
  )
202
 
203
 
204
+ # Main Page
205
 
206
  @solara.component
207
  def Page():
 
215
 
216
  with solara.Column(style={"width": "100%", "padding": "0"}):
217
 
218
+ # Hero banner
219
  with solara.Row(
220
  style={
221
  "padding": "36px 48px",
 
233
  },
234
  )
235
  solara.Text(
236
+ "Review and validate Area of Habitat (AOH) distribution models for Conserva Aves Brazil.",
237
  style={"font-size": "1.1em", "color": "#555"},
238
  )
239
 
240
+ # Three-column layout
241
  with solara.Row(
242
  style={
243
  "padding": "32px 40px",