style: rustfmt run

This commit is contained in:
alphafetus committed 2026-01-22 11:18:13 -05:00
1 parent 4a2a5ca9ff
commit 9427810026
5 files changed
+22 -25

No files matched your search

+1 -3
View File
@@ -12,7 +12,5 @@ pub fn AdminLoginContext(
"/providers/callback"
);
view! {
{children()}
}
view! { {children()} }
}
+7 -8
View File
@@ -18,10 +18,12 @@ fn SidebarTab(
});
view! {
<A href={move || path.get()}>
<div class="p-3 transition-all font-bold"
<A href=move || path.get()>
<div
class="p-3 transition-all font-bold"
class=(["bg-transparent", "text-white"], move || !selected.get())
class=(["bg-white", "text-black"], move || selected.get())>
class=(["bg-white", "text-black"], move || selected.get())
>
{name}
</div>
</A>
@@ -40,12 +42,9 @@ pub fn TabSidebarList(
<For
each=move || tabs.get()
key=|info| info.name.clone()
let(TabInfo {name, path})
let(TabInfo { name, path })
>
<SidebarTab
name=name
path=path
/>
<SidebarTab name=name path=path />
</For>
</nav>
+10 -12
View File
@@ -14,18 +14,16 @@ pub fn AdminShell() -> impl IntoView {
<AdminLoginContext>
<Banner title="R15 Scholarships Admin" logo="/PHS_Stacked_Acronym.png" />
// We'll put the tabs here.
<TabSidebarList
tabs=vec![
TabInfo {
name: "Home".to_string(),
path: "/admin/home".to_string(),
},
TabInfo {
name: "Test".to_string(),
path: "/admin/testing".to_string(),
}
]
/>
<TabSidebarList tabs=vec![
TabInfo {
name: "Home".to_string(),
path: "/admin/home".to_string(),
},
TabInfo {
name: "Test".to_string(),
path: "/admin/testing".to_string(),
},
] />
</AdminLoginContext>
}
}
+3 -1
View File
@@ -8,7 +8,9 @@ pub fn ApplicantsPageFallback() -> impl IntoView {
<div class="flex flex-col gap-4 mt-3 items-center justify-center">
<h1 class="text-3xl font-bold">"Applicants Page"</h1>
<p>"This page is under construction! It will show all the students that are eligible for your scholarship(s)."</p>
<p>
"This page is under construction! It will show all the students that are eligible for your scholarship(s)."
</p>
<p>"Come back soon!"</p>
</div>
}
+1 -1
View File
@@ -639,7 +639,7 @@ fn ScholarshipForm(
<Header
title="Eligibility Requirements"
description="Choose any requirements that this scholarship may have. If there are no extra requirements,
leave all options blank, however please note that this will apply all students to your scholarship."
leave all options blank, however please note that this will apply all students to your scholarship."
/>
<Row>
<ChipsList