This commit is contained in:
gnieark 2016-06-29 23:19:36 +02:00
parent a429064dd2
commit 7aa9a6fa50

View File

@ -14,6 +14,9 @@ function createElemNS(type,attributes){
function show_bot_panel(number){ function show_bot_panel(number){
//configurePlayers //configurePlayers
var fieldset = createElem('fieldset',{'class':'botFormulaire'}); var fieldset = createElem('fieldset',{'class':'botFormulaire'});
var legend = createElem('legend',{});
legend.innerHTML = 'bot ' + number;
fieldset.appendChild(legend);
var p=createElem('p'); var p=createElem('p');
var select = createElem('select',{'id':'selectBot' + number, 'onchange':'changeSelect(this.value);'}); var select = createElem('select',{'id':'selectBot' + number, 'onchange':'changeSelect(this.value);'});
for (var i = 0; i < botsAvailable.length; i++){ for (var i = 0; i < botsAvailable.length; i++){