melhorias gerais
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from nicegui import ui, app
|
||||
from modules import file_manager, renamer, encoder, downloader, deployer
|
||||
from modules import file_manager, renamer, encoder, downloader, deployer, automator
|
||||
|
||||
# --- CONFIGURAÇÃO DE ARQUIVOS ESTÁTICOS ---
|
||||
app.add_static_files('/files', '/downloads')
|
||||
@@ -18,6 +18,8 @@ with ui.tabs().classes('w-full sticky top-0 z-10 bg-white shadow-sm') as tabs:
|
||||
t_encode = ui.tab('Encoder', icon='movie')
|
||||
t_down = ui.tab('Downloader', icon='download')
|
||||
t_deploy = ui.tab('Mover Final', icon='publish')
|
||||
# NOVA ABA AQUI
|
||||
t_auto = ui.tab('Automação', icon='auto_mode')
|
||||
|
||||
# --- PAINÉIS DE CONTEÚDO ---
|
||||
with ui.tab_panels(tabs, value=t_files).classes('w-full p-0 pb-12'): # pb-12 dá espaço para o footer não cobrir o conteúdo
|
||||
@@ -36,6 +38,9 @@ with ui.tab_panels(tabs, value=t_files).classes('w-full p-0 pb-12'): # pb-12 dá
|
||||
|
||||
with ui.tab_panel(t_deploy):
|
||||
deployer.create_ui()
|
||||
# NOVO PAINEL AQUI
|
||||
with ui.tab_panel(t_auto):
|
||||
automator.create_ui()
|
||||
|
||||
# --- RODAPÉ (FOOTER) ---
|
||||
# Fixo na parte inferior, mesma cor do header, texto centralizado
|
||||
|
||||
Reference in New Issue
Block a user