mirror of
https://github.com/ublue-os/forge.git
synced 2025-04-18 20:43: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
|
aggrid
|
||||||
CHACHA
|
CHACHA
|
||||||
configmap
|
configmap
|
||||||
|
Containerfile
|
||||||
containerignore
|
containerignore
|
||||||
devcontainer
|
devcontainer
|
||||||
devcontainers
|
devcontainers
|
||||||
|
@ -8,15 +9,18 @@ dotenv
|
||||||
ENDCOLOR
|
ENDCOLOR
|
||||||
ensurepath
|
ensurepath
|
||||||
envsubst
|
envsubst
|
||||||
|
filepicker
|
||||||
getent
|
getent
|
||||||
gitmessage
|
gitmessage
|
||||||
hostvars
|
hostvars
|
||||||
|
humanfriendly
|
||||||
keygen
|
keygen
|
||||||
LAZYGIT
|
LAZYGIT
|
||||||
lightspeed
|
lightspeed
|
||||||
lineinfile
|
lineinfile
|
||||||
minica
|
minica
|
||||||
Mountpoint
|
Mountpoint
|
||||||
|
naturalsize
|
||||||
nicegui
|
nicegui
|
||||||
noarchive
|
noarchive
|
||||||
noimageindex
|
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
|
tag: latest
|
||||||
path: "{{ forge_git_repository_destination }}"
|
path: "{{ forge_git_repository_destination }}"
|
||||||
build:
|
build:
|
||||||
file: Containerfile
|
file: "{{ forge_container_file | default('Containerfile') }}"
|
||||||
format: oci
|
format: "{{ forge_container_format | default('oci') }}"
|
||||||
pull: false
|
pull: false
|
||||||
push: true
|
push: true
|
||||||
push_args:
|
push_args:
|
||||||
|
|
|
@ -4,7 +4,7 @@ import asyncio
|
||||||
import os
|
import os
|
||||||
from nicegui import ui
|
from nicegui import ui
|
||||||
from theme import GuiProgressSpinner
|
from theme import GuiProgressSpinner
|
||||||
from utils import local_file_picker
|
from utils.filepicker import local_file_picker
|
||||||
|
|
||||||
ANSIBLE_EXTRA_VARS = None
|
ANSIBLE_EXTRA_VARS = None
|
||||||
|
|
||||||
|
@ -117,5 +117,4 @@ def content() -> None:
|
||||||
with ui.card().classes("w-full"):
|
with ui.card().classes("w-full"):
|
||||||
ui.label("Playbook Log").classes("text-h6")
|
ui.label("Playbook Log").classes("text-h6")
|
||||||
ui.button("Clear Log", on_click=lambda: gui_playbook_log.clear())
|
ui.button("Clear Log", on_click=lambda: gui_playbook_log.clear())
|
||||||
|
|
||||||
gui_playbook_log = ui.log().classes("w-full h-full")
|
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