My approach to presenting tabular data is to use a table.
The grid that Bootstrap uses is suitable for the structure of a web-site so that it responds to the various devices and resolutions without great headache for the programmer.
As regards the submission of information, you should use Markup that corresponds to the type of information to be presented. We have to keep in mind the applications that collect data based on Markup in use to assist users.
Final Result
Demonstration at Jsfiddle
You can reduce and increase the width of the window preview Jsfiddle to view the information to be adapted to the existing space.
HTML
For HTML, I tried to use at least Markup possible but at the same time ensure that in the various devices we will have a homogeneous behavior.
My solution is we have a container (.container
) with a line (.row
) and a column occupying the entire width of the container (.col-md-12
) in order to have a grid that adapts and responds to screen resolution changes.
Inside the column we then have a header and a table with the data to present:
<div class="container">
<div class="row">
<div class="col-md-12">
<h5 class="app-header text-center">
<strong>Núcleo Regional da Diretoria de Araguaína</strong>
<br />
(mock, mock, mock, mock, mock, mock, mock)
</h5>
<table class="app-table-info">
<thead>
<tr>
<th colspan="3" class="text-center">
Plantão
</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="2">
Defensor Público:
<br/>
<strong>Fabricio Silva Brito</strong>
<br/>
Servidor:
</td>
<td>
Período
</td>
<td>
Telefone
</td>
</tr>
<tr>
<td>
Início 07/03 as 18h00
<br/>
Término 07/03 as 18h00
</td>
<td>
(92) 3232-3232
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
CSS
For CSS I created classes with the prefix app-
so that they are perfectly distinct from any other class that Bootstrap uses. This way you know when your style is being applied or subscribed by framework:
/* Cabeçalho Verde */
.app-header{
background: #178F8D;
color: #fff;
line-height:1.4em;
padding:5px 0;
margin-bottom:20px;
}
/* Tabela com Informações */
.app-table-info{
background: #E6E7E9;
color: #3A3A3A;
width:100%;
}
.app-table-info th,
.app-table-info td{
padding:10px;
border-bottom:6px solid #fff;
}
.app-table-info th{
background: #BEBFC1;
color: #178F8D;
}
.app-table-info td{
height:60px;
}
.app-table-info tr:first-child td:first-child{
vertical-align:top;
border-right:6px solid #fff;
}
.app-table-info td:last-child{
border-left:6px solid #fff;
}
In his example he looks like this http://fiddle.jshell.net/ywJ7k/1/show/ ?
– Samir Braga
Exactly @Samirbraga !
– Luiz Carvalho