"modal edit เอกสาร"
Bootstrap 3.3.0 Snippet by golfreshy

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="center"><button data-toggle="modal" data-target="#squarespaceModal" class="btn btn-primary center-block">Click Me</button></div> <!-- line modal --> <div class="modal fade" id="squarespaceModal" tabindex="-1" role="dialog" aria-labelledby="modalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <h3 class="modal-title" id="lineModalLabel">จัดการเอกสาร</h3> </div> <div class="modal-body"> <!-- content goes here --> <form> <div class="form-group"> <label for="exampleInputEmail1">เลือกเอกสาร</label> <div class="panel panel-default" style="height:150px;overflow:auto;"> <div style="height:450px;"></div> </div> </div> <div class="form-group"> <label for="exampleInputPassword1">แฟ้ม</label> <select class="form-control" id="exampleFormControlSelect1"> <option>-- เลือกแฟ้ม --</option> <option>AAAA</option> <option>BBBB</option> <option>CCC</option> <option>DDDDDD</option> </select> </div> <div class="checkbox"> <label> <input type="checkbox"> เอกสารความลับ </label> </div> </form> </div> <div class="modal-footer"> <div class="btn-group btn-group-justified" role="group" aria-label="group button"> <div class="btn-group" role="group"> <button type="button" class="btn btn-default" data-dismiss="modal" role="button">ยกเลิก</button> </div> <div class="btn-group btn-delete hidden" role="group"> <button type="button" id="delImage" class="btn btn-default btn-hover-red" data-dismiss="modal" role="button">Delete</button> </div> <div class="btn-group" role="group"> <button type="button" id="saveImage" class="btn btn-default btn-hover-green" data-action="save" role="button">บันทึก</button> </div> </div> </div> </div> </div> </div>
.center { margin-top:50px; } .modal-header { padding-bottom: 5px; } .modal-footer { padding: 0; } .modal-footer .btn-group button { height:40px; border-top-left-radius : 0; border-top-right-radius : 0; border: none; border-right: 1px solid #ddd; } .modal-footer .btn-group:last-child > button { border-right: 0; }

Related: See More


Questions / Comments: