Spotting and pipes.

This commit is contained in:
marcins78@gmail.com
2011-09-18 21:47:37 +00:00
parent 46ffc2414d
commit ff80f68cb2
3 changed files with 12 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ import java.util.Set;
@Path("/")
public class ServerResource {
private static final Logger _logger = Logger.getLogger(ServerResource.class);
private boolean _test = false;
private boolean _test = true;
private HallServer _hallServer;
private LotroServer _lotroServer;

View File

@@ -32,6 +32,11 @@
color: #ffffff;
}
.ui-button-text-only .ui-button-text {
font-size: 70%;
padding: .1em .1em;
}
</style>
<link rel="stylesheet" type="text/css" href="css/dark-hive/jquery-ui-1.8.16.custom.css">
<link rel="stylesheet" type="text/css" href="js/jquery/styles/jquery.spinnercontrol.css">

View File

@@ -769,6 +769,7 @@ var GempLotrGameUI = Class.extend({
integerDecision: function(decision) {
var id = decision.getAttribute("id");
var text = decision.getAttribute("text");
var val = 0;
var min = this.getDecisionParameter(decision, "min");
if (min == null)
@@ -777,6 +778,10 @@ var GempLotrGameUI = Class.extend({
if (max == null)
max = 1000;
var defaultValue = this.getDecisionParameter(decision, "defaultValue");
if (defaultValue != null)
val = parseInt(defaultValue);
var that = this;
this.smallDialog
.html(text + "<br /><input id='integerDecision' type='text' value='0'>")
@@ -796,6 +801,7 @@ var GempLotrGameUI = Class.extend({
interval: 1,
decimalplaces: 0
},
defaultVal: val,
width: '50px',
backColor: "#000000"
});