refactor(nicegui): move filepicker to utils

This commit is contained in:
Stephan Lüscher 2024-05-15 20:44:41 +00:00
parent 83f047f2d6
commit b3bb179430
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
6 changed files with 10 additions and 4 deletions

View file

@ -1,6 +1,7 @@
aggrid
CHACHA
configmap
Containerfile
containerignore
devcontainer
devcontainers
@ -8,15 +9,18 @@ dotenv
ENDCOLOR
ensurepath
envsubst
filepicker
getent
gitmessage
hostvars
humanfriendly
keygen
LAZYGIT
lightspeed
lineinfile
minica
Mountpoint
naturalsize
nicegui
noarchive
noimageindex

View file

@ -0,0 +1,3 @@
---
forge_container_file: "Containerfile"
forge_container_format: "oci"

View file

@ -14,8 +14,8 @@
tag: latest
path: "{{ forge_git_repository_destination }}"
build:
file: Containerfile
format: oci
file: "{{ forge_container_file | default('Containerfile') }}"
format: "{{ forge_container_format | default('oci') }}"
pull: false
push: true
push_args:

View file

@ -4,7 +4,7 @@ import asyncio
import os
from nicegui import ui
from theme import GuiProgressSpinner
from utils import local_file_picker
from utils.filepicker import local_file_picker
ANSIBLE_EXTRA_VARS = None
@ -117,5 +117,4 @@ def content() -> None:
with ui.card().classes("w-full"):
ui.label("Playbook Log").classes("text-h6")
ui.button("Clear Log", on_click=lambda: gui_playbook_log.clear())
gui_playbook_log = ui.log().classes("w-full h-full")

View file