-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCollectorInputForm.html
More file actions
64 lines (49 loc) · 1.91 KB
/
CollectorInputForm.html
File metadata and controls
64 lines (49 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<html>
<head>
<title>Wargear Map XML Editor</title>
<script type="text/javascript" src="../../js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="/js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="WGAME.js"></script>
<script type="text/javascript">
function passCmdString(form) {
var cmdString = "AddCollectorContinents;";
cmdString += cmdStringFromTerritorySetForm("Collectors");
cmdString += form.individualBonus.value;
cmdString +=";";
cmdString += form.pairBonus.value;
cmdString +=";";
cmdString += cmdStringDCFromTerritorySetForm("Collectors");
//alert(cmdString);
window.opener.addToCmdString(cmdString);
}
</script>
<link rel="stylesheet" type="text/css" href="WGMapEditorStyles.css" />
</head>
<body style="width:450px">
<h1>Collector Continents</h1>
<h3><a href="https://sites.google.com/a/prestopnik.com/wgame/documentation/add-collector-continents">ONLINE DOCUMENTATION FOR THIS FORM</a></h3>
<h1>How To Use</h1>
<ol>
<li>Define a set of territories below.</li>
<li>For each territory in the set a new single-territory continent is created with
the 'Individual Bonus'. </li>
<li>For each pair of territory in the set a new single-territory continent is created with
the 'Individual Bonus'. </li>
</ol>
A set of N territories has N*(N-1)/2 pairs.
</p>
<form action="#">
<form action="#" style="width: 450px;">
<div class="TerritoriesSetInput" id="Collectors"></div>
<h2>Define Bonuses</h2>
<div style="font-size:75%" class="alert">Leave values of '0' for no bonus of that type.</div>
<div class="FormEntryGroup">
<div style="font-size:120%;">Individual Bonus: <input type="text" name="individualBonus" value="0" /></div>
<div style="font-size:120%;">Pair Bonus: <input type="text" name="pairBonus" value="0" /></div>
</div>
<br />
<hr>
<p><input type=button onClick="passCmdString(this.form)" value="Add Factories!" /></p>
</form>
</body>
</html>