From 1d9028b2ca9630b69cf063688cae2c5e054f7e35 Mon Sep 17 00:00:00 2001 From: AzuleUtama <44248086+AzuleUtama@users.noreply.github.com> Date: Sat, 2 Mar 2019 17:54:34 +0000 Subject: [PATCH] Changed formatting and added tooltips for item descriptions --- nano/templates/uplink.tmpl | 39 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/nano/templates/uplink.tmpl b/nano/templates/uplink.tmpl index 7d2158a240c..c67dbca9c61 100644 --- a/nano/templates/uplink.tmpl +++ b/nano/templates/uplink.tmpl @@ -4,23 +4,21 @@ Title: Syndicate Uplink, uses some javascript to change nanoUI up a bit. Used In File(s): \code\game\objects\items\devices\uplinks.dm --> {{:helper.syndicateMode()}} -

{{:data.welcome}}

+ +

{{:data.welcome}}

+

Uplink Functions


-
- Functions: -
-
- {{:helper.link('Purchase Gear', 'gear', {'menu' : 0, 'category' : null}, null, 'fixedLeftWider')}} - {{:helper.link('Exploitable Information', 'gear', {'menu' : 1}, null, 'fixedLeftWider')}} - {{:helper.link(data.descriptions ? 'Hide Descriptions' : 'Show Descriptions', 'info-circle', {'descriptions' : 1}, data.menu == 0 ? '' : 'disabled', 'fixedLeftWider')}} - {{:helper.link('Lock Uplink', 'power-off', {'lock' : "1"}, null, 'fixedLeftWider')}} -
+ {{:helper.link('Purchase Gear', 'gear', {'menu' : 0, 'category' : null}, null, 'white')}} + {{:helper.link('Exploitable Information', 'gear', {'menu' : 1}, null, 'white')}} + {{:helper.link('Lock Uplink', 'power-off', {'lock' : "1"}, null, 'white')}}

{{if data.menu == 0}} -

Request items:

+

Purchase Gear

Each item costs a number of tele-crystals as indicated by the number following their name.
@@ -44,16 +42,15 @@ Used In File(s): \code\game\objects\items\devices\uplinks.dm {{/if}} {{if value.Category == data.category_choice}}
- {{for value.items :itemValue:itemIndex}} -
- {{:helper.link( itemValue.Name, 'gear', {'buy_item' : itemValue.obj_path, 'cost' : itemValue.Cost}, itemValue.Cost > data.crystals ? 'disabled' : null, null)}} - {{:itemValue.Cost}} -
- {{if itemValue.Cost <= data.crystals && data.descriptions}} -
- {{:itemValue.Description}} -
- {{/if}} - {{/for}} + + {{for value.items :itemValue:itemIndex}} + + + + {{/for}} +
+ {{:helper.link( itemValue.Name, 'gear', {'buy_item' : itemValue.obj_path, 'cost' : itemValue.Cost}, itemValue.Cost > data.crystals ? 'disabled' : null, null)}} - {{:itemValue.Cost}} +
{{/if}} {{/for}}