Files
crm.e5.pl/include/ECM/EcmJsTable/header.tpl

79 lines
1.8 KiB
Smarty
Raw Normal View History

2024-04-27 09:23:34 +02:00
<style>
{literal}
.EcmJsTablePositions thead th {
border: 1px solid rgb(48,192,255);
height: 0px;
font-family: Arial;
font-size: 10px;
color: black;
background-color: rgb(224,240,255);
text-align: center;
}
.EcmJsTablePositions tbody tr td {
border-color: rgb(199,199,199);
border-width: 1px;
border-right-style: dashed;
border-bottom-style: solid;
font-family: Arial;
font-size: 12px;
color: black;
vertical-align: top;
margin:0px; padding:0px;
background-color: white;
}
.EcmJsTablePositions {
background-color: white;
width: 100%;
border-collapse: separate;
table-layout:fixed;
border-color: white;
}
.EcmJsTablePositions tbody {
background-color: white;
border-color: white;
}
.EcmJsTableDIV {
width:100%;
border: 1px solid rgb(48,192,255);
background-color:white;
overflow:auto;
}
.EcmJsTablePositions .inputs {
background-color: white;
border: none;
width: 100%;
height: 16px;
font-family: Arial;
font-size: 12px;
}
.EcmJsTablePositions input {
font-family: Arial;
font-size: 12px;
}
.detail table, table.detail {
background-color: white;
}
{/literal}
</style>
<div id="itemsTableDIV" class="EcmJsTableDIV">
<table id="EcmJsItemsTable" class="EcmJsTablePositions" style="width: 100%">
<thead id="head">
{foreach from=$METADATA item=I key=L name="headers"}
{if !($TYPE == 'DetailView' AND $I->name =='options')}
{if !isset($I->showIn)}
<th style="width: {$I->width}%">{$I->label}</th> {* no options header in DetailView *}
{else}
{if $I->showIn == $TYPE}
<th style="width: {$I->width}%">{$I->label}</th>
{/if}
{/if}
{/if}
{/foreach}
</thead>
<tbody>
</tbody>
</table>
<div id="EcmSearchBox" name="EcmSearchBox" style="display : none; width: 100;"></div>
</div>