forked from HafisCZ/sf-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fortress.html
173 lines (163 loc) · 9.56 KB
/
fortress.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="en">
<head>
<title>SFTools - Fortress Simulator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="res/favicon.png"/>
<link rel="stylesheet" href="css/pages/fortress.css"/>
<script src="vendor/js/jquery.3.4.1.min.js"></script>
<script src="vendor/js/semantic.min.js"></script>
<script src="js/util.js"></script>
<script src="js/playa/calculations.js"></script>
<script src="js/plugins.js"></script>
<script src="js/core/util.js"></script>
<script src="js/core/models.js"></script>
<script src="js/core/core.js"></script>
<script src="js/core/database.js"></script>
<script src="js/script/config.js"></script>
<script src="js/script/ast.js"></script>
<script src="js/script/core.js"></script>
<script src="js/changelog.js"></script>
<script src="js/views/base.js"></script>
<script src="js/sim/fortress_data.js"></script>
<script src="js/sim/base.js"></script>
<script src="js/editor.js"></script>
<script src="endpoint/endpoint.js"></script>
<script src="js/debug/utils.js"></script>
<script src="js/pages/fortress.js"></script>
</head>
<body class="inverted">
<div class="ui fixed inverted borderless huge menu">
<div class="header item"><a href="index.html">SFTools</a></div>
</div>
<div class="ui main inverted container">
<div class="ui two columns stackable grid">
<div class="column">
<div class="ui inverted form" id="fortress-editor">
<div class="flex flex-col gap-2">
<div class="ui grey inverted segment !p-2 !m-0">
<div class="two fields !mb-0">
<div class="field">
<label data-intl="fortress.warrior_count"></label>
<div class="ui inverted centered input">
<input data-path="WarriorCount" placeholder="1 - 45">
</div>
</div>
<div class="field">
<label data-intl="fortress.warrior_level"></label>
<div class="ui selection inverted dropdown" data-path="WarriorLevel">
<div class="text"></div>
<i class="dropdown icon"></i>
</div>
</div>
</div>
</div>
<div class="ui grey inverted segment !p-2 !m-0">
<div class="field">
<label data-intl="stats.player.fortress.building12"></label>
<div class="ui selection inverted dropdown" data-path="FortificationsLevel">
<div class="text"></div>
<i class="dropdown icon"></i>
</div>
</div>
<div class="field"></div>
<div class="two fields">
<div class="field">
<label data-intl="fortress.archer_count"></label>
<div class="ui inverted centered input">
<input data-path="ArcherCount" placeholder="0 - 30">
</div>
</div>
<div class="field">
<label data-intl="fortress.archer_level"></label>
<div class="ui selection inverted dropdown" data-path="ArcherLevel">
<div class="text"></div>
<i class="dropdown icon"></i>
</div>
</div>
</div>
<div class="two fields !mb-0">
<div class="field">
<label data-intl="fortress.mage_count"></label>
<div class="ui inverted centered input">
<input data-path="MageCount" placeholder="0 - 15">
</div>
</div>
<div class="field">
<label data-intl="fortress.mage_level"></label>
<div class="ui selection inverted dropdown" data-path="MageLevel">
<div class="text"></div>
<i class="dropdown icon"></i>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="column">
<div class="ui grid">
<div class="row">
<div class="four wide column">
<div class="ui small icon fluid two basic inverted buttons">
<button class="ui button" data-position="bottom center" data-intl-tooltip="simulator.add" data-inverted="" id="add"><i class="add icon"></i></button>
<button class="ui button" data-position="bottom center" data-intl-tooltip="simulator.save" data-inverted="" id="save"><i class="save icon"></i></button>
</div>
</div>
<div class="seven wide column">
<div class="ui small inverted form">
<div class="two fields" style="margin-bottom: 0;">
<div class="field" data-position="bottom center" data-intl-tooltip="simulator.threads" data-inverted="">
<div class="ui inverted centered input">
<input type="text" id="sim-threads" value="4">
</div>
</div>
<div class="field" data-position="bottom center" data-intl-tooltip="simulator.iterations" data-inverted="">
<span style="position: absolute; top: 0.5em; left: -0.25em;">x</span>
<div class="ui inverted centered input">
<input type="text" id="sim-iterations" value="2500">
</div>
</div>
</div>
</div>
</div>
<div class="five wide column">
<button class="ui fluid basic inverted button" type="submit" id="simulate" data-intl="simulator.simulate"></button>
</div>
</div>
<div class="plain row">
<div class="three wide column" data-intl="fortress.warrior_count"></div>
<div class="three wide column" data-intl="stats.player.fortress.building12"></div>
<div class="three wide column" data-intl="fortress.archer_count"></div>
<div class="three wide column" data-intl="fortress.mage_count"></div>
<div class="three wide column" data-intl="simulator.win_chance"></div>
<div class="one wide column"></div>
</div>
<div class="row !p-0">
<div class="sixteen wide column">
<hr/>
</div>
</div>
<div class="row">
<div class="sixteen wide column">
<div class="ui middle aligned grid" id="list"></div>
</div>
<div>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="footer-item"></div>
<div class="footer-item">
<a class="pointer-events-all !text-orange cursor-pointer" href="https://home.sfgame.net" target="_blank">
<i class="shopping basket icon"></i>
<span data-intl="index.footer.webshop#"></span>
</a>
<br>
<i class="copyright outline icon"></i>2019 - 2023 | mar21 | <i class="discord icon"></i> mar21 | <i class="mail icon"></i> [email protected]
</div>
</div>
</body>
</html>