diff --git a/entity/CovidCasesData_entity/CovidCasesData_entity.aod b/entity/CovidCasesData_entity/CovidCasesData_entity.aod new file mode 100644 index 0000000000000000000000000000000000000000..dd76a30e26d1c5389a4466df97dad0954cccdd69 --- /dev/null +++ b/entity/CovidCasesData_entity/CovidCasesData_entity.aod @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.18" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.18"> + <name>CovidCasesData_entity</name> + <description></description> + <majorModelMode>DISTRIBUTED</majorModelMode> + <documentation>%aditoprj%/entity/CovidCasesData_entity/documentation.adoc</documentation> + <recordContainer>dataless</recordContainer> + <entityFields> + <entityProvider> + <name>#PROVIDER</name> + </entityProvider> + <entityProvider> + <name>#PROVIDER_AGGREGATES</name> + <useAggregates v="true" /> + </entityProvider> + <entityField> + <name>globalCasesTable</name> + <valueProcess>%aditoprj%/entity/CovidCasesData_entity/entityfields/globalcasestable/valueProcess.js</valueProcess> + </entityField> + <entityField> + <name>dailyCasesGraph</name> + <valueProcess>%aditoprj%/entity/CovidCasesData_entity/entityfields/dailycasesgraph/valueProcess.js</valueProcess> + </entityField> + </entityFields> + <recordContainers> + <datalessRecordContainer> + <name>dataless</name> + </datalessRecordContainer> + </recordContainers> +</entity> diff --git a/entity/CovidCasesData_entity/documentation.adoc b/entity/CovidCasesData_entity/documentation.adoc new file mode 100644 index 0000000000000000000000000000000000000000..1387c294f7ed81725753701c9c10d38aec90fcce --- /dev/null +++ b/entity/CovidCasesData_entity/documentation.adoc @@ -0,0 +1,4 @@ +== CovidCasesData_entity + +- This entity provides a example implementation of diagrams or websites via iFrame +- In this case it shows the current Covid-19 Case Rate \ No newline at end of file diff --git a/entity/CovidCasesData_entity/entityfields/dailycasesgraph/valueProcess.js b/entity/CovidCasesData_entity/entityfields/dailycasesgraph/valueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..3fab423e758c9003565ae1b480678ebd08b74d7c --- /dev/null +++ b/entity/CovidCasesData_entity/entityfields/dailycasesgraph/valueProcess.js @@ -0,0 +1,2 @@ +import("system.result"); +result.string("<iframe src=\"https://public.domo.com/cards/aKg4r\" width=\"100%\" height=\"100%\" marginheight=\"0\" marginwidth=\"0\" frameborder=\"0\"></iframe>"); diff --git a/entity/CovidCasesData_entity/entityfields/globalcasestable/valueProcess.js b/entity/CovidCasesData_entity/entityfields/globalcasestable/valueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..9359e9f84cf233c5d5e94f5175fd4fe95201ff77 --- /dev/null +++ b/entity/CovidCasesData_entity/entityfields/globalcasestable/valueProcess.js @@ -0,0 +1,2 @@ +import("system.result"); +result.string("<iframe src=\"https://public.domo.com/cards/dJ45D\" width=\"100%\" height=\"100%\" marginheight=\"0\" marginwidth=\"0\" frameborder=\"0\"></iframe>") \ No newline at end of file diff --git a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod index 263115c1901fce7af69358062d7c04f43a9dc184..e58f48ed810e3e924239be23397a809edc0303bc 100644 --- a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod +++ b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod @@ -1035,6 +1035,10 @@ <key>Adviser contact</key> <value>Verantwortlicher</value> </entry> + <entry> + <key>Shows the new daily Covid Cases</key> + <value>Zeigt die neuen Covid Fälle des Tages</value> + </entry> <entry> <key>Visit</key> <value>Besuch</value> @@ -4228,6 +4232,10 @@ <key>Know How</key> <value>Know How</value> </entry> + <entry> + <key>Shows the global Covid Cases in a Table</key> + <value>Zeigt die globalen Covid Fälle als Tabelle</value> + </entry> <entry> <key>Personal appearance</key> <value>Persönliches Auftreten</value> @@ -4308,6 +4316,10 @@ <key>Executive board</key> <value>Vorstand</value> </entry> + <entry> + <key>Global Cases Table</key> + <value>Globale Fälle als Tabelle</value> + </entry> <entry> <key>Supervisory board</key> <value>Aufsichtsrat</value> @@ -5998,6 +6010,10 @@ <key>Beer</key> <value>Bier</value> </entry> + <entry> + <key>Global Cases</key> + <value>Globale Fälle</value> + </entry> <entry> <key>Treat</key> <value>Genuss</value> @@ -8991,6 +9007,10 @@ Bitte Datumseingabe prüfen</value> <key>Min. stock</key> <value>Min. Anzahl</value> </entry> + <entry> + <key>New Cases</key> + <value>Neue Fälle</value> + </entry> <entry> <key>No Standard-E-Mail available!</key> <value>Keine Standard-E-Mail-Adresse verfügbar!</value> diff --git a/neonContext/CovidCasesData/CovidCasesData.aod b/neonContext/CovidCasesData/CovidCasesData.aod new file mode 100644 index 0000000000000000000000000000000000000000..ec083deb6eb03a414f71c7b7d0da8ceaf142c511 --- /dev/null +++ b/neonContext/CovidCasesData/CovidCasesData.aod @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.1.1"> + <name>CovidCasesData</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <entity>CovidCasesData_entity</entity> + <references> + <neonViewReference> + <name>b336c96e-dcd6-4242-bcce-3f774718de43</name> + <view>GlobalCasesTable_view</view> + </neonViewReference> + <neonViewReference> + <name>e2f60947-609c-46cb-afc8-4f5c587a8285</name> + <view>DailyCasesGraph_view</view> + </neonViewReference> + </references> +</neonContext> diff --git a/neonDashboard/Home/Home.aod b/neonDashboard/Home/Home.aod index dc01fbf1ec3b9201eac0bc318ee53f98e8c0a568..9290d02395d6a8e5c70dee0003890a9943e82461 100644 --- a/neonDashboard/Home/Home.aod +++ b/neonDashboard/Home/Home.aod @@ -67,5 +67,17 @@ <rowspan v="4" /> </uiConfiguration> </neonDashlet> + <neonDashlet> + <name>CovidInformationDashlet</name> + <viewName>DailyCasesGraph_view</viewName> + <configName>DailyCasesDashletConfig</configName> + <uiConfiguration> + <name>uiConfiguration</name> + <xPos v="0" /> + <yPos v="10" /> + <colspan v="2" /> + <rowspan v="5" /> + </uiConfiguration> + </neonDashlet> </defaultDashlets> </neonDashboard> diff --git a/neonView/DailyCasesGraph_view/DailyCasesGraph_view.aod b/neonView/DailyCasesGraph_view/DailyCasesGraph_view.aod new file mode 100644 index 0000000000000000000000000000000000000000..faf2049513262f8707492ed8861ac337a9c8c693 --- /dev/null +++ b/neonView/DailyCasesGraph_view/DailyCasesGraph_view.aod @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8"> + <name>DailyCasesGraph_view</name> + <title>Daily Cases</title> + <majorModelMode>DISTRIBUTED</majorModelMode> + <dashletConfigurations> + <neonDashletConfiguration> + <name>DailyCasesDashletConfig</name> + <title>New Cases</title> + <description>Shows the new daily Covid Cases</description> + <fragment>CovidCasesData/chart</fragment> + <icon>VAADIN:GLOBE</icon> + <categories> + <neonDashletCategory> + <name>Covid Information</name> + <title>Covid Information</title> + </neonDashletCategory> + </categories> + </neonDashletConfiguration> + </dashletConfigurations> + <layout> + <boxLayout> + <name>layout</name> + <autoHeight v="false" /> + </boxLayout> + </layout> + <children> + <webContentViewTemplate> + <name>DailyCasesGraphContent</name> + <entityField>dailyCasesGraph</entityField> + </webContentViewTemplate> + </children> +</neonView> diff --git a/neonView/GlobalCasesTable_view/GlobalCasesTable_view.aod b/neonView/GlobalCasesTable_view/GlobalCasesTable_view.aod new file mode 100644 index 0000000000000000000000000000000000000000..0705832278fe736e3d632bb7a0b88c585c7bb52e --- /dev/null +++ b/neonView/GlobalCasesTable_view/GlobalCasesTable_view.aod @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8"> + <name>GlobalCasesTable_view</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <dashletConfigurations> + <neonDashletConfiguration> + <name>GlobalCasesTableDashletConfig</name> + <title>Global Cases Table</title> + <description>Shows the global Covid Cases in a Table</description> + <fragment>CovidCasesData/full</fragment> + <icon>VAADIN:GLOBE</icon> + <categories> + <neonDashletCategory> + <name>Covid Information</name> + <title>Covid Information</title> + </neonDashletCategory> + </categories> + </neonDashletConfiguration> + </dashletConfigurations> + <layout> + <boxLayout> + <name>layout</name> + <autoHeight v="false" /> + </boxLayout> + </layout> + <children> + <webContentViewTemplate> + <name>GlobalCasesTableContent</name> + <entityField>globalCasesTable</entityField> + <title>Global Cases </title> + </webContentViewTemplate> + </children> +</neonView>