add table page1

This commit is contained in:
filipriec
2025-04-16 22:23:30 +02:00
parent 69953401b1
commit f4db0e384c
6 changed files with 273 additions and 16 deletions

View File

@@ -8,6 +8,7 @@ use crate::components::{
intro::intro::render_intro,
handlers::sidebar::{self, calculate_sidebar_layout},
form::form::render_form,
admin::render_add_table,
auth::{login::render_login, register::render_register},
};
use crate::config::colors::themes::Theme;
@@ -96,6 +97,14 @@ pub fn render_ui(
register_state.current_field < 4,
highlight_state,
);
} else if app_state.ui.show_add_table {
render_add_table(
f,
main_content_area,
theme,
app_state,
&mut admin_state.add_table_state,
);
} else if app_state.ui.show_login {
render_login(
f,