Commit 4377e5e3 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_officejs_eci_directory: financial data

parent af211123
......@@ -949,7 +949,7 @@ div[data-gadget-scope='header'] .ui-header {
.financial_listbox tbody tr td:not(:first-child) {
margin-left: 5em;
}
/*
.financial_listbox tbody tr td:nth-child(2):before {
content: "Staff";
position: absolute;
......@@ -973,6 +973,7 @@ div[data-gadget-scope='header'] .ui-header {
position: absolute;
left: .5em;
}
*/
}
/* align header and background colors */
......@@ -2041,4 +2042,70 @@ div[data-gadget-scope='header'] .ui-header > .ui-btn-right button.ui-icon-warnin
div[data-gadget-scope='header'] .ui-header > .ui-btn-right a.ui-icon-warning {
background-color: #167297;
color: #ffffff;
}
.document_table .financial-table > tbody > tr {
border-bottom: 1px solid #d1d1d1;
}
@media not screen and (min-width: 45em) {
.document_table .financial-table > tbody > tr > td:first-of-type {
padding: 0.5em 0 0.5em 0;
text-align: center;
background: #f1f1f1;
margin: 0;
font-size: 12pt;
}
.document_table .financial-table > tbody > tr > td:not(:first-of-type) {
padding: 0;
margin: 0;
}
.display-financial-widget-in-listbox table {
width: 100%;
table-layout: fixed;
}
.display-financial-widget-in-listbox .ui-grid-container .ui-content-header-plain.ui-bar-c {
margin: 0;
padding: 0;
}
/*
.display-financial-widget-in-listbox table tbody tr td:first-of-type {
width: 100%;
background: red;
}
*/
.display-financial-widget-in-listbox table {
table-layout: fixed;
}
.display-financial-widget-in-listbox table tbody tr:first-child {
/* display: table-row; */
}
.display-financial-widget-in-listbox table tbody tr:first-child th,
.display-financial-widget-in-listbox table tbody tr td {
display: table-cell !important;
font-size: 9pt;
}
.display-financial-widget-in-listbox table tbody tr td,
.display-financial-widget-in-listbox table tbody tr th {
width: 10vw !important;
max-width: 10vw;
positon: relative;
}
.display-financial-widget-in-listbox table {
table-layout: fixed;
width: 100vw;
}
.display-financial-widget-in-listbox table tbody tr:not(:nth-child(2)) td:not(:first-of-type) {
white-space: nowrap;
overflow: hidden;
text-overflow:
ellipsis;
padding-right: 6px;
position: relative !important;
}
.display-financial-widget-in-listbox table tbody tr:not(:nth-child(2)) td:not(:first-of-type):after {
content: "k€";
background: #ffffff;
position: absolute;
left: 0;
margin-left: 17pt;
}
}
\ No newline at end of file
......@@ -238,7 +238,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1002.5089.34467.50039</string> </value>
<value> <string>1002.9185.6725.37341</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1659961026.08</float>
<float>1659970178.97</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -12,7 +12,7 @@
<script id="display-template" type="text/x-handlebars-template">
<section class="ui-grid-container ui-responsive">
<section class="ui-content-header-plain ui-bar-c">
<table>
<table class="financial-table">
<tr>
{{#if display_header}}
<th>Type/Year</th>
......
......@@ -238,7 +238,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1002.2046.52294.64358</string> </value>
<value> <string>1002.2051.58994.48162</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1659532831.12</float>
<float>1659963614.84</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment