diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-012/DeckPanel.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-012/DeckPanel.js
index 679614126..b50442db3 100644
--- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-012/DeckPanel.js
+++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-012/DeckPanel.js
@@ -1,10 +1,33 @@
var DeckPanel = Class.extend({
- deckDiv:null,
+ tabs:null,
+
+ ringBearerDiv:null,
+ ringDiv: null,
+ sitesDiv:null,
+ fpDiv:null,
+ shadowDiv:null,
init:function (deckDiv) {
- this.deckDiv = deckDiv;
- $(this.deckDiv).tabs();
-
+ var tabGroup = $("
");
+ tabGroup.append("Ring-bearer (0)");
+ tabGroup.append("Ring (0)");
+ tabGroup.append("Sites (0)");
+ tabGroup.append("Free People (0)");
+ tabGroup.append("Shadow (0)");
+ deckDiv.append(tabGroup);
+
+ this.ringBearerDiv = $("");
+ deckDiv.append(this.ringBearerDiv);
+ this.ringDiv = $("");
+ deckDiv.append(this.ringDiv);
+ this.sitesDiv = $("");
+ deckDiv.append(this.sitesDiv);
+ this.fpDiv = $("");
+ deckDiv.append(this.fpDiv);
+ this.shadowDiv = $("");
+ deckDiv.append(this.shadowDiv);
+
+ this.tabs = $(deckDiv).tabs();
},
clearDeck: function() {
@@ -12,6 +35,6 @@ var DeckPanel = Class.extend({
},
layoutUi: function(x, y, width, height) {
-
+ this.tabs.css({"left": x, "top": y, "width": width, "height": height});
}
});
\ No newline at end of file