diff --git a/strichliste.lua b/strichliste.lua index 004d276..fbdfbb5 100755 --- a/strichliste.lua +++ b/strichliste.lua @@ -223,7 +223,7 @@ local function r_user(username) if method == "POST" then notif = r_user_post(username) end - return respond(200, username, function() + return respond(200, string.format("Strichliste: %s", username), function() print(string.format("

%s

", username)) local balance = balances()[username] local last_txn = last_txns()[username] @@ -277,7 +277,7 @@ local function r_user(username) end local function r_log(filter) - return respond(200, "Log", function() + return respond(200, "Strichliste Log", function() print("") print("") for time, username, amount, comment in read_log() do @@ -312,7 +312,7 @@ local function r_log(filter) end local function r_index() - return respond(200, "Users", function() + return respond(200, "Strichliste", function() print([[

User Creation

@@ -344,7 +344,7 @@ local function r_create_user() end local function r_products() - respond(200, "Product List", function() + respond(200, "Strichliste Product List", function() print("

Product List

") print("
TimeUsernameAmountComment
") for barcode, price, name in read_products() do
NamePriceAmount