Template fixes

This commit is contained in:
ZomgPonies
2014-01-05 01:57:11 -05:00
parent fdc1f7c455
commit cc5428005f
3 changed files with 29 additions and 29 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+13 -13
View File
@@ -8,7 +8,7 @@ YOU HAVE TO PUT THIS FILE INTO "send_resources" CLIENT PROC! ELSE IT WON'T WORK!
Fire Alarm:
</div>
<div class="itemContent">
{^{:~link('Activated', 'lightbulb', {'alarm': 1}, fire ? 'selected' : null)}}{^{:~link('Deactivated', 'lightbulb', {'reset': 1}, fire ? null : 'selected')}}
{{:~link('Activated', 'lightbulb', {'alarm': 1}, fire ? 'selected' : null)}}{{:~link('Deactivated', 'lightbulb', {'reset': 1}, fire ? null : 'selected')}}
</div>
</div>
<div class="item">
@@ -16,12 +16,12 @@ YOU HAVE TO PUT THIS FILE INTO "send_resources" CLIENT PROC! ELSE IT WON'T WORK!
Security Level:
</div>
<div class="itemContentSmall">
{^{if securityLevel == "GREEN"}}
<span class='good'>{^{:securityLevel}}</span>
{{if securityLevel == "GREEN"}}
<span class='good'>{{:securityLevel}}</span>
{{else securityLevel == "BLUE"}}
<font color="lightblue">{^{:securityLevel}}</font>
<font color="lightblue">{{:securityLevel}}</font>
{{else}}
<span class='bad'>{^{:securityLevel}}</span>
<span class='bad'>{{:securityLevel}}</span>
{{/if}}
</div>
</div>
@@ -30,21 +30,21 @@ YOU HAVE TO PUT THIS FILE INTO "send_resources" CLIENT PROC! ELSE IT WON'T WORK!
Timer System:
</div>
<div class="itemContentSmall">
{^{:~link('Initiate', 'play', {'time': 1}, timing ? 'selected' : null)}}
{^{:~link('Stop', 'pause', {'time': 0}, timing? null : 'selected')}}
{{:~link('Initiate', 'play', {'time': 1}, timing ? 'selected' : null)}}
{{:~link('Stop', 'pause', {'time': 0}, timing? null : 'selected')}}
</div>
</div>
<div class="item">
<div class="itemContent">
{^{if working}}
Time Left: <b>{^{:time}}</b>
{{if working}}
Time Left: <b>{{:time}}</b>
{{/if}}
</div>
<div class="itemContent">
Time Modifiers:
{^{:~link('30', 'minus', {'tp': -30}, null)}}
{^{:~link('1', 'minus', {'tp': -1}, null)}}
{^{:~link('1', 'plus', {'tp': +1}, null)}}
{^{:~link('30', 'plus', {'tp': +30}, null)}}
{{:~link('30', 'minus', {'tp': -30}, null)}}
{{:~link('1', 'minus', {'tp': -1}, null)}}
{{:~link('1', 'plus', {'tp': +1}, null)}}
{{:~link('30', 'plus', {'tp': +30}, null)}}
</div>
</div>
+15 -15
View File
@@ -1,6 +1,6 @@
<div class="item">{^{:~link('Eject Coin', 'eject', {'remove_coin' : 1}, coin ? null : 'disabled', 'floatRight')}}
<div class="item">{{:~link('Eject Coin', 'eject', {'remove_coin' : 1}, coin ? null : 'disabled', 'floatRight')}}
<div class="floatRight">
{^{if !coin}}
{{if !coin}}
<div class="bad">No coin loaded.&nbsp;&nbsp;</div>
{{else}}
<div class="good">Coin Loaded.&nbsp;&nbsp;</div>
@@ -16,13 +16,13 @@
<div class="statusDisplay" style="height: auto; overflow: auto;">
<div class="item">
<div class="itemContent">
{^{if products}}
{{if products}}
{{for productData}}
<div class="fixedLeft" style="width: 500px;>
{{if amount}}
{^{:~link('Vend', 'eject', {'vend': itself}, vendReady ? 'disabled' : null)}} <font color="{{:displayColor}}"> {{:name}} </font>- <b>{{:amount}}</b>-<b>{{:price}}</b>
{{:~link('Vend', 'eject', {'vend': itself}, vendReady ? 'disabled' : null)}} <font color="{{:displayColor}}"> {{:name}} </font>- <b>{{:amount}}</b>-<b>{{:price}}</b>
{{else}}
{^{:~link('Vend', 'eject', {'vend': itself}, 'disabled')}}<font color="{{:displayColor}}">{{:name}} - <font color="#cd6500"><i>Sold Out.</i></font></font>
{{:~link('Vend', 'eject', {'vend': itself}, 'disabled')}}<font color="{{:displayColor}}">{{:name}} - <font color="#cd6500"><i>Sold Out.</i></font></font>
{{/if}}
</div>
{{/for}}
@@ -32,7 +32,7 @@
</div>
</div>
</div>
{^{if coin}}
{{if coin}}
<hr>
<div class="itemLabel">
Premium Items:
@@ -41,13 +41,13 @@
<div class="statusDisplay" style="height: auto; overflow: auto;">
<div class="item">
<div class="itemContent">
{^{if products}}
{{if products}}
{{for premiumData}}
<div class="fixedLeft" style="width: 500px;>
<div class="fixedLeft" style="width: 500px";>
{{if amount}}
{^{:~link('Vend', 'eject', {'vend': itself}, vendReady ? 'disabled' : null)}} <font color="{{:displayColor}}"> {{:name}} </font>- <b>{{:amount}}</b>-<b>{{:price}}</b>
{{:~link('Vend', 'eject', {'vend': itself}, vendReady ? 'disabled' : null)}} <font color="{{:displayColor}}"> {{:name}} </font>- <b>{{:amount}}</b>-<b>{{:price}}</b>
{{else}}
{^{:~link('Vend', 'eject', {'vend': itself}, 'disabled')}}<font color="{{:displayColor}}">{{:name}} - <font color="#cd6500"><i>Sold Out.</i></font></font>
{{:~link('Vend', 'eject', {'vend': itself}, 'disabled')}}<font color="{{:displayColor}}">{{:name}} - <font color="#cd6500"><i>Sold Out.</i></font></font>
{{/if}}
</div>
{{/for}}
@@ -58,7 +58,7 @@
</div>
</div>
{{/if}}
{^{if extendedInventory}}
{{if extendedInventory}}
<div class="itemLabel">
Contraband:
</div>
@@ -66,13 +66,13 @@
<div class="statusDisplay" style="height: auto; overflow: auto;">
<div class="item">
<div class="itemContent">
{^{if products}}
{{if products}}
{{for contrabandData}}
<div class="fixedLeft" style="width: 500px;>
<div class="fixedLeft" style="width: 500px";>
{{if amount}}
{^{:~link('Vend', 'eject', {'vend': itself}, vendReady ? 'disabled' : null)}} <font color="{{:displayColor}}"> {{:name}} </font>- <b>{{:amount}}</b>-<b>{{:price}}</b>
{{:~link('Vend', 'eject', {'vend': itself}, vendReady ? 'disabled' : null)}} <font color="{{:displayColor}}"> {{:name}} </font>- <b>{{:amount}}</b>-<b>{{:price}}</b>
{{else}}
{^{:~link('Vend', 'eject', {'vend': itself}, 'disabled')}}<font color="{{:displayColor}}">{{:name}} - <font color="#cd6500"><i>Sold Out.</i></font></font>
{{:~link('Vend', 'eject', {'vend': itself}, 'disabled')}}<font color="{{:displayColor}}">{{:name}} - <font color="#cd6500"><i>Sold Out.</i></font></font>
{{/if}}
</div>
{{/for}}