You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the following:
- Make one place where the form is for choosing options
- Redo said form for a slightly cleaner look
- Make certain fields in the star system table appear only if there's
more than one star in the system, so we have less unnecessary N/A
values
Copy file name to clipboardExpand all lines: web-gui/static/index.html
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,18 @@ <h3>Welcome!</h3>
12
12
<p>The majority of the information is not game-specific, however, and is useful to anyone.</p>
13
13
</div>
14
14
<formid="generation" action="starsystem">
15
-
<h3>Options</h3>
15
+
<h3>Customization Options</h3>
16
16
<p>
17
-
You can select some options about the star system, or leave it completely random.
17
+
You can select some options about the star system, or leave it completely random.<br/>
18
18
The rules often generate hostile systems, as garden-type worlds are fairly rare. If you need to generate a system with such a world, it is preferable to force it.
19
-
Note that even a garden-type world may be very cold or hot, as long as it falls in a range that humans can live in!
19
+
Note that even a garden-type world may be very cold or hot, as long as it falls in a range that humans can live in! <br/>
20
+
If you want your star system to be located in an open cluster (which makes for close neighboring systems to explore) check the box. <br/>
21
+
You can also choose to force a specific number of stars, values 1-3 are possible (other values are ignored).
20
22
</p>
21
-
Force star system with garden world? <inputid="garden" type="checkbox" name="must_have_garden" value="True" /><br/>
22
-
Should the star system be in an open cluster? <inputid="open_cluster" type="checkbox" name="open_cluster" value="True" /><br/>
23
-
Do you want to force a specific number of stars? 1-3 are possible, other values are treated as random. <inputid="num_stars" type="number" name="num_stars" /><br/>
23
+
<hr/>
24
+
<inputid="garden" type="checkbox" name="must_have_garden" value="True" /> Force garden world <br/>
25
+
<inputid="open_cluster" type="checkbox" name="open_cluster" value="True" /> Location: Open cluster <br/>
26
+
<inputid="num_stars" type="number" name="num_stars" /> Number of stars in the system <br/>
24
27
<inputid="generate" type="submit" value="Generate star system"/>
{% if star.get_letter() == 'A' and starsystem.stars|count > 1 %}
63
+
<td>-</td>
64
+
{% elif star.get_letter() != 'A' %}
59
65
<td>{{star.get_forbidden_zone()[0]|round(2)}} AU - {{star.get_forbidden_zone()[1]|round(2)}} AU</td>
60
-
{% else %}
61
-
<td>N/A</td>
62
66
{% endif %}
63
67
{% if star.planetsystem.get_orbitcontents()|count > 0 %}
64
68
<td>
@@ -77,16 +81,8 @@ <h2>Star system properties</h2>
77
81
</div>
78
82
<br/>
79
83
<br/>
80
-
<divid="form-container">
81
-
<divid="question-text">
82
-
Do you want to generate a new star system?<br/>
83
-
</div>
84
-
<formid="generation" action="starsystem">
85
-
<inputid="garden" type="checkbox" name="must_have_garden" value="True" /> Force star system with garden world? <br/>
86
-
<inputid="open_cluster" type="checkbox" name="open_cluster" value="True" /> Should the star system be an open cluster? <br/>
87
-
<inputid="num_stars" type="number" name="num_stars" /> Do you want to force a specific number of stars? 1-3 possible <br/>
88
-
<inputid="generate" type="submit" value="Generate star system"/>
89
-
</form>
84
+
<divid="go-again">
85
+
<p>If you want to generate a new star system with the same constraints, just refresh the page. If you want to change the constraints, go back to the <ahref="index.html">generator</a> page.</p>
0 commit comments