diff --git a/vrel.lua b/vrel.lua index f21cdff..cf1b752 100644 --- a/vrel.lua +++ b/vrel.lua @@ -221,17 +221,17 @@ httpd.start(config.address or "*", config.port or 8155, { -- Pages ["/([^/]*)"] = function(request, name) if forbiddenName[name] then return end if #name == 0 then return { cache = config.cacheDuration or 3600, "200 OK", {["Content-Type"] = "text/html"}, [[vrel
+ textarea[name=data] { resize: none; position: absolute; width: 100%; height: calc(100% - 2.7rem); /* 2.7rem = textsize + 2*margin topbar */ } + #topbar { margin: 0.35rem 0.15rem; background-color: #000000; } + #topbar #controls { padding: 0.4rem; } + #topbar input { height: 1.7rem; text-align: center; background-color: #383832; } + #topbar input[name=lifetime] { width: 3.5rem; } #topbar input[name=burnOnRead] { vertical-align: middle; } + #topbar input[name=syntax] { width: 4.7rem; } + #topbar input[type=submit] { cursor: pointer; width: 8rem; } + #topbar #vrel { font-size: 1.4rem; float: right; } +
expires in hours (burn on read) (or send a file ) vrel