Implement template student portal #62

Merged
BobdaFett merged 21 commits from feat/value-display into main 2026-03-02 21:38:31 +00:00
5 changed files with 26 additions and 3 deletions
Showing only changes of commit e8b0ceeb7b - Show all commits

No files matched your search

+1
View File
@@ -148,6 +148,7 @@ fn StudentRoutes() -> impl MatchNestedRoutes + Clone {
/> />
<Route path=path!("additional/university") view=student::StudentUniversityPage /> <Route path=path!("additional/university") view=student::StudentUniversityPage />
<Route path=path!("additional/family-info") view=student::StudentFamilyPage /> <Route path=path!("additional/family-info") view=student::StudentFamilyPage />
<Route path=path!("additional/financials") view=student::StudentFinancialPage />
</ParentRoute> </ParentRoute>
} }
.into_inner() .into_inner()
-3
View File
@@ -1,4 +1,3 @@
use crate::components::FileDrop;
use leptos::prelude::*; use leptos::prelude::*;
#[component] #[component]
@@ -9,8 +8,6 @@ pub fn AdditionalPage() -> impl IntoView {
<div class="text-lg"> <div class="text-lg">
"This is just a placeholder for now. We'll show redirect buttons to each form." "This is just a placeholder for now. We'll show redirect buttons to each form."
</div> </div>
<div class="text-lg">"Here's a testing file input!"</div>
<FileDrop name="testing" form_id="student_additional" />
</div> </div>
} }
} }
+22
View File
@@ -0,0 +1,22 @@
use crate::components::{FileDrop, Header};
use leptos::prelude::*;
#[component]
pub fn StudentFinancialPage() -> impl IntoView {
// This is where we'll get information about the files that have been uploaded.
// For now, we'll leave it blank.
view! {
<div class="flex flex-1" />
<div class="flex flex-col flex-2 mt-6">
// <ValidatedForm title="Student Demographic Form" on_submit=controller.submit_action>
<Header
title="Financial Information"
description="Please upload your FAFSA SAR (Student Aid Report) here."
/>
<FileDrop name="fafsa" form_id="financial_info" />
// </ValidatedForm>
</div>
<div class="flex flex-1" />
}
}
+2
View File
@@ -5,6 +5,7 @@ mod demographics_page;
mod eligibility_page; mod eligibility_page;
mod extracurriculars_page; mod extracurriculars_page;
mod family_info_page; mod family_info_page;
mod financial_page;
mod form_setup; mod form_setup;
mod home_page; mod home_page;
mod shell; mod shell;
@@ -19,6 +20,7 @@ pub use demographics_page::*;
pub use eligibility_page::*; pub use eligibility_page::*;
pub use extracurriculars_page::*; pub use extracurriculars_page::*;
pub use family_info_page::*; pub use family_info_page::*;
pub use financial_page::*;
pub use home_page::*; pub use home_page::*;
pub use shell::*; pub use shell::*;
pub use test_display::*; pub use test_display::*;
+1
View File
@@ -35,6 +35,7 @@ pub fn StudentShell() -> impl IntoView {
SubTabInfo::new("Extracurriculars", "extracurriculars"), SubTabInfo::new("Extracurriculars", "extracurriculars"),
SubTabInfo::new("University Info", "university"), SubTabInfo::new("University Info", "university"),
SubTabInfo::new("Family Info", "family-info"), SubTabInfo::new("Family Info", "family-info"),
SubTabInfo::new("Financials", "financials"),
], ],
), ),
), ),