Authored by fanzelei

update

... ... @@ -48,7 +48,7 @@
<body>
<!-- 头部 -->
<div id="">
<div id="head">
<h5 style="color: #E0EEE0;font-style:oblique;font-weight:900;font-size:200%;margin-left: 45px;margin-top: 40px;">YOHO</h5>
</div>
... ...
... ... @@ -107,9 +107,9 @@
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
<button type="button" class="btn btn-danger" data-dismiss="modal">关闭
</button>
<button type="submit" class="btn btn-primary" id="addSubmit">提交</button>
<button type="submit" class="btn btn-success" id="addSubmit">提交</button>
</div>
</div>
<!-- /.modal-content -->
... ... @@ -174,9 +174,9 @@
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
<button type="button" class="btn btn-danger" data-dismiss="modal">关闭
</button>
<button type="submit" class="btn btn-primary" value="Validate" id="updateSubmit">提交</button>
<button type="submit" class="btn btn-success" value="Validate" id="updateSubmit">提交</button>
</div>
</div>
<!-- /.modal-content -->
... ... @@ -204,10 +204,10 @@
</div>
</div>
</div>
<button type="button" class="btn btn-default" style="margin-right: auto" data-dismiss="modal">取消
<button type="button" class="btn btn-danger" style="margin-right: auto" data-dismiss="modal">关闭
</button>
<button type="submit" class="btn btn-primary" style="margin-left: auto" id="deleteSubmit">确认</button>
<button type="submit" class="btn btn-success" style="margin-left: auto" id="deleteSubmit">提交</button>
</div>
</div>
<!-- /.modal-content -->
... ... @@ -247,7 +247,7 @@
var div = $("<div>");
//修改
var editBtn = $("<button data-target='#updateModal' data-toggle='modal'>").addClass("btn btn-primary btn-mini").html("修改").appendTo(div);
var editBtn = $("<button data-target='#updateModal' data-toggle='modal'>").addClass("btn btn-xs btn-success").html("修改").appendTo(div);
editBtn.click(function () {
updateMObject(rowData);
});
... ... @@ -257,7 +257,7 @@
div.append("&nbsp;");
//删除
var delBtn = $("<button data-target='#deleteModal' data-toggle='modal'>").addClass("btn btn-danger btn-mini").html("删除").appendTo(div);
var delBtn = $("<button data-target='#deleteModal' data-toggle='modal'>").addClass("btn btn-xs btn-danger").html("删除").appendTo(div);
delBtn.click(function () {
deleteMObject(rowData);
}
... ...