mirror of
https://github.com/ublue-os/forge.git
synced 2025-04-16 11:33:43 +03:00
refactor(nicegui): move filepicker to utils
This commit is contained in:
parent
83f047f2d6
commit
b3bb179430
4
.vscode/cspell_custom.txt
vendored
4
.vscode/cspell_custom.txt
vendored
|
@ -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
|
||||
|
|
3
anvil/ansible/group_vars/all/container.yml
Normal file
3
anvil/ansible/group_vars/all/container.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
forge_container_file: "Containerfile"
|
||||
forge_container_format: "oci"
|
|
@ -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:
|
||||
|
|
|
@ -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")
|
||||
|
|
0
anvil/nicegui/utils/__init__.py
Normal file
0
anvil/nicegui/utils/__init__.py
Normal file
Loading…
Reference in a new issue