"CRUD list"
Bootstrap 3.3.0 Snippet by eduluzcp

<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="container "> <div class="row"> <h2>Customers</h2> <div class="pull-right"> <div class="btn btn-default btn-info btn-md"><i class="glyphicon glyphicon-refresh"></i> Refresh</div> <div class="btn btn-default btn-success btn-md" data-toggle="modal" data-target="#panel-customer" ><i class="glyphicon glyphicon-plus"></i> New</div> </div> </div> <div class="row"> <table class="table table-bordered table-striped"> <thead > <tr class="bg-info "> <th></th> <th>Name</th> <th>Email</th> <th>Description</th> </tr> </thead> <tbody id="list-itens"> <tr> <td style="width:140px; text-align: center"> <div class="btn btn-sm btn-default"><i class="icon-trash glyphicon glyphicon-eye-open text-primary"></i></div> <div class="btn btn-sm btn-default" ><i class="icon-trash glyphicon glyphicon-edit text-primary"></i></div> <div class="btn btn-sm btn-default"><i class="icon-trash glyphicon glyphicon-trash text-danger"></i></div> </td> <td>Eduardo</td> <td>eluz@xxx</td> <td>Here is putted the main comments...</td> </tr> <tr> <td style="width:140px; text-align: center"> <div class="btn btn-sm btn-default"><i class="icon-trash glyphicon glyphicon-eye-open text-primary"></i></div> <div class="btn btn-sm btn-default" ><i class="icon-trash glyphicon glyphicon-edit text-primary"></i></div> <div class="btn btn-sm btn-default"><i class="icon-trash glyphicon glyphicon-trash text-danger"></i></div> </td> <td>Eduardo</td> <td>eluz@xxx</td> <td>Here is putted the main comments...</td> </tr> <tr> <td style="width:140px; text-align: center"> <div class="btn btn-sm btn-default"><i class="icon-trash glyphicon glyphicon-eye-open text-primary"></i></div> <div class="btn btn-sm btn-default" ><i class="icon-trash glyphicon glyphicon-edit text-primary"></i></div> <div class="btn btn-sm btn-default"><i class="icon-trash glyphicon glyphicon-trash text-danger"></i></div> </td> <td>Eduardo</td> <td>eluz@xxx</td> <td>Here is putted the main comments...</td> </tr> </tbody> </table> </div> <div class="row"> <h3>Customer #<span id="txt-customer-id"></span></h3> <div class="col-sm-12 col-md-12 col-lg-12"> </div> </div> <div id="panel-customer" class="modal fade" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h4 class="modal-title" id="hdr-form-customer">New customer</h4> </div> <div class="modal-body"> <form class="form-group"> <label>Full Name</label> <input type="text" name="name" id="frm-customer-name" class="form-control"> <label>Email Address</label> <input type="email" name="email" id="frm-customer-email" class="form-control"> <label>Description</label> <textarea class="form-control" name="description" id="frm-customer-description"></textarea> <div class="clearfix"></div> </form> </div> <div class="modal-footer"> <button type="button" class="btn btn-link pull-left" data-dismiss="modal">Cancel</button> <button type="button" class="btn btn-default btn-success" data-dismiss="modal">Save</button> </div> </div> </div> </div> </div>
html { font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 14px; } .table { border: none; } .table-definition thead th:first-child { pointer-events: none; background: white; border: none; } .table td { vertical-align: middle; }

Related: See More


Questions / Comments: