Spotting and pipes.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user