mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-26 07:51:34 +00:00
feat(dashboard): a 3D button beside every property link
fmt.property(id, name) links a property's page and adds a small 3D button straight to its 3D view. Used everywhere a property is linked: the properties list and top slots, moderation, character pages' related properties, UGC search and the UGC page's placements, the home page, the chat log, player reports and report notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
document.getElementById('worldSubtitle').innerHTML = 'Zone ' + esc(world.mapID) + ' · instance ' + esc(world.instanceID) + (world.cloneID ? ' · clone ' + esc(world.cloneID) : '') +
|
||||
(world.ip ? ' · <code>' + esc(world.ip + ':' + world.port) + '</code>' : '') +
|
||||
(world.ownerId ? ' · owned by ' + fmt.character(world.ownerId, world.ownerName) : '') +
|
||||
(world.propertyId ? ' · ' + fmt.link('/properties/' + world.propertyId, 'property') : '');
|
||||
(world.propertyId ? ' · ' + fmt.property(world.propertyId, 'property') : '');
|
||||
document.getElementById('worldActions').innerHTML = can.worlds
|
||||
? '<button type="button" class="btn btn-sm btn-outline-danger" id="worldShutdown">Shut down</button>' : '';
|
||||
loadStats();
|
||||
|
||||
Reference in New Issue
Block a user