Wrap the roles page with container

This commit is contained in:
Dita Aji Pratama 2024-09-26 19:42:35 +07:00
parent 2982b1aded
commit cf10e4ec8e

View File

@ -1,42 +1,45 @@
<div class="row"> <div class="container mb-5">
<div class="col"> <div class="row">
<h1 class="h3">Roles</h1> <div class="col">
<input type="hidden" id="form-token" value="${token}"> <h1 class="h3">Roles</h1>
<div class="table-responsive"> <input type="hidden" id="form-token" value="${token}">
<table class="table table-sm table-bordered table-striped" id="table-roles" width="100%" cellspacing="0"> <div class="table-responsive">
<thead class="table-primary"> <table class="table table-sm table-bordered table-striped" id="table-roles" width="100%" cellspacing="0">
<tr> <thead class="table-primary">
<th>ID</th> <tr>
<th>Name</th> <th>ID</th>
<th>Users</th> <th>Name</th>
<th>Action</th> <th>Users</th>
</tr> <th>Action</th>
<tr> </tr>
<th> <tr>
<input class="form-control form-control-sm" placeholder="ID" id="form-add-id"> <th>
</th> <input class="form-control form-control-sm" placeholder="ID" id="form-add-id">
<th> </th>
<input class="form-control form-control-sm" placeholder="Name" id="form-add-name"> <th>
</th> <input class="form-control form-control-sm" placeholder="Name" id="form-add-name">
<th></th> </th>
<th> <th></th>
<button class="btn btn-primary btn-sm" type="button" onclick="submitAdd()"> <th>
<span class="fa fa-plus"></span> Add <button class="btn btn-primary btn-sm" type="button" onclick="submitAdd()">
</button> <span class="fa fa-plus"></span> Add
</th> </button>
</tr> </th>
</thead> </tr>
<tbody></tbody> </thead>
</table> <tbody></tbody>
</div> </table>
<!-- End table-responsive --> </div>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <!-- End table-responsive -->
<script src="https://cdn.datatables.net/1.13.5/js/jquery.dataTables.min.js"></script> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://cdn.datatables.net/1.13.5/js/dataTables.bootstrap5.min.js"></script> <script src="https://cdn.datatables.net/1.13.5/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.13.5/js/dataTables.bootstrap5.min.js"></script>
<script type="text/javascript" src="/js/carrack.js"></script> <script type="text/javascript" src="/js/carrack.js"></script>
<script type="text/javascript" src="/js/dashboard/roles.js"></script> <script type="text/javascript" src="/js/dashboard/roles.js"></script>
</div>
<!-- End col -->
</div> </div>
<!-- End col --> <!-- End row -->
</div> </div>
<!-- End row --> <!-- End container -->