mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-10 11:45:45 +03:00
refactor(nicegui): move filepicker to utils
This commit is contained in:
parent
83f047f2d6
commit
b3bb179430
6 changed files with 10 additions and 4 deletions
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…
Add table
Add a link
Reference in a new issue