add solar panel icon
This commit is contained in:
parent
07e506f999
commit
25fd9c3b6f
|
@ -929,6 +929,7 @@ class Device(Thing):
|
||||||
"Cellphone": "bi bi-telephone",
|
"Cellphone": "bi bi-telephone",
|
||||||
"HardDrive": "bi bi-hdd-stack",
|
"HardDrive": "bi bi-hdd-stack",
|
||||||
"SolidStateDrive": "bi bi-hdd",
|
"SolidStateDrive": "bi bi-hdd",
|
||||||
|
"SolarPanel": "bi-solar-panel",
|
||||||
}
|
}
|
||||||
return types.get(self.type, '')
|
return types.get(self.type, '')
|
||||||
|
|
||||||
|
|
|
@ -43,3 +43,14 @@
|
||||||
.printLabelForm {
|
.printLabelForm {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Reference in New Issue