...
|
...
|
@@ -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(" ");
|
|
|
|
|
|
//删除
|
|
|
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);
|
|
|
}
|
...
|
...
|
|