style: rustfmt run

This commit is contained in:
alphafetus committed 2026-02-02 16:51:13 -05:00
1 parent 7ba22e5d24
commit 0ca00664b0
8 files changed
+71 -54

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ pub fn AdminShell() -> impl IntoView {
<AdminLoginContext>
<Banner title="R15 Scholarships Admin" logo="/PHS_Stacked_Acronym.png" />
// We'll put the tabs here.
<TabSidebarList
<TabSidebarList
base_path="admin"
tabs=vec![
TabInfo::new("Home", "home", None),
+3 -1
View File
@@ -68,7 +68,9 @@ pub fn AdminUtilsPage() -> impl IntoView {
view! {
<div class="mx-auto px-6">
<div class="flex flex-col gap-4">
<div class="self-centered text-lg mt-6">"This utility page provides buttons to initialize the corresponding lists of information."</div>
<div class="self-centered text-lg mt-6">
"This utility page provides buttons to initialize the corresponding lists of information."
</div>
<ActionButton on:click=on_click_comparisons>"Create Comparisons"</ActionButton>
<ActionButton on:click=on_click_dates>"Create Dates"</ActionButton>
</div>
+11 -5
View File
@@ -17,7 +17,8 @@ pub fn StudentAthleticsPage() -> impl IntoView {
data_map=data_map
data_member="athletic_participation"
schema=vec![
input!(Select, "sport_name", "Sport Name:", true, [
input!(
Select, "sport_name", "Sport Name:", true, [
"Football",
"Soccer",
"Cheerleading",
@@ -34,14 +35,19 @@ pub fn StudentAthleticsPage() -> impl IntoView {
"Softball",
"Tennis",
"Baseball"
]),
input!(Checkbox, "grades", "Grades Participated:", true, [
]
),
input!(
Checkbox, "grades", "Grades Participated:", true, [
"9th",
"10th",
"11th",
"12th"
]),
input!(Text, "achievements", "Special Achievements:", false, "Example 1, Example 2, etc...")
]
),
input!(
Text, "achievements", "Special Achievements:", false, "Example 1, Example 2, etc..."
),
]
/>
</ValidatedForm>
+3 -1
View File
@@ -30,7 +30,9 @@ pub fn StudentExtracurricularsPage() -> impl IntoView {
input!(Number, "num_hours", "Number of hours completed:", true, "40"),
input!(Number, "num_weeks", "Number of weeks participated:", true, "3"),
input!(Text, "special_involvement", "Any special involvement:", false, ""),
input!(Checkbox, "grades", "Grades Participated:", true, ["9th", "10th", "11th", "12th"])
input!(
Checkbox, "grades", "Grades Participated:", true, ["9th", "10th", "11th", "12th"]
),
]
/>
</ValidatedForm>
+14 -9
View File
@@ -18,15 +18,20 @@ pub fn StudentShell() -> impl IntoView {
tabs=vec![
TabInfo::new("Home", "home", None),
TabInfo::new("Demographics", "demographics", None),
TabInfo::new("Additional Info", "additional",
Some(vec![
SubTabInfo::new("Academics", "academics"),
SubTabInfo::new("Athletics", "athletics"),
SubTabInfo::new("Work Experience", "work-experience"),
SubTabInfo::new("Extracurriculars", "extracurriculars"),
SubTabInfo::new("University Info", "university"),
SubTabInfo::new("Parent Info", "parent-info")
])),
TabInfo::new(
"Additional Info",
"additional",
Some(
vec![
SubTabInfo::new("Academics", "academics"),
SubTabInfo::new("Athletics", "athletics"),
SubTabInfo::new("Work Experience", "work-experience"),
SubTabInfo::new("Extracurriculars", "extracurriculars"),
SubTabInfo::new("University Info", "university"),
SubTabInfo::new("Parent Info", "parent-info"),
],
),
),
]
/>
</Authenticated>