forked from townforge/townforge
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
WindowInfo
|
|
title New event badge
|
|
centered-relative-size: 0.6 0.8
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBToggleContainer: id: "new-badge-container", toggle: expanded, gravity: "left right"
|
|
TBLayout: axis: y
|
|
TBEditField: id: "name", gravity: "left right", placeholder: "Item name"
|
|
TBImageWidget: id: "badge-image"
|
|
TBLayout: axis: x, distribution: "gravity"
|
|
TBEditField: id: "badge-design", placeholder: "Custom badge design (optional, etc cc/badges/atlas.svg)", gravity: "left right"
|
|
TBButton: id: "badge-design-help", text: "?"
|
|
|
|
TBEditField: id: "description", gravity: "all", placeholder: "Description"
|
|
multiline: 1
|
|
|
|
TBToggleContainer: id: "existing-badge-container", toggle: expanded, gravity: "left right"
|
|
TBLayout: axis: y
|
|
TBSelectDropdown: id: "badge", gravity: "left right"
|
|
|
|
TBTextField: text: "Awarded to:"
|
|
TBSelectList: id: "instances", gravity: "all"
|
|
|
|
TBLayout: axis: x
|
|
TBSelectDropdown: id: "account", gravity: "left right"
|
|
TBSelectDropdown: id: "level"
|
|
items:
|
|
item: id: 1, text: "1"
|
|
item: id: 2, text: "2"
|
|
item: id: 3, text: "3"
|
|
item: id: 4, text: "4"
|
|
item: id: 5, text: "5"
|
|
TBButton: id: "add", text: "Add recipient"
|
|
|
|
TBLayout: axis: x
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|