diff --git a/assets/style.css b/assets/style.css index f692d09..1d5424f 100644 --- a/assets/style.css +++ b/assets/style.css @@ -44,6 +44,20 @@ h1 { clear: both; } +.bon { + width: 50px; +} + +.label { + display: inline-block; + width: 160px; + padding: auto; +} + +select { + width: 100px; +} + /* Don't show anything but warning, if too small */ /* handheld doesn't work, don't know why…*/ @media handheld { diff --git a/index.html b/index.html index 10f33d8..cfa027a 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@
";
- outstr += "Angriffstyp?
";
+ outstr += "Angriffstyp:";
outstr += "
";
- outstr += "Abwehrbar? ";
+ outstr += "Abwehrbar:";
outstr += "
";
outstr += "Boni?
";
- outstr += "Waffenbonus Nahkampf:
";
- outstr += "Waffenbonus Fernkampf:
";
- outstr += "Panzerungsbonus:
";
- outstr += "Zauberbonus:
";
+ outstr += "Waffenbonus Nahkampf:
";
+ outstr += "Waffenbonus Fernkampf:
";
+ outstr += "Panzerungsbonus:
";
+ outstr += "Zauberbonus:
";
$('#uibon').html(outstr);
$('.bon').bind("change", function() {
@@ -344,12 +369,7 @@
printoutput: function() {
outstr = "
";
outstr += this.info.cname + " (gespielt von "+this.info.pname +")
";
- outstr += "Greift derzeit durch " + this.att + " mit einer Stärke von "
- + this.battle[this.att] + " an.
";
- outstr += "Ist "+this.calc_dist()+"m von der alten Position entfernt (max ??)
";
- outstr += "Verteidigungsstärke: " + this.battle.defense + "
";
- outstr += "Kraftpunkte: " + this.life;
- outstr += "
";
outstr += "Ein "+ this.info.race + "
";
- outstr += "Greift derzeit durch " + this.att + " mit einer Stärke von "
- + this.battle[this.att] + " an.
";
- outstr += "Ist "+this.calc_dist()+"m von der alten Position entfernt (max ??)
";
- outstr += "Verteidigungsstärke: " + this.battle.defense + "
";
- outstr += "Kraftpunkte: " + this.life;
- outstr += "