Updated UI
This commit is contained in:
@@ -21,7 +21,6 @@ async fn page(State(state): State<AppState>) -> Result<Markup, AppError> {
|
||||
.await?;
|
||||
|
||||
let content = html! {
|
||||
h1 { "Workouts" }
|
||||
a href="/workouts/new" { "new workout +" }
|
||||
div class="list" {
|
||||
@for workout in workouts {
|
||||
@@ -41,5 +40,5 @@ async fn page(State(state): State<AppState>) -> Result<Markup, AppError> {
|
||||
}
|
||||
};
|
||||
|
||||
Ok(layouts::desktop(content, "Workouts"))
|
||||
Ok(layouts::desktop(content, "Browse Workouts", false))
|
||||
}
|
||||
|
Reference in New Issue
Block a user