sched: add clkinfo icon for events
parent
6f4a3b8c78
commit
a5a915e38a
|
|
@ -4,6 +4,7 @@
|
||||||
const iconAlarmOff = atob("GBiBAAAAAAAAAAYAYA4AcBx+ODn/nAP/wAf/4A/n8A/n8B/n+B/n+B/nAB/mAB/geB/5/g/5tg/zAwfzhwPzhwHzAwB5tgAB/gAAeA==");
|
const iconAlarmOff = atob("GBiBAAAAAAAAAAYAYA4AcBx+ODn/nAP/wAf/4A/n8A/n8B/n+B/n+B/nAB/mAB/geB/5/g/5tg/zAwfzhwPzhwHzAwB5tgAB/gAAeA==");
|
||||||
const iconTimerOn = atob("GBiBAAAAAAAAAAAAAAf/4Af/4AGBgAGBgAGBgAD/AAD/AAB+AAA8AAA8AAB+AADnAADDAAGBgAGBgAGBgAf/4Af/4AAAAAAAAAAAAA==");
|
const iconTimerOn = atob("GBiBAAAAAAAAAAAAAAf/4Af/4AGBgAGBgAGBgAD/AAD/AAB+AAA8AAA8AAB+AADnAADDAAGBgAGBgAGBgAf/4Af/4AAAAAAAAAAAAA==");
|
||||||
const iconTimerOff = atob("GBiBAAAAAAAAAAAAAAf/4Af/4AGBgAGBgAGBgAD/AAD/AAB+AAA8AAA8AAB+AADkeADB/gGBtgGDAwGDhwfzhwfzAwABtgAB/gAAeA==");
|
const iconTimerOff = atob("GBiBAAAAAAAAAAAAAAf/4Af/4AGBgAGBgAGBgAD/AAD/AAB+AAA8AAA8AAB+AADkeADB/gGBtgGDAwGDhwfzhwfzAwABtgAB/gAAeA==");
|
||||||
|
const iconEvent = atob("Hh6BAf////////////////////gAAH/AAAD/P//z/P//z/P//z/P//z/AAAD/AAAD/AAAD/AAAD/AAMD/AAcD/AA4D/AxwD/A7gD/AfAD/AOAD/AAAD/AAAD/AAAD/AAAD/gAAH////////////////////w");
|
||||||
|
|
||||||
//from 0 to max, the higher the closer to fire (as in a progress bar)
|
//from 0 to max, the higher the closer to fire (as in a progress bar)
|
||||||
function getAlarmValue(a){
|
function getAlarmValue(a){
|
||||||
|
|
@ -20,6 +21,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAlarmIcon(a) {
|
function getAlarmIcon(a) {
|
||||||
|
if(a.date) return iconEvent;
|
||||||
if(a.on) {
|
if(a.on) {
|
||||||
if(a.timer) return iconTimerOn;
|
if(a.timer) return iconTimerOn;
|
||||||
return iconAlarmOn;
|
return iconAlarmOn;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue