Commit d9206346 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_officejs_eci_directory: update

parent c6380b01
...@@ -236,9 +236,8 @@ body .dygraph-legend>span { ...@@ -236,9 +236,8 @@ body .dygraph-legend>span {
padding-bottom: .25em; padding-bottom: .25em;
display: inline-block; display: inline-block;
} }
.display-widget-in-listbox a.category, .display-widget-in-listbox a.category,
.display-widget a.category { .display-widget .widget-header a.category {
border: 1px solid #a1a1a1; border: 1px solid #a1a1a1;
color: #625454; color: #625454;
padding: .5em; padding: .5em;
...@@ -593,7 +592,6 @@ body .dygraph-legend>span { ...@@ -593,7 +592,6 @@ body .dygraph-legend>span {
text-decoration: underline; text-decoration: underline;
color: #167297; color: #167297;
} }
.custom-software-profile .widget-header h1:not(:first-child):first-of-type:before { .custom-software-profile .widget-header h1:not(:first-child):first-of-type:before {
content: "/"; content: "/";
padding: 0 .25em; padding: 0 .25em;
...@@ -606,8 +604,11 @@ body .dygraph-legend>span { ...@@ -606,8 +604,11 @@ body .dygraph-legend>span {
vertical-align: middle; vertical-align: middle;
} }
@media (max-width: 40em) { @media (max-width: 45em) {
.custom-software-profile .widget-header a {
display: inline-block;
vertical-align: middle;
}
.custom-software-profile li:nth-child(n), .custom-software-profile li:nth-child(n),
.custom-software-profile .custom-success-story-category-list li:nth-child(n) { .custom-software-profile .custom-success-story-category-list li:nth-child(n) {
display: block; display: block;
...@@ -621,13 +622,14 @@ body .dygraph-legend>span { ...@@ -621,13 +622,14 @@ body .dygraph-legend>span {
height: 12em; height: 12em;
text-align: center; text-align: center;
} }
.reference_breadcrumb a:not(:last-of-type):after,
.custom-software-profile .widget-header span:first-of-type:after { .custom-software-profile .widget-header span:first-of-type:after {
content: "/"; content: "/";
padding: 0 .25em; padding: 0 .25em;
color: #000000;
text-decoration: unset !important;
} }
.custom-software-profile-image-wrapper a { .custom-software-profile-image-wrapper a {
/* line-height: 12em; */
height: auto; height: auto;
display: block; display: block;
} }
...@@ -695,7 +697,17 @@ ul.grid-elements.custom-software-profile li p:not(:first-of-type):last-of-type > ...@@ -695,7 +697,17 @@ ul.grid-elements.custom-software-profile li p:not(:first-of-type):last-of-type >
padding-right: .5em; padding-right: .5em;
} }
@media (max-width: 40em) { @media (max-width: 45em) {
ul.grid-elements.custom-software-profile li p {
width: 100%;
}
ul.grid-elements.custom-software-profile li p span {
display: inline-block;
}
ul.grid-elements.custom-software-profile li p span:first-of-type {
font-weight: bold;
width: 25%;
}
.custom-success-story-list>li { .custom-success-story-list>li {
display: block; display: block;
max-width: none; max-width: none;
...@@ -1129,10 +1141,11 @@ div[data-gadget-scope='panel'] { ...@@ -1129,10 +1141,11 @@ div[data-gadget-scope='panel'] {
} }
.display-widget-in-listbox .widget-header a.category { .display-widget-in-listbox .widget-header a.category {
margin: .75em 0.2em 0.75em 0em; margin: 0;
padding-top: 5pt;
} }
ul.grid-elements.custom-software-profile li p { ul.grid-elements.custom-software-profile li p:first-of-type {
white-space: break-spaces; white-space: break-spaces;
} }
.custom-software-profile li:nth-child(1) { .custom-software-profile li:nth-child(1) {
...@@ -1202,12 +1215,6 @@ div[data-gadget-scope='m'] h2 { ...@@ -1202,12 +1215,6 @@ div[data-gadget-scope='m'] h2 {
.custom-software-profile li:last-of-type br + div span:not(:first-of-type):not(:last-of-type):after { .custom-software-profile li:last-of-type br + div span:not(:first-of-type):not(:last-of-type):after {
content: ","; content: ",";
} }
.custom-software-profile li:last-of-type div:last-of-type a:first-of-type:after {
padding-left: .5em;
content: "/";
text-decoration: none;
color: #000
}
.ui-content-section ul li a+span { .ui-content-section ul li a+span {
color: #c3c3c3 color: #c3c3c3
} }
...@@ -1327,6 +1334,8 @@ section.ui-grid-container.ui-responsive.provider-content { ...@@ -1327,6 +1334,8 @@ section.ui-grid-container.ui-responsive.provider-content {
text-decoration: underline; text-decoration: underline;
} }
.custom-software-profile .widget-header h1 ~ a:before,
.provider-header .provider-header a:not(.provider-url):last-of-type:before { .provider-header .provider-header a:not(.provider-url):last-of-type:before {
font-family: 'FontAwesome'; font-family: 'FontAwesome';
content: " \f08e"; content: " \f08e";
...@@ -1511,10 +1520,10 @@ ul.grid-elements .custom-software-profile-image-wrapper { ...@@ -1511,10 +1520,10 @@ ul.grid-elements .custom-software-profile-image-wrapper {
align-items: center; align-items: center;
} }
.success_case_content .image { .success_case_content .image {
width: 12em; width: 15%;
height: 12em; height: 13em;
float: left; float: left;
margin-right: 3em; /* margin-right: 3em; */
} }
ul.grid-elements.custom-software-profile h2, ul.grid-elements.custom-software-profile h2,
...@@ -1702,7 +1711,6 @@ ul.grid-elements.custom-software-profile br + div span:not(:first-child):not(:la ...@@ -1702,7 +1711,6 @@ ul.grid-elements.custom-software-profile br + div span:not(:first-child):not(:la
.custom-software-container { .custom-software-container {
padding-bottom: 2em; padding-bottom: 2em;
} }
@media not screen and (min-width: 45em) { @media not screen and (min-width: 45em) {
.success_case_content .image { .success_case_content .image {
float: none; float: none;
...@@ -1839,11 +1847,12 @@ content: none !important; ...@@ -1839,11 +1847,12 @@ content: none !important;
color: #71c2e2; color: #71c2e2;
} }
.display-widget-in-listbox .reference_content .single_reference img ~ a:last-of-type { .display-widget-in-listbox .reference_content .single_reference img ~ a:last-of-type {
border: 1px solid #a1a1a1; border: 1px solid #a1a1a1;
color: #625454; color: #625454;
padding: 5px; padding: 5px;
margin: 1.5em 0.2em 0.75em 0em; margin: 0.2em 0 0.75em 0;
text-decoration: none; text-decoration: none;
display: inline-block;
} }
.display-widget-in-listbox .reference_content .single_reference img ~ a:last-of-type:hover { .display-widget-in-listbox .reference_content .single_reference img ~ a:last-of-type:hover {
background-color: rgba(250,250,250,.5); background-color: rgba(250,250,250,.5);
...@@ -1858,9 +1867,12 @@ content: ","; ...@@ -1858,9 +1867,12 @@ content: ",";
} }
@media not screen and (min-width: 45em) { @media not screen and (min-width: 45em) {
.document_table table tbody tr td .reference_breadcrumb a { .display-widget-in-listbox .reference_content .single_reference img ~ a:last-of-type {
display: inline-block; display: block;
} }
.document_table table tbody tr td .reference_breadcrumb a {
display: inline-block;
}
.document_table table tbody tr td .reference_breadcrumb span { .document_table table tbody tr td .reference_breadcrumb span {
display: inline-block; display: inline-block;
width: 1em; width: 1em;
...@@ -1920,11 +1932,11 @@ vertical-align: middle; ...@@ -1920,11 +1932,11 @@ vertical-align: middle;
content: none !important; content: none !important;
} }
.document_table table tbody tr td .success_case_similar_solution * { .document_table table tbody tr td .success_case_similar_solution * {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.document_table table tbody tr td .success_case_similar_solution span:not(:first-of-type):not(:last-of-type):after { .document_table table tbody tr td .success_case_similar_solution span:not(:first-of-type):not(:last-of-type):after {
content: ","; content: ",";
} }
.document_table table tbody tr td .success_case_content { .document_table table tbody tr td .success_case_content {
border: 0 none; border: 0 none;
...@@ -1951,52 +1963,82 @@ text-decoration: underline; ...@@ -1951,52 +1963,82 @@ text-decoration: underline;
.document_table table tbody tr td .success_case_content .full_story a:hover { .document_table table tbody tr td .success_case_content .full_story a:hover {
color: #71c2e2; color: #71c2e2;
} }
.document_table table tbody tr td .success_case_content .customer_country span:first-of-type {
font-size: 1.5em;
font-weight: bold;
margin-right: 10px;
}
@media not screen and (min-width: 45em) { .document_table table tbody tr td .success_case_content .image ~ div:not(.description) {
.document_table table tbody tr td .success_case_breadcrumb a { padding-left: 3em;
display: inline-block; box-sizing:border-box;
width: 85%;
margin-right: 0;
margin-left: auto;
} }
.success_case_breadcrumb a:not(:last-child):after { .document_table table tbody tr td .success_case_content .customer_country:after {
content: "/"; content: "";
} background: none;
.document_table table tbody tr td .success_case_breadcrumb span { width: 100%;
display: inline-block; height: 1px;
width: 1em; display: block;
border-bottom: 1px solid #d1d1d1;
padding-top: .5em;
} }
.document_table table tbody tr td .success_case_content { .document_table table tbody tr td .success_case_content .customer_country span:first-of-type {
box-shadow: none; font-size: 1.5em;
font-weight: bold;
margin-right: 10px;
} }
.display-widget-in-listbox .success_case_content .image img { @media not screen and (min-width: 45em) {
max-width: 80%; .document_table table tbody tr td .success_case_similar_solution span {
margin: 0 auto; }
} .document_table table tbody tr td .success_case_content .image ~ div:not(.description) {
.document_table table tbody tr td .customer_country span:nth-child(2), padding-left: 0;
.document_table table tbody tr td .customer_country span:nth-child(3) { display: block;
display: inline-block; width: 100%;
vertical-align: middle; }
} .document_table table tbody tr td .success_case_breadcrumb a {
.document_table table tbody tr td .success_case_content .category, display: inline-block;
.document_table table tbody tr td .success_case_content .industry { }
margin-top: .25em .success_case_breadcrumb a:not(:last-child):after {
} content: "/";
.display-widget-in-listbox .success_case_content .description { }
text-align: justify; .document_table table tbody tr td .success_case_breadcrumb span {
line-height: 1.25em; display: inline-block;
} width: 1em;
.document_table table tbody tr td .success_case_content { }
border-bottom: 1px solid #d1d1d1; .document_table table tbody tr td .success_case_content {
margin-bottom: 1em; box-shadow: none;
padding-bottom: 2em }
}
.display-widget-in-listbox .success_case_content .image img {
max-width: 80%;
margin: 0 auto;
}
.document_table table tbody tr td .customer_country span:nth-child(2),
.document_table table tbody tr td .customer_country span:nth-child(3) {
display: inline-block;
vertical-align: middle;
}
.document_table table tbody tr td .success_case_content .category,
.document_table table tbody tr td .success_case_content .industry {
margin-top: .25em
}
.display-widget-in-listbox .success_case_content .description {
text-align: justify;
line-height: 1.25em;
}
.document_table table tbody tr td .success_case_content {
border-bottom: 1px solid #d1d1d1;
margin-bottom: 1em;
padding-bottom: 2em
}
} }
.document_table .display-financial-widget-in-listbox table tbody td { .document_table .display-financial-widget-in-listbox table tbody td {
border-right: unset; border-right: unset;
width: 10%; width: 10%;
} }
\ No newline at end of file
div[data-gadget-scope='header'] .ui-header > .ui-btn-right button.ui-icon-warning,
div[data-gadget-scope='header'] .ui-header > .ui-btn-right a.ui-icon-warning {
background-color: #167297;
color: #ffffff;
}
\ No newline at end of file
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1002.5088.44160.4266</string> </value> <value> <string>1002.5089.34467.50039</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659715291.48</float> <float>1659961026.08</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
query: query query: query
}) })
.push(function (result) { .push(function (result) {
container.querySelector('a[data-value="' + data + '"]').textContent = data + '(' + result.data.total_rows + ')'; container.querySelector('a[data-value="' + data + '"]').textContent = data + ' (' + result.data.total_rows + ')';
return RSVP.delay(10); return RSVP.delay(10);
}); });
} }
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1002.4736.61337.61371</string> </value> <value> <string>1002.4860.41093.56046</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659701557.56</float> <float>1659961127.66</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -103,7 +103,8 @@ ...@@ -103,7 +103,8 @@
'selection_domain_reference_country', 'selection_domain_reference_country',
'selection_domain_publisher', 'selection_domain_publisher',
'selection_domain_similar_solution', 'selection_domain_similar_solution',
'selection_domain_country' 'selection_domain_country',
'selection_domain_category'
], ],
query: 'portal_type:"solution"' query: 'portal_type:"solution"'
}); });
...@@ -119,7 +120,8 @@ ...@@ -119,7 +120,8 @@
country = getUniqueArray(result.data.rows, 'selection_domain_reference_country'), country = getUniqueArray(result.data.rows, 'selection_domain_reference_country'),
publisher = getUniqueArray(result.data.rows, 'selection_domain_publisher'), publisher = getUniqueArray(result.data.rows, 'selection_domain_publisher'),
similar_solution = getUniqueArray(result.data.rows, 'selection_domain_similar_solution'), similar_solution = getUniqueArray(result.data.rows, 'selection_domain_similar_solution'),
solution_country = getUniqueArray(result.data.rows, 'selection_domain_country'); solution_country = getUniqueArray(result.data.rows, 'selection_domain_country'),
category = getUniqueArray(result.data.rows, 'selection_domain_category');
gadget.domain_root_list = [ gadget.domain_root_list = [
...@@ -127,14 +129,16 @@ ...@@ -127,14 +129,16 @@
['reference_country', 'Country'], ['reference_country', 'Country'],
['publisher', 'Provider'], ['publisher', 'Provider'],
['similar_solution', 'Similar solution'], ['similar_solution', 'Similar solution'],
['country', 'Provider Country'] ['country', 'Provider Country'],
['category', 'Category']
]; ];
gadget.domain_dict = { gadget.domain_dict = {
reference_industry: industry.map(data => [data, data]), reference_industry: industry.map(data => [data, data]),
reference_country: country.map(data => [data, data]), reference_country: country.map(data => [data, data]),
publisher: publisher.map(data => [data, data]), publisher: publisher.map(data => [data, data]),
similar_solution: similar_solution.map(data => [data, data]), similar_solution: similar_solution.map(data => [data, data]),
country: solution_country.map(data => [data, data]) country: solution_country.map(data => [data, data]),
category: category.map(data => [data, data])
}; };
return RSVP.all([ return RSVP.all([
gadget.updateHeader({ gadget.updateHeader({
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1002.769.65092.40021</string> </value> <value> <string>1002.9193.61132.44270</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659715374.52</float> <float>1659961585.58</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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