xrforge-v2/src/page/dir.html

36 lines
1.2 KiB
HTML
Raw Normal View History

2026-07-23 10:01:34 +02:00
${header}
${if _.parent ~= nil and _.parent.parent == nil then}
2026-07-23 10:01:34 +02:00
<div style="height:120px;" class="jumbotron">
<h1>${opts.title}</h1>
${opts.subtitle}
</div>
<hr style="margin-top:0">
${end}
${if _.parent ~= nil and _.parent.parent ~= nil then}
<h2>${parent.name}</h2>
${end}
2026-07-23 10:01:34 +02:00
<div class="grid">
${html_items}
2026-07-23 10:01:34 +02:00
</div>
${footer}
<!-- JanusXR portalroom, see https://janusxr.org for markup -->
<fireboxroom>
<room pos="0 0 0" 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 2.6 2" billboard="y" col="#BBFFFF" scale="5 5 1" text="https://xrforge.isvery.ninja/models" rotation="-180 0 -180" emissive="0 0 0" roughness="0.3" metalness="0" />
<CircularLayout pos="0 0 0" radius="4.5" scale="1 1 1" >
${for k,v in pairs(items) do}
<object id="o_${i}">
<link url="${v.url}" image_id="${v.thumbnail}" pos="0 0 0.001" draw_glow="true" scale="3 3 0.1" thumb_id="thumb_0" title="${v.title}"/>
<text text="${v.title}" pos="0 2.3 0.3" font_scale="false" scale="0.15 0.15 0.2" />
</object>
${end}
</CircularLayout>
</room>
</fireboxroom>