...
|
...
|
@@ -52,7 +52,7 @@ function getProjects() { |
|
|
var name = obj[i].name;
|
|
|
if ("1" == order) {
|
|
|
order1HTML += "<div class='rdio rdio-primary' style='display: inline'>";
|
|
|
order1HTML += " <input name='project' type='radio' id='" + name + "' value='" + name + "' onclick='changeProject()' checked='checked'/>";
|
|
|
order1HTML += " <input name='project' type='radio' id='" + name + "' value='" + name + "' onclick='changeProject()'/>";
|
|
|
order1HTML += "<label for='" + name + "' style='width: 200px'>" + name + "</label></div>";
|
|
|
if (order1num % 4 == 0) {
|
|
|
order1HTML += "</br>";
|
...
|
...
|
@@ -70,7 +70,6 @@ function getProjects() { |
|
|
|
|
|
}
|
|
|
document.getElementById("project-div").innerHTML = order1HTML + "<hr>" + order2HTML + "<hr>";
|
|
|
changeProject();
|
|
|
}
|
|
|
},
|
|
|
error: function (e) {
|
...
|
...
|
@@ -197,7 +196,7 @@ function changeProject(){ |
|
|
changeservers();
|
|
|
},
|
|
|
error: function (e) {
|
|
|
alert("获取项目失败环境失败");
|
|
|
alert("获取项目环境失败");
|
|
|
}
|
|
|
});
|
|
|
}
|
...
|
...
|
|