Squashed commit of the following:

commit a0adfc850d
Author: Stefan <[email protected]>
Date:   Thu Jun 1 15:28:39 2023 +0200

    Revert using Prom.Net

commit 08a5bd4772
Merge: a47c252 9d64698
Author: Stefan <[email protected]>
Date:   Thu Jun 1 15:27:48 2023 +0200

    Merge remote-tracking branch 'origin/feature-DeviceRegistration' into feature-DeviceRegistration

commit a47c2525e1
Author: Stefan <[email protected]>
Date:   Thu Jun 1 15:27:30 2023 +0200

    Revert using Prom.Net

commit 9d646988d1
Merge: 889fc5e 4ef3958
Author: Friend2868 <[email protected]>
Date:   Thu Jun 1 15:24:56 2023 +0200

    Merge branch 'feature-DeviceRegistration' of https://github.com/Stefan-5422/-T5-Elektrifikatsiya into feature-DeviceRegistration

commit 889fc5e3dd
Author: Friend2868 <[email protected]>
Date:   Thu Jun 1 15:24:21 2023 +0200

    Final2

commit 92a7538996
Merge: d5f5ec2 f04724e
Author: Friend2868 <[email protected]>
Date:   Thu Jun 1 15:23:59 2023 +0200

    Merge branch 'feature-DeviceRegistration' of https://github.com/Stefan-5422/-T5-Elektrifikatsiya into feature-DeviceRegistration

commit 4ef3958da3
Author: Stone_Red <[email protected]>
Date:   Thu Jun 1 15:23:10 2023 +0200

    Fix .gitignore

commit d5f5ec2d0e
Author: Friend2868 <[email protected]>
Date:   Thu Jun 1 15:21:37 2023 +0200

    Final

commit 236c2418c5
Author: Friend2868 <[email protected]>
Date:   Thu Jun 1 15:18:57 2023 +0200

    Update .gitignore

commit f04724e258
Merge: 9b2db9c f74cff3
Author: Stefan <[email protected]>
Date:   Thu Jun 1 15:15:57 2023 +0200

    Merge remote-tracking branch 'origin/feature-DeviceRegistration' into feature-DeviceRegistration

commit 9b2db9c97d
Author: Stefan <[email protected]>
Date:   Thu Jun 1 15:15:44 2023 +0200

    Changes 🐙

commit f74cff3d39
Author: Stone_Red <[email protected]>
Date:   Wed May 24 11:48:07 2023 +0200

    Update appsettings.Development.json

commit 2f79ccb22d
Author: Stone_Red <[email protected]>
Date:   Wed May 24 11:45:16 2023 +0200

    Update appsettings.Development.json

commit 104bd37bcb
Author: Stone_Red <[email protected]>
Date:   Wed May 24 11:44:58 2023 +0200

    Update appsettings.Development.json

commit bdac3581de
Author: Stefan <[email protected]>
Date:   Wed May 24 11:29:38 2023 +0200

    Revert test shid

commit 5b58318699
Merge: 5b342c1 b054b9c
Author: Stefan <[email protected]>
Date:   Wed May 24 11:28:20 2023 +0200

    Merge remote-tracking branch 'origin/feature-DeviceRegistration' into feature-DeviceRegistration

commit 5b342c1a8f
Author: Stefan <[email protected]>
Date:   Wed May 24 11:28:12 2023 +0200

    Add `ScheduledService` and email things ༼ つ ◕_◕ ༽つ

commit b054b9cfe3
Author: Friend2868 <[email protected]>
Date:   Wed May 24 11:16:18 2023 +0200

    EventService finish

commit 9520fa04b8
Author: Stefan <[email protected]>
Date:   Wed May 10 12:13:31 2023 +0200

    Email Inferstructure
This commit is contained in:
Stefan
2023-06-01 15:33:18 +02:00
parent 0364016766
commit 1028cbfb40
34 changed files with 529 additions and 166 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,49 @@
<mjml>
<mj-head>
<mj-attributes>
<mj-class name="primary" background-color="#1a237e"/>
</mj-attributes>
<mj-style>
@font-face {
font-family: Nunito;
src: url(https://fonts.gstatic.com/s/nunito/v16/XRXV3I6Li01BKofINeaB.woff2)
format('truetype');
}
</mj-style>
</mj-head>
<mj-body background-color="white">
<mj-wrapper padding-right="20px" padding-left="20px" padding-top="7%" >
<mj-section border-right="2px solid #B0B0B0" border-top="2px solid #B0B0B0" border-left="2px solid #B0B0B0" border-radius="33px">
</mj-section>
<mj-section padding-bottom="0px" padding-top="0px" border-left="2px solid #B0B0B0" border-right="2px solid #B0B0B0">
<mj-column>
<mj-text align="center" font-family="Nunito, Sans-Serif" font-weight="bold" font-size="30px">
Daily Notification
</mj-text>
</mj-column>
</mj-section>
<mj-section padding-bottom="0px" border-left="2px solid #B0B0B0" border-right="2px solid #B0B0B0">
<mj-column padding-left="5%" padding-right="5%">
<mj-text font-family="Nunito, Sans-Serif" align="center" font-size="18px">
Energy Consumption yesterday: {{yesterday}}
</mj-text>
</mj-column>
<mj-column>
<mj-text font-family="Nunito, Sans-Serif" algin="center" font-size="18px">
Energy Consumption since the start of the year: {{yearly}}
</mj-text>
</mj-column>
</mj-section>
<mj-section padding-top="0px" border-right="2px solid #B0B0B0" border-left="2px solid #B0B0B0" border-bottom="2px solid #B0B0B0" border-radius="33px">
<mj-column>
<mj-button font-size="16px" mj-class="primary" font-weight="bold" font-family="Nunito, Sans-Serif">
<mj-text>
<a href="{{link}}" target="_blank" style="color:white; text-decoration:none;">Goto Dashboard</a>
</mj-text>
</mj-button>
</mj-column>
</mj-section>
</mj-wrapper>
</mj-body>
</mjml>