xrforge-v2/src/page/footer.html

68 lines
2.6 KiB
HTML
Raw Normal View History

2026-07-21 19:19:52 +02:00
<div class="clear"></div>
<br>
<hr>
<table width="100%" class="footer">
<tr>
2026-07-23 10:01:34 +02:00
<td class="col3">
<a href="https://xrhf.isvery.ninja">XR Hypermedia Federation</a><br/>
<a href="https://coderofsalvation.github.io/janus-guide/">JanusXR Guide</a><br/>
<a href="https://nlnet.nl">NLNET</a><br/>
</td>
<td class="col3">
2026-07-30 22:54:44 +02:00
<a href="/">View from XR Device</a><br/>
<a href="/${opts.plugin_diskscan_dirname}">Content overview</a><br/>
2026-07-23 10:01:34 +02:00
<a href="/about">About</a><br/>
</td>
<td class="col3">
<a href="https://codeberg.org/coderofsalvation/xrforge">Sourcecode</a>
</td>
2026-07-21 19:19:52 +02:00
</tr>
</table>
</td>
</table>
</center>
</td>
</tr>
</table>
</body>
</html>
2026-07-30 22:54:44 +02:00
<!-- JanusXR portalroom, see https://janusxr.org for markup -->
<fireboxroom>
<assets>
<assetshader id="xrforgeportal" src="${opts.baseurl}shader/xrforgeportal.shadertoy.frag" shadertype="shadertoy"></assetshader>
{if items and #items > 1 then
for i,v in pairs(items) do
print('\t<assetimage src="' .. v.thumbnail .. '" id="img' .. i .. '"/>')
end
end}
</assets>
<room pos="0 0 -4" skybox="true" showavatar="false" use_local_asset="room_plane">
<light js_id="dan9-janus:light/light_cone_angle=0-6" pos="0 3 2" collision_trigger="false" />
<text js_id="location" pos="0 6 -5" billboard="y" col="#BBFFFF" scale="10 10 1" text="${url}" rotation="-180 0 -180" emissive="0 0 0" roughness="0.3" metalness="0" />
{if item then
print('\t<object id="${url}"/>')
end}
{if items and #items > 1 then
for i,v in pairs(items) do
local width = 3.2
local center = -((#items*width)/1.3) + (i*width)
print('\t\t<object js_id="portal_' .. i .. '" pos="' .. center .. ' 0 0" rotation="0 180 0">')
print('\t\t <link url="' .. v.url .. '" thumb_id="img' .. i .. '" title_col="0.4 0.37 0.4" pos="0 0 0.001" draw_glow="true" scale="3 3 0.1" />')
print('\t\t <link url="' .. v.url .. '" shader_id="xrforgeportal" pos="0 0 0.003" draw_glow="false" scale="3 3 0.1" />')
print('\t\t <text text="' .. v.title .. '" pos="0 3.4 0" col="1 1 1" font_scale="false" scale="0.2 0.2 0.2" />')
print('\t\t</object>')
end
end}
</room>
</fireboxroom>
2026-07-21 19:19:52 +02:00
<!-- C-code
-->