Skip to content
Snippets Groups Projects
Commit 4b55ec67 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Fix DataTables rendering with bootstrap 4

cellspacing="0" : to avoid double lines in the header
width="100%" : to have extra fields (search, paging...) aligned properly with
the table
parent d11cd042
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<hr class="separator"> <hr class="separator">
<table id="attributes_table" class="table table-bordered table-hover table-sm"> <table id="attributes_table" class="table table-bordered table-hover table-sm" cellspacing="0" width="100%">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<br> <br>
<table id="items_table" class="table table-bordered table-hover table-sm"> <table id="items_table" class="table table-bordered table-hover table-sm" cellspacing="0" width="100%">
<thead> <thead>
<tr> <tr>
<th>Id</th> <th>Id</th>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<br> <br>
<table id="hosts_table" class="table table-bordered table-hover table-sm"> <table id="hosts_table" class="table table-bordered table-hover table-sm" cellspacing="0" width="100%">
<thead> <thead>
<tr> <tr>
<th>Hostname</th> <th>Hostname</th>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<br> <br>
<table id="networks_table" class="table table-bordered table-hover table-sm"> <table id="networks_table" class="table table-bordered table-hover table-sm" cellspacing="0" width="100%">
<thead> <thead>
<tr> <tr>
<th>Network scope</th> <th>Network scope</th>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment