🔧 master: work in progress [might break]

This commit is contained in:
Leon van Kammen 2026-07-24 21:43:36 +02:00
parent ff3d5107d4
commit 2d50761fd4
6 changed files with 9 additions and 5 deletions

2
run.sh
View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
source ./.env source ./.env
rebuild rebuild
result/bin/xrforge.com "$@" result/bin/xrforge.com -c 0 "$@"

View file

@ -234,6 +234,10 @@ img.icon{ display:none; }
font-size: 29px; font-size: 29px;
font-weight: normal; font-weight: normal;
} }
.jumbotron h1,
.logo a{
filter: drop-shadow(1px 1px 5px #0FF9) drop-shadow(-1px -1px 5px #F079);
}
b.tag{ b.tag{
display:inline-block; display:inline-block;

View file

@ -22,7 +22,7 @@ function pluginInput(opt)
}) })
print(opt.key:gsub("^app.opts.","") ) print(opt.key:gsub("^app.opts.","") )
foreach( opt.values, function(k,v) foreach( opt.values, function(k,v)
html = html .. util.template('<option value="${v}">${k}</option>\n',{ html = html .. util.template('<option value="${k}">${v}</option>\n',{
k=k, k=k,
v=v v=v
}) })

View file

@ -13,7 +13,7 @@ end)
-- this registers the plugin UI -- this registers the plugin UI
local plugin = { local plugin = {
name = 'Cloud drives <b class="tag">disabled</b>', name = 'Clouddrive <b class="tag">disabled</b>',
info = '', info = '',
opts = { opts = {
{ {

View file

@ -3,7 +3,7 @@ local dir = require "opendirectory"
-- this registers the plugin UI /funcs -- this registers the plugin UI /funcs
return { return {
name = "Content (from disk)", name = "Content (from disk)",
info = 'XRForge can search in (unnested) folders for XR/image/video files.', info = '',
opts = { opts = {
{ {
key='app.opts.plugin_diskscan_dir', key='app.opts.plugin_diskscan_dir',

View file

@ -20,7 +20,7 @@ local plugin = {
key='app.opts.plugin_markdown_files', key='app.opts.plugin_markdown_files',
title='Markdown files', title='Markdown files',
info='Space-separated, <a href="http://lua-users.org/wiki/PatternsTutorial" target="_blank">lua patterns</a> are allowed', info='Space-separated, <a href="http://lua-users.org/wiki/PatternsTutorial" target="_blank">lua patterns</a> are allowed',
default="README.md", default="*.md",
values='' values=''
}, },
{ {