forked from ThePixelbrain/tcresearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
185 lines (144 loc) · 6.67 KB
/
index.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
174
175
176
177
178
179
180
181
182
183
184
185
<!doctype html>
<html class=" full-height">
<head>
<meta charset="UTF-8">
<title>Thaumcraft 4 Research Helper</title>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript" src="js/buckets-minified.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<!-- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> -->
<script type="text/javascript" src="js/select2.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="css/select2.css">
<script type="text/javascript" src="js/translation_dictionary.js"></script>
<script type="text/javascript" src="js/version_dictionary.js"></script>
<script type="text/javascript" src="js/addon_dictionary.js"></script>
<link rel="stylesheet" href="css/tcresearch.css">
<link rel="stylesheet" href="css/LESS/style.css">
</head>
<body class="full-height">
<div class="container full-height" id="main">
<div class="row full-height">
<!-- Search container -->
<div class="col-lg-4 col-lg-offset-4 col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 col-xs-12 full-height" id="search-container">
<div class="row full-height">
<div class="tb full-height">
<div class="tbc vam full-height">
<div class="col-md-12 clearfix">
<div class="pull-right">
<div class="btn-group">
<button class="btn btn-default" id="show-config"><span class="fa fa-cog"></span></button>
<button class="btn btn-default" id="show-info"><span class="fa fa-question"></span></button>
</div>
<a href="#" class="btn btn-default" id="close_results"><i class="fa fa-trash-o"></i></a>
</div>
</div>
<div class="col-md-12">
<form>
<h2>Thaumcraft 4 Research Helper</h2>
<div class="form-group">
<label for="fromSel">From</label>
<input type="hidden" name="fromSel" autofocus="" id="fromSel" class="form-control">
</div>
<div class="form-group">
<label for="toSel">To</label>
<input type="hidden" name="toSel" id="toSel" class="form-control">
</div>
<div class="form-group">
<label for="steps">In, at least</label>
<div class="input-group">
<span class="input-group-btn">
<a class="btn btn-default" id="decrement"> <i class="fa fa-minus"></i> </a>
</span>
<input type="number" name="steps" id="steps" class="form-control" value="1">
<span class="input-group-btn">
<a class="btn btn-default" id="increment"> <i class="fa fa-plus"></i> </a>
</span>
</div>
</div>
<div class="form-group">
<input type="submit" class="btn btn-block btn-primary" id="find_connection" value="Go!">
</div>
</form>
</div>
</div>
</div>
</div>
</div> <!-- .search-container -->
<div class="col-lg-8 col-md-8 col-sm-6 col-xs-12 full-height" id="search-results-wrapper">
<div id="search-results"></div>
</div> <!-- .search-results -->
</div> <!-- .row -->
</div>
<div class="container" id="config">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-8 col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12">
<h2>Configuration</h2>
<div class="clearfix text-center">
<div class="btn-group">
<a href="#" class="btn btn-default" id="sel_all">Select All</a>
<a href="#" class="btn btn-default" id="desel_all">Deselect All</a>
</div>
<div class="btn-group" id="addons">
</div>
<div class="btn-group">
<select name="version" id="version" class="btn btn-primary"></select>
</div>
</div>
<p class="avail-label">Available Aspects</p>
<ul id="avail"></ul>
</div>
</div>
</div>
<div class="container" id="info">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-8 col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12">
<h2>Help</h2>
<p>This script helps you with your Thaumcraft 4.x research. If
you have a research note with two aspects that you don't know how
to connect, this is your tool.</p>
<ul>
<li>Select the <strong>aspect from which</strong> you have to <strong>start</strong>.</li>
<li>Select the <strong>aspect</strong> you have <strong>to get to</strong>.</li>
<li>Additionally, you can <strong>specify the minimum number of
steps</strong> needed, that is, the number of empty spaces between
the two aspects in your research note.</li>
<li><strong>Hit Go!</strong></li>
</ul>
<p>If you are unhappy with the path you got, because you do not
have access to those aspects yet or they are quite rare, simply
disable those aspects in the config section. Besides, clicking an
aspect in a search result will rerun the search again,
but with the aspect disabled (just momentarily). </p>
<div class="web-info">
<p class="license">This work is licensed under a <a target="_blank" href="http://creativecommons.org/licenses/by/4.0/"><span class="fa fa-copyright"></span> Creative Commons Attribution 4.0 License</a></p>
<p class="code">Original sources are hosted on <a target="_blank" href="https://github.com/ythri/tcresearch/tree/gh-pages"><span class="fa fa-github"></span> GitHub</a>. Original page can be found <a href="http://ythri.github.io/tcresearch/">here</a>.</p>
<p class="style">Styled by <a target="_blank" href="http://about.me/jesus.cuenca">Jesús Cuenca</a>. Fork hosted in <a target="_blank" href="https://github.com/JesusCuenca/tcresearch"><span class="fa fa-github"></span> GitHub</a>. Page can be found in its <a href="http://jesuscuenca.github.io/tcresearch/">GitHub page</a>.</p>
</div>
</div>
</div>
</div>
<div id="combination-box-wrapper">
<div id="combination-box">
<div id="left">
<img />
<div class="aspect-name"></div>
<div class="aspect-desc"></div>
</div>
<div id="right">
<img />
<div class="aspect-name"></div>
<div class="aspect-desc"></div>
</div>
<div id="equals">
<img />
<div class="aspect-name"></div>
<div class="aspect-desc"></div>
</div>
</div>
</div>
<script type="text/javascript" src="js/tcresearch.js"></script>
</body>
</html>