component {
resources {
link(rel = import, href = "home/running.component.gv", as = HomeRunning)
link(rel = import, href = "home/monitoring.component.gv", as = HomeMonitoring)
link(rel = import, href = "home/ingress.component.gv", as = HomeIngress)
link(rel = import, href = "home/deploy_engine.component.gv", as = HomeDeployEngine)
link(rel = import, href = "home/docker.component.gv", as = HomeDocker)
link(rel = import, href = "home/settings.component.gv", as = HomeSettings)
link(rel = import, href = "home/schedules.component.gv", as = HomeSchedules)
style """
.table__col-icon { width: 28; }
.table__col-act { width: 120; align_x: end; text_align: end; }
.table__col-act-2 { width: 90; align_x: end; text_align: end; spacing: 8; }
.table__col-act-4 { width: 170; align_x: end; text_align: end; spacing: 8; }
/* Mesma linha de job acima, +1 controle (editar). */
.table__col-act-5 { width: 210; align_x: end; text_align: end; spacing: 8; }
"""
}
column(class = content) {
if @view == "running" {
HomeRunning
}
if @view == "monitoring" {
HomeMonitoring
}
if @view == "ingress" {
HomeIngress
}
if @view == "deploy_engine" {
HomeDeployEngine
}
if @view == "docker" {
HomeDocker
}
if @view == "settings" {
HomeSettings
}
if @view == "schedules" {
HomeSchedules
}
column(class = u-center-fill, if = @view, equals = support) {
text(
"{t('common.support')}",
class = page-head__title
)
text(
"{t('home.github_com_antoniofernandodj_rustploy')}",
class = page-head__subtitle
)
}
}
}