forked from townforge/townforge
43 lines
2.1 KiB
Plaintext
43 lines
2.1 KiB
Plaintext
WindowInfo
|
|
title New item
|
|
centered-relative-size: 0.6 0.6
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBEditField: id: "name", gravity: "all", placeholder: "Item name"
|
|
TBClickLabel: text: "Item group", gravity: "left right"
|
|
TBCheckBox: id: "is-group", connection: "is-group"
|
|
TBToggleContainer: connection: "is-group", invert: 1, toggle: expanded, gravity: "left right"
|
|
TBLayout: axis: y
|
|
TBEditField: id: "amount", gravity: "left right", placeholder: "Amount to create"
|
|
TBLayout: axis: x, distribution: "gravity"
|
|
TBButton: id: "upload-file", text: "Upload file to IPFS"
|
|
TBButton: id: "ipfs-help", text: " ? "
|
|
TBEditField: id: "hash", gravity: "left right", placeholder: "Data hash or IPFS address/multihash/CID (optional)"
|
|
TBEditField: id: "gold", gravity: "left right", placeholder: "Amount of gold to add to each item (optional)"
|
|
TBToggleContainer: connection: "is-group", invert: 0, toggle: expanded, gravity: "left right"
|
|
TBClickLabel: text: "Public (anyone can make items in this group)", gravity: "left right"
|
|
TBCheckBox: id: "is-public", value: 0
|
|
TBLayout: axis: x, distribution: "gravity", size: "available"
|
|
TBTextField: text: "Group:"
|
|
TBSelectDropdown: id: "group", gravity: "left right"
|
|
TBToggleContainer: id: "coin-design-container", toggle: expanded, gravity: "left right"
|
|
TBLayout: axis: y
|
|
TBImageWidget: id: "icon-base"
|
|
TBImageWidget: id: "icon-shadow"
|
|
TBImageWidget: id: "icon-design"
|
|
TBTextField: id: "rune-shadow"
|
|
TBTextField: id: "rune-design"
|
|
TBLayout: axis: x, distribution: "gravity"
|
|
TBEditField: id: "coin-design", placeholder: "Custom coin design (optional, etc cc/badges/atlas.svg)", gravity: "left right"
|
|
TBButton: id: "coin-design-help", text: "?"
|
|
TBEditField: id: "primary-description", gravity: "all", placeholder: "Primary description (immutable)"
|
|
multiline: 1
|
|
TBEditField: id: "secondary-description", gravity: "all", placeholder: "Secondary description (can be changed later)"
|
|
multiline: 1
|
|
|
|
TBLayout: axis: x
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|