Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsl:template match="items" mode="build-kill-detail">
- <div id="fwindow">
- <div style="position: relative;">
- <xsl:for-each select="item/states/state[ancestor::item/@flag='0']">
- <xsl:sort select="ancestor::item/type/@id" order="descending"/>
- <xsl:variable name="icon"><xsl:value-of select="ancestor::item/type/@icon" /></xsl:variable>
- <xsl:variable name="item_location_x"><xsl:apply-templates select="current()" mode="left" /></xsl:variable>
- <xsl:variable name="item_location_y"><xsl:apply-templates select="current()" mode="top" /></xsl:variable>
- <xsl:variable name="mo"><xsl:value-of select="ancestor::item/type" /></xsl:variable>
- <div style="position: absolute; left: {$item_location_x}px; top: {$item_location_y}px;"><img src="/img/items/32_32/icon{$icon}.png" title="{$mo}" /></div>
- <xsl:if test="ancestor::item/type[@tech_level='2']">
- <xsl:variable name="t2item_location_x" select="$item_location_x+15"/>
- <xsl:variable name="t2item_location_y" select="$item_location_y+16"/>
- <div style="position: absolute; left: {$t2item_location_x}px; top: {$t2item_location_y}px;"><img src="/img/tech2.png" title="{$mo}" /></div>
- </xsl:if>
- </xsl:for-each>
- </div>
- <img id="fitting" src="/img/fitting_old.jpg" />
- </div>
- </xsl:template>
- <!-- LOW POWER SLOTS POSITIONING FOR FITTING WINDOW -->
- <xsl:template match="state[@slot_id='loPower_1']" mode="left">111</xsl:template>
- <xsl:template match="state[@slot_id='loPower_1']" mode="top">205</xsl:template>
- <xsl:template match="state[@slot_id='loPower_2']" mode="left">94</xsl:template>
- <xsl:template match="state[@slot_id='loPower_2']" mode="top">164</xsl:template>
- <xsl:template match="state[@slot_id='loPower_3']" mode="left">106</xsl:template>
- <xsl:template match="state[@slot_id='loPower_3']" mode="top">120</xsl:template>
- <xsl:template match="state[@slot_id='loPower_4']" mode="left">142</xsl:template>
- <xsl:template match="state[@slot_id='loPower_4']" mode="top">95</xsl:template>
- <xsl:template match="state[@slot_id='loPower_5']" mode="left">186</xsl:template>
- <xsl:template match="state[@slot_id='loPower_5']" mode="top">95</xsl:template>
- <xsl:template match="state[@slot_id='loPower_6']" mode="left">222</xsl:template>
- <xsl:template match="state[@slot_id='loPower_6']" mode="top">120</xsl:template>
- <xsl:template match="state[@slot_id='loPower_7']" mode="left">233</xsl:template>
- <xsl:template match="state[@slot_id='loPower_7']" mode="top">164</xsl:template>
- <xsl:template match="state[@slot_id='loPower_8']" mode="left">218</xsl:template>
- <xsl:template match="state[@slot_id='loPower_8']" mode="top">206</xsl:template>
- <!-- LOW POWER SLOTS POSITIONING FOR FITTING WINDOW -->
- <!-- MED POWER SLOTS POSITIONING FOR FITTING WINDOW -->
- <xsl:template match="state[@slot_id='medPower_1']" mode="left">78</xsl:template>
- <xsl:template match="state[@slot_id='medPower_1']" mode="top">231</xsl:template>
- <xsl:template match="state[@slot_id='medPower_2']" mode="left">52</xsl:template>
- <xsl:template match="state[@slot_id='medPower_2']" mode="top">165</xsl:template>
- <xsl:template match="state[@slot_id='medPower_3']" mode="left">70</xsl:template>
- <xsl:template match="state[@slot_id='medPower_3']" mode="top">95</xsl:template>
- <xsl:template match="state[@slot_id='medPower_4']" mode="left">128</xsl:template>
- <xsl:template match="state[@slot_id='medPower_4']" mode="top">55</xsl:template>
- <xsl:template match="state[@slot_id='medPower_5']" mode="left">199</xsl:template>
- <xsl:template match="state[@slot_id='medPower_5']" mode="top">55</xsl:template>
- <xsl:template match="state[@slot_id='medPower_6']" mode="left">255</xsl:template>
- <xsl:template match="state[@slot_id='medPower_6']" mode="top">96</xsl:template>
- <xsl:template match="state[@slot_id='medPower_7']" mode="left">274</xsl:template>
- <xsl:template match="state[@slot_id='medPower_7']" mode="top">165</xsl:template>
- <xsl:template match="state[@slot_id='medPower_8']" mode="left">250</xsl:template>
- <xsl:template match="state[@slot_id='medPower_8']" mode="top">233</xsl:template>
- <!-- MED POWER SLOTS POSITIONING FOR FITTING WINDOW -->
- <!-- HIGH POWER SLOTS POSITIONING FOR FITTING WINDOW -->
- <xsl:template match="state[@slot_id='hiPower_1']" mode="left">47</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_1']" mode="top">262</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_2']" mode="left">10</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_2']" mode="top">169</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_3']" mode="left">35</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_3']" mode="top">74</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_4']" mode="left">113</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_4']" mode="top">15</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_5']" mode="left">214</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_5']" mode="top">15</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_6']" mode="left">290</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_6']" mode="top">72</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_7']" mode="left">318</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_7']" mode="top">167</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_8']" mode="left">283</xsl:template>
- <xsl:template match="state[@slot_id='hiPower_8']" mode="top">258</xsl:template>
- <!-- HIGH POWER SLOTS POSITIONING FOR FITTING WINDOW -->
- <!-- RIG POWER SLOTS POSITIONING FOR FITTING WINDOW -->
- <xsl:template match="state[@slot_id='rigSlot_1']" mode="left">49</xsl:template>
- <xsl:template match="state[@slot_id='rigSlot_1']" mode="top">327</xsl:template>
- <xsl:template match="state[@slot_id='rigSlot_2']" mode="left">83</xsl:template>
- <xsl:template match="state[@slot_id='rigSlot_2']" mode="top">327</xsl:template>
- <xsl:template match="state[@slot_id='rigSlot_3']" mode="left">117</xsl:template>
- <xsl:template match="state[@slot_id='rigSlot_3']" mode="top">327</xsl:template>
- <!-- RIG POWER SLOTS POSITIONING FOR FITTING WINDOW -->
Add Comment
Please, Sign In to add comment