diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua index 2b3f9ea..0210865 100755 --- a/abrechenbarkeit.lua +++ b/abrechenbarkeit.lua @@ -467,8 +467,9 @@ local function r_user(username) { time = format_duration(os.time() - last_txn), username = urlencode(username) })) print([[]]) end - print([[
]]) - print([[
]]) + print([[ +
") print(format([[ -
+
  • +

    {+user.form.transaction}

    + + + + + + +
  • +
  • +

    {+user.form.buy}

    + + + + + + + +
  • +
  • {+user.form.transfer}

    - ]], + { username = username, disable_class = is_special and "disabled" or "" })) local users = get_active_users(); for _, u in ipairs(users) do if u.name ~= username then @@ -508,27 +527,8 @@ local function r_user(username) -
    -
    -

    {+user.form.transaction}

    - - - - - - -
    -
    -

    {+user.form.buy}

    - - - - - - - -
    -
    +
  • +
  • {+user.form.restock}

    @@ -538,9 +538,9 @@ local function r_user(username) -
    +
  • ]], { username = username, disable_class = is_special and "disabled" or "" })) - print("
    ") + print("") end) end diff --git a/style.css b/style.css index a2d8f1f..e1f7a74 100644 --- a/style.css +++ b/style.css @@ -266,6 +266,21 @@ h3 { margin-left: 0; } +ul.userforms { + content: ''; + display: table; + clear: both; + list-style: none; + margin-left: 0.5rem; + padding: 0; +} + +ul.userforms > li { + width: fit-content; + float: left; + padding: 0.5rem; +} + .backgroundbox { width: fit-content; background-color: var(--b0);