From 25fd9c3b6fa56f8d5228eeff05dbfb347e4b1a70 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 27 Jul 2023 12:19:23 +0200 Subject: [PATCH] add solar panel icon --- ereuse_devicehub/resources/device/models.py | 1 + ereuse_devicehub/static/css/devicehub.css | 13 ++++++++++++- ereuse_devicehub/static/img/solar-panel.png | Bin 0 -> 12955 bytes 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 ereuse_devicehub/static/img/solar-panel.png diff --git a/ereuse_devicehub/resources/device/models.py b/ereuse_devicehub/resources/device/models.py index 1d9c1e79..0505a2f6 100644 --- a/ereuse_devicehub/resources/device/models.py +++ b/ereuse_devicehub/resources/device/models.py @@ -929,6 +929,7 @@ class Device(Thing): "Cellphone": "bi bi-telephone", "HardDrive": "bi bi-hdd-stack", "SolidStateDrive": "bi bi-hdd", + "SolarPanel": "bi-solar-panel", } return types.get(self.type, '') diff --git a/ereuse_devicehub/static/css/devicehub.css b/ereuse_devicehub/static/css/devicehub.css index e82af14c..ee612cd5 100644 --- a/ereuse_devicehub/static/css/devicehub.css +++ b/ereuse_devicehub/static/css/devicehub.css @@ -42,4 +42,15 @@ } .printLabelForm { margin-left: 10px; -} \ No newline at end of file +} +.bi-solar-panel { + background-image: url("/static/img/solar-panel.png"); + background-repeat:no-repeat; + background-size: cover; + padding-left: 10px; + padding-right: 10px; + margin-right: 5px; + line-height: 17px; + font-size: 15px; + vertical-align: middle; +} diff --git a/ereuse_devicehub/static/img/solar-panel.png b/ereuse_devicehub/static/img/solar-panel.png new file mode 100644 index 0000000000000000000000000000000000000000..95de3ed5601abfb1d3edcabdf47659e8580cb854 GIT binary patch literal 12955 zcmeHtbyQSs*Zvv01(B{13_@}UL1Ji-5EKbPsTsO+=%G7BBo(AvX~_{3L}>&RrIAjN z2KgOOpU3C@ecvDNTHp7_x7Isr0cY;L_qDHm?S0=coD;60u1HEmPXqt}sj`yXZ2-Um zFR=guJn+YN)Q1BAptthW(sj9Q><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