screen(title = "{t('new_service_window.new_service_rustploy')}") {
resources {
link(rel = import, href = new_service.component.gv, as = NewServiceWizard)
link(rel = import, href = "components/picker_row.component.gv", as = PickerRow)
link(rel = import, href = "components/template_row.component.gv", as = TemplateRow)
script(src = "scripts/new_service_window.luau")
}
column(class = dialog__screen) {
row(class = titlebar) {
row(class = titlebar__drag, on_press = window:drag) {
text("●", class = titlebar__dot)
text(
"{t('new_service_window.new_service_rustploy')}",
class = titlebar__title
)
}
button(
"—",
class = titlebar__btn,
on_click = window:minimize
)
button(
"✕",
class = "titlebar__btn titlebar__btn--close",
on_click = window:close
)
}
scrollable(class = dialog__body, direction = vertical) {
NewServiceWizard
}
}
}