IDEMPIERE-5412 - Improve Dashboard Theme Look (#1471)

* IDEMPIERE-5412 - Improve Dashboard Theme Look

* IDEMPIERE-5412 - added message: NoDataAvailable

* IDEMPIERE-5412 - update default theme version
This commit is contained in:
Peter Takács 2022-09-09 08:55:54 +02:00 committed by GitHub
parent 27d01814e7
commit 005a1847e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 46 additions and 8 deletions

View File

@ -0,0 +1,18 @@
-- IDEMPIERE-5412
SELECT register_migration_script('202209080926_IDEMPIERE-5412.sql') FROM dual;
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Sep 8, 2022, 9:26:00 AM CEST
UPDATE PA_DocumentStatus SET Name_PrintFont_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_TIMESTAMP('2022-09-08 09:26:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200001
;
-- Sep 8, 2022, 9:26:06 AM CEST
UPDATE PA_DocumentStatus SET Name_PrintFont_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_TIMESTAMP('2022-09-08 09:26:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200000
;
-- Sep 8, 2022, 4:19:56 PM CEST
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','No Data Available',0,0,'Y',TO_TIMESTAMP('2022-09-08 16:19:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-09-08 16:19:56','YYYY-MM-DD HH24:MI:SS'),100,200781,'NoDataAvailable','D','fe21c31e-2932-461c-a4bf-02eba321f509')
;

View File

@ -0,0 +1,15 @@
-- IDEMPIERE-5412
SELECT register_migration_script('202209080926_IDEMPIERE-5412.sql') FROM dual;
-- Sep 8, 2022, 9:26:00 AM CEST
UPDATE PA_DocumentStatus SET Name_PrintFont_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_TIMESTAMP('2022-09-08 09:26:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200001
;
-- Sep 8, 2022, 9:26:06 AM CEST
UPDATE PA_DocumentStatus SET Name_PrintFont_ID=NULL, Number_PrintFont_ID=NULL,Updated=TO_TIMESTAMP('2022-09-08 09:26:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE PA_DocumentStatus_ID=200000
;
-- Sep 8, 2022, 4:19:56 PM CEST
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','No Data Available',0,0,'Y',TO_TIMESTAMP('2022-09-08 16:19:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-09-08 16:19:56','YYYY-MM-DD HH24:MI:SS'),100,200781,'NoDataAvailable','D','fe21c31e-2932-461c-a4bf-02eba321f509')
;

View File

@ -57,6 +57,6 @@ Copyright (C) 2007 Ashley G Ramdass (ADempiere WebUI).
<!-- this js module doesn't actually exists and it is here for default theme version -->
<!-- since loading of js module is on demand, it doesn't cause any error as long as you don't try to load it -->
<javascript-module name="idempiere.theme.default" version="202209070800" />
<javascript-module name="idempiere.theme.default" version="202209080800" />
</language>

View File

@ -92,6 +92,7 @@ public class WDocumentStatusPanel extends Panel {
grid.setWidth("100%");
grid.makeNoStrip();
grid.setOddRowSclass("even");
grid.setStyle("border: none;");
Rows rows = new Rows();
grid.appendChild(rows);

View File

@ -14,7 +14,7 @@
position: absolute;
top: 1;
z-index: 1;
width: calc(100% - 8px);
width: calc(100% - 10px);
}
.dashboard-widget > .z-panel-body {
@ -32,9 +32,8 @@
}
.z-panel {
border-radius: 5px;
border: 1px solid #d8d8d8;
border-bottom-width: 1px;
border-radius: 3px;
box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
.z-panel-noborder {
@ -334,6 +333,6 @@
white-space: normal;
}
.dashboard-row {
padding-bottom: 5px;
}
.desktop-home-tabpanel .z-hlayout-inner {
padding: 5px !important;
}

View File

@ -216,3 +216,8 @@
.z-calendars-month-header .z-calendars-day-of-week {
color: #000000 !important;
}
/*notes: without this fix calendar increases repeatedly height when switching between home and window tab in dashboard row orientation*/
.z-calendars-month-cnt {
height: 300px !important;
}