This repository has been archived on 2022-06-19. You can view files and clone it, but cannot push or open issues or pull requests.
ContainerImage.WendyUI/Lowdefy/stage.yaml

108 lines
2.8 KiB
YAML

id: stage
type: PageHeaderMenu
properties:
title: Stage
requests:
- id: all_components
type: AxiosHttp
connectionId: api
properties:
url: /
events:
onInit:
- id: retrieve_components
type: Request
params: all_components
# - id: set_components
# type: setState
# params:
# all_components:
# _request: all_components
layout:
contentJustify: center
areas:
content:
blocks:
- id: content
type: Card
layout:
size: 1000
contentGutter: 10
blocks:
- id: title
type: Title
layout:
span: 24
properties:
content: Stage
- id: component_table
type: AgGridAlpine
layout:
height: 500
properties:
rowData:
_request: all_components.data
defaultColDef:
sortable: false
resizable: false
filter: false
rowSelection: multiple
columnDefs:
- headerName: Component name
field: component
checkboxSelection: true
headerCheckboxSelection: true
flex: 2
- headerName: Component Version
field: version
flex: 1
- headerName: Operating system
field: os
flex: 2
- headerName: Availability
field: available
flex: 1
cellRenderer:
_function:
__string.concat:
- |
<progress style="width:100%" max="10" value="
# - __args:
- _random:
type: integer
min: 1
max: 10
- |
"></progress>
- id: bottomrow
type: Box
layout:
span: 24
contentGutter: 10
blocks:
- id: reset_button
type: Button
layout:
grow: 1
properties:
title: Reset
icon: ClearOutlined
block: true
type: default
events:
onClick:
- id: reset
type: Reset
- id: start_download
type: Button
layout:
grow: 3
properties:
title: Download Images
icon: CloudDownloadOutlined
block: true