Location: PHPKode > projects > REMLAB Web Mech Designer > remlab30/template/installation.tpl.inc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{TITLE} {SUB_TITLE}</title>
<meta name="authors" content="{AUTHOR}" />
<link type="text/css" rel="stylesheet" href="resources/remlab.css" media="screen" />
<link type="text/css" rel="stylesheet" href="resources/print.css" media="print" />
<script type="text/javascript" src="include/remlab.js"></script>
<script type="text/javascript" src="include/installation.js"></script>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>

<body onload="loadApp()">

<div id="Top">
	<div id="Header" onclick="location.href='build.lab'">
		<h1>{TITLE} <span>{SUB_TITLE}</span></h1>
		<div>{VERSION}</div>
	</div>
	<div id="Navigation">
		<dl>
			<dd><a href="build.lab">Build</a></dd>
			<dd><a href="about.lab">About</a></dd>
			<dd><a href="help.lab">Help</a></dd>
		</dl>
	</div>
</div>

<div id="Content">

<noscript>Javascript must be enabled for REMLAB to function.</noscript>

<form name="form" method="post" action="">

<div id="Totals">
	<table cellspacing="0">
		<tr>
			<th>Weapon Tons:</th>
			<td><span id="txtTonsRemaining">0.0</span>&nbsp;of <span id="txtTonsAvailable">0.0</span></td>
			<th>Cost:</th>
			<td><span id="txtTotalCost">0</span> <small>C-bills</small></td>
			<th>Damage:</th>
			<td><span id="txtMaxDamage">0</span> <small>(<span id="txtDamagePerTon">0.00</span> per ton)</small></td>
			<th width="30%" rowspan="2"><input type="button" name="bRS" value="Record Sheet" onclick="submitForm('installation','rs')" /> <input type="button" name="bTR" value="Tech Readout" onclick="submitForm('installation','tr')" /><br /><input type="button" name="bXML" value="XML" onclick="submitForm('installation','xml')" /> <!--input type="button" name="bMM" value="MegaMek" onclick="submitForm('installation','mft')" /--></th>
		</tr>
		<tr>
			<th>Ammo Tons:</th>
			<td><span id="txtATonsRemaining">0.0</span>&nbsp;of <span id="txtATonsAvailable">0.0</span></td>
			<th><acronym title="Battle Value">BV</acronym>:</th>
			<td id="txtTotalBV">0</td>
			<th></th>
			<td></td>
		</tr>	
	</table>
</div>

<div id="Tabs">
	<dl>
		<dd><a id="L1btn" href="#" onclick="switchTab('L1');return false">Structure</a></dd>
		<dd><a id="L2btn" href="#" onclick="switchTab('L2');return false">Armor</a></dd>
		<dd><a id="L3btn" href="#" onclick="switchTab('L3');return false">Armament</a></dd>
		<dd><a id="L4btn" href="#" onclick="switchTab('L4');return false">Crew</a></dd>
		<dd><a id="L5btn" href="#" onclick="switchTab('L5');return false">History</a></dd>
	</dl>
</div>

<div id="Stats">
	Type <input type="text" name="Type" size="32" maxlength="50" value="" /> &nbsp;
	Class <select name="Mods" onchange="changeLevel()">
		<option value="0" selected="selected">Fortress</option>
		<option value="1">Building</option>
		<option value="2">Hangar</option>
		<option value="3">Bridge</option>
	</select> &nbsp;
	<acronym title="Construction Factor">CF</acronym> <select id="Tonnage" name="Tonnage" onchange="Calc()">
		<option value="5">5</option>
		<option value="10" selected="selected">10</option>
		<option value="15">15</option>
		<option value="20">20</option>
		<option value="25">25</option>
		<option value="30">30</option>
		<option value="35">35</option>
		<option value="40">40</option>
		<option value="45">45</option>
		<option value="50">50</option>
		<option value="55">55</option>
		<option value="60">60</option>
		<option value="65">65</option>
		<option value="70">70</option>
		<option value="75">75</option>
		<option value="80">80</option>
		<option value="85">85</option>
		<option value="90">90</option>
		<option value="95">95</option>
		<option value="100">100</option>
		<option value="105">105</option>
		<option value="110">110</option>
		<option value="115">115</option>
		<option value="120">120</option>
		<option value="125">125</option>
		<option value="130">130</option>
		<option value="135">135</option>
		<option value="140">140</option>
		<option value="145">145</option>
		<option value="150">150</option>
	</select><input type="text" id="TonnageInput" name="TonnageInput" size="4" maxlength="3" value="" onchange="Calc()" /><input type="button" value=" + " class="Plus" onclick="flipInput('TonnageInput','Tonnage');Calc()" /> &nbsp; <span id="txtClass">Light</span>
</div>

<div id="L1">
	<div class="ColLeft">
	<h3>Rules</h3>
	<div>
	<table>
		<tr>
			<th>Ruleset</th>
			<td><select name="Level" onchange="changeLevel()">
				<option value="2" selected="selected">Standard</option>
				<option value="3">Advanced</option>
			</select></td>
		</tr>
		<tr>
			<th>Edition</th>
			<td><select name="Edition" onchange="changeLevel()">
				<option value="2">2nd</option>
				<option value="3">3rd</option>
				<option value="4">4th</option>
				<option value="5" selected="selected">5th</option>
			</select></td>
		</tr>
		<tr>
			<th>Technology</th>
			<td><select name="Tech" onchange="changeLevel();switchCatagory('T1')">
				<option value="1" selected="selected">Inner Sphere</option>
				<option value="2">Clan</option>
			</select></td>
		</tr>
		<tr>
			<th>Era</th>
			<td><select id="Era" name="Era">
				<option value="2439">2439</option>
				<option value="2570">2570</option>
				<option value="2750">2750</option>
				<option value="3025">3025</option>
				<option value="3039">3039</option>
				<option value="3050">3050</option>
				<option value="3055">3055</option>
				<option value="3058">3058</option>
				<option value="3060">3060</option>
				<option value="3067">3067</option>
				<option value="3075" selected="selected">3075</option>
				<option value="3132">3132</option>
			</select><input type="text" id="EraInput" name="EraInput" size="5" maxlength="4" value="" /><input type="button" value=" + " class="Plus" onclick="flipInput('EraInput','Era')" title="Switch between input and select" /></td>
		</tr>	
	</table>
	</div>

	<h3>Features</h3>
	<div>
	<table>
		<tr>
			<th>Levels</th>
			<td><select name="Levels" onchange="Calc()">
				<option value="1" selected="selected">1</option>
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
				<option value="5">5</option>
				<option value="6">6</option>
				<option value="7">7</option>
				<option value="8">8</option>
				<option value="9">9</option>
				<option value="10">10</option>
				<option value="11">11</option>
				<option value="12">12</option>
			</select>&nbsp;&nbsp; Basement <select name="Basement" onchange="Calc()">
				<option value="0" selected="selected">0</option>
				<option value="1">1</option>
				<option value="2">2</option>
			</select></td>			
		</tr>
		<tr>
			<th>Base Size</th>
			<td><select name="Hexes" onchange="Calc()">
				<option value="1" selected="selected">1</option>
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
				<option value="5">5</option>
				<option value="6">6</option>
				<option value="7">7</option>
				<option value="8">8</option>
				<option value="9">9</option>
				<option value="10">10</option>
				<option value="11">11</option>
				<option value="12">12</option>
				<option value="13">13</option>
				<option value="14">14</option>
			</select> Hexes</td>			
		</tr>
		<tr>
			<th>Doors</th>
			<td><select name="Door" onchange="Calc()">
				<option value="0" selected="selected">0</option>
				<option value="1">1</option>
				<option value="2">2</option>
			</select> &nbsp; Levels <select name="DoorLevels">
				<option value="1" selected="selected">1</option>
				<option value="2">2</option>
			</select></td>
		</tr>
		<tr>
			<th><label for="Turret">Turret</label></th>
			<td><input type="checkbox" name="Turret" id="Turret" value="0" onclick="Calc()" /> <!--span class="Tons">[<span id="txtTurret">0.0</span> tons]</span--></td>
		</tr>
	</table>
	</div>
	</div>
	
	<div class="ColRight" style="margin-bottom:310px">&nbsp;</div>
</div>

<div id="L2">
	<h3 class="padding">Armor</h3>
	<div>Type <select name="Armor" onchange="Calc()">
			<option value="0" selected="selected">Standard</option>
		</select> Armor Points &nbsp;<strong><span id="txtArmorTotal">0</span>/<span id="txtArmorMax">0</span></strong>&nbsp; <span class="Tons">[<span id="txtArmorTonnage">0.0</span> tons]</span>
	</div>
	<h3>Allocate Armor Points</h3>
	<div>
	<table width="400" cellspacing="1">
		<tr>
			<td width="70%" align="center">Armor<br /><input type="text" name="ArmorB" size="3" maxlength="3" value="0" onblur="Calc()" />/<span id="txtMaxB"></span></td>
			<th>
				<fieldset><legend>Amount</legend>
				<input type="button" value="Full" onclick="armorPercent(1)" /><br /><input type="button" value="75%" onclick="armorPercent(0.75)" /><br /><input type="button" value="50%" onclick="armorPercent(0.5)" /><br /><input type="button" value="25%" onclick="armorPercent(0.25)" /><br /><input type="button" value="None" onclick="clearArmor()" /><input type="hidden" name="ArmorPercent" value="0" /></fieldset>
			</th>
		</tr>
	</table>
	</div>
</div>

<div id="L3">
	<h3 class="line">Weapons and Equipment</h3>
	<div id="weapTabs">
		<dl>
			<dd><a id="T1btn" href="#" onclick="switchCatagory('T1');return false">Energy</a></dd>
			<dd><a id="T2btn" href="#" onclick="switchCatagory('T2');return false">Ballistic</a></dd>
			<dd><a id="T3btn" href="#" onclick="switchCatagory('T3');return false">Missile</a></dd>
			<dd class="Hidden"><a id="T4btn" href="#" onclick="switchCatagory('T4');return false">Artillery</a></dd>
			<dd><a id="T5btn" href="#" onclick="switchCatagory('T5');return false">Equipment</a></dd>
			<dd class="Hidden"><a id="T6btn" href="#" onclick="switchCatagory('T6');return false">Industrial</a></dd>
			<dd><a id="T7btn" href="#" onclick="switchCatagory('T7');return false">Ammunition</a></dd>
			<dd><a id="T8btn" href="#" onclick="showAllocate();return false">Allocate Items</a></dd>
		</dl>
	</div>
	
	<div id="ISWeapons">
		<div id="T1">
{WEAPONS_IS_ENERGY}
		</div>
		
		<div id="T2">
{WEAPONS_IS_BALLISTIC}
		</div>
		
		<div id="T3">
{WEAPONS_IS_MISSLE}
		</div>
		
		<div id="T4">
{WEAPONS_IS_ARTILLERY}
		</div>
		
		<div id="T5">
{WEAPONS_IS_EQUIPMENT}
		</div>
		
		<div id="T6">
{WEAPONS_IS_INDUSTRIAL}
		</div>		
		
		<div id="T7">
			<div class="ammoRight">
{WEAPONS_IS_AMMO2}
			</div>
					
			<div class="ammoLeft">
{WEAPONS_IS_AMMO1}
			</div>
		</div>
	</div>
	
	<div id="ClanWeapons">
		<div id="T1c">
{WEAPONS_CLAN_ENERGY}
		</div>
		
		<div id="T2c">
{WEAPONS_CLAN_BALLISTIC}
		</div>
		
		<div id="T3c">
{WEAPONS_CLAN_MISSLE}
		</div>
		
		<div id="T4c">
{WEAPONS_CLAN_ARTILLERY}
		</div>
		
		<div id="T5c">
{WEAPONS_CLAN_EQUIPMENT}
		</div>
		
		<div id="T6c">
{WEAPONS_CLAN_INDUSTRIAL}
		</div>
		
		<div id="T7c">
			<div class="ammoRight">
{WEAPONS_CLAN_AMMO2}
			</div>
			<div class="ammoLeft">
{WEAPONS_CLAN_AMMO1}
			</div>
		</div>
	</div>
	
	<h3>Allocate</h3>
	<div id="allocate">
		<table cellspacing="1" cellpadding="1">
			<tr>
				<td width="25%">
					<p>Weapons &amp; Ammo</p>
					<ul id="txtListWeapons"><li></li></ul>
				</td>
				<td width="25%">
					<p>Equipment</p>
					<ul id="txtListEquipment"><li></li></ul>
				</td>
				<td width="25%">
					<p>Allocated Slots</p>
					<table id="CritSlots">
						<tr>
							<td>North</td>
							<th><input type="text" name="NorthCrits" value="0" readonly="readonly" /></th>
						</tr>
						<tr>
							<td>East</td>
							<th><input type="text" name="EastCrits" value="0" readonly="readonly" /></th>
						</tr>
						<tr>
							<td>West</td>
							<th><input type="text" name="WestCrits" value="0" readonly="readonly" /></th>
						</tr>
						<tr>
							<td>Turret</td>
							<th><input type="text" name="TurretCrits" value="0" readonly="readonly" /></th>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</div>
</div>

<div id="L4">
	<div class="ColLeft">
		<h3>Crew Info</h3>
		<div>
		<table>
			<tr>
				<th>Name</th>
				<td><input type="text" name="PilotName" size="34" maxlength="40" value="" /><!--input type="button" value="^" title="Random Name Generator (off-site)" onclick="OpenWindow('http://www.behindthename.com/random/')" /--></td>			
			</tr>
			<tr>
				<th>Affiliation</th>
				<td><select id="Faction" name="Faction">
					<option value="0" selected="selected">None (blank line)</option>
					<optgroup label="Inner Sphere">
						{FACTION_IS}
					</optgroup>
					<optgroup label="Clans">
						{FACTION_CLAN}
					</optgroup>
					<optgroup label="The Periphery Realms">
						{FACTION_PERIPHERY}
					</optgroup>
					<optgroup label="Dark Age (32nd Century)">
						{FACTION_DARKAGE}
					</optgroup>
					<optgroup label="Mercenaries">
						{FACTION_MERCS}
					</optgroup>
					<optgroup label="Generic">
						{FACTION_GENERIC}
					</optgroup>
				</select><input type="text" id="FactionInput" name="FactionInput" size="34" maxlength="40" value="" /><input type="button" value=" + " class="Plus" onclick="flipInput('FactionInput','Faction')" title="Switch between input and select" /></td>			
			</tr>
			<tr>
				<th>Player</th>
				<td><input type="text" name="Player" size="25" maxlength="25" value="" /></td>			
			</tr>
			<tr>
				<th>Miniature</th>
				<td><input type="text" name="Miniature" size="25" maxlength="25" value="" /></td>			
			</tr>
		</table>
		</div>
	</div>
	
	<div class="ColRight">
		<h3>Crew Stats</h3>
		<div>
		<table>
			<tr>
				<th>Race</th>
				<td><select name="Race" onchange="raceSkills()">
					<option value="0" selected="selected">Human</option>
					<option value="1">Clanner</option>
				</select></td>
			</tr>
			<tr>
				<th>Experience</th>
				<td><select name="Experience">
					<option value="1" selected="selected">Green</option>
					<option value="2">Regular</option>
					<option value="3">Veteran</option>
					<option value="4">Elite</option>
				</select></td>
			</tr>
			<tr>
				<th>Gunnery Skill</th>
				<td><select name="Gunnery">
					<option value="8">7</option>
					<option value="7">6</option>
					<option value="6">5</option>
					<option value="5" selected="selected">4</option>
					<option value="4">3</option>
					<option value="3">2</option>
					<option value="2">1</option>
					<option value="1">0</option>
				</select><input type="hidden" name="Piloting" value="0" /></td>
			</tr>
			<tr>
				<th>Crew Size</th>
				<td><strong><span id="txtBaseCrew">1</span></strong></td>
			</tr>
		</table>
		</div>
	</div>
</div>

<div id="L5">
	<div class="ColLeft">
		<h3>Overview</h3>
		<div><textarea name="Overview" rows="4" cols="44"></textarea></div>
		<h3>Capabilities</h3>
		<div><textarea name="Capability" rows="4" cols="44"></textarea></div>
		<h3>Battle History</h3>
		<div><textarea name="History" rows="4" cols="44"></textarea></div>
	</div>
	<div class="ColRight">
		<h3>Deployment</h3>
		<div><textarea name="Deployment" rows="4" cols="44"></textarea></div>
		<h3>Variants</h3>
		<div><textarea name="Varients" rows="4" cols="44"></textarea></div>
		<h3>Notable Crews</h3>
		<div><textarea name="Notable" rows="4" cols="44"></textarea></div>
	</div>
</div>

<input type="hidden" name="UnitType" value="5" />
<input type="hidden" name="Tons" value="0" />
<input type="hidden" name="Crits" value="0" />
<input type="hidden" name="TotalTons" value="0" />
<input type="hidden" name="AmmoTons" value="0" />
<input type="hidden" name="TurretTons" value="0" />
<input type="hidden" name="PowerAmp" value="0" />
<input type="hidden" name="TotalCost" value="0" />
<input type="hidden" name="TotalBV" value="0" />
<input type="hidden" name="MaxDamage" value="0" />
<input type="hidden" name="ArmorTotal" value="0" />
<input type="hidden" name="BaseCrew" value="1" />
<input type="hidden" name="NCritsMax" value="20" />
<input type="hidden" name="ECritsMax" value="20" />
<input type="hidden" name="WCritsMax" value="20" />
<input type="hidden" name="TCritsMax" value="20" />
<input type="hidden" name="HeatSinks" value="0" />
<input type="hidden" name="NumWeapons" value="" />
<input type="hidden" name="1Crits" value="" />

</form>

<div id="Processing"></div>

</div>

<div id="Bottom">
	<div>Developed by <a href="http://www.marchtwenty.com/">March Twenty Productions</a> and distributed on <a href="http://remlab.sourceforge.net/">SourceForge.net</a>.</div>
</div>

</body>
</html>
Return current item: REMLAB Web Mech Designer