rustploy-gui 0.1.31

Rustploy — desktop client (glacier-ui) for the Rustploy PaaS daemon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Botão de aba genérico.
component {
  props {
    prop(name = label)
    prop(name = current)
    prop(name = target)
    prop(name = action)
  }

  if @current == "@target" {
    button(class = "tabs__tab tabs__tab--active", on_click = @action, text = @label)
  } else {
    button(class = tabs__tab, on_click = @action, text = @label)
  }
}