Visibility of Habpanel's template widget

Hi everyone , firstly I want to say that I love habpanel soooo much!
But I have several questions and I hope someone can help me answer:

  1. I want to make a button template which can make others button visible when clicked, otherwise; other buttons remain invisible. For example, I have many groups of devices such as: fans, lightbulbs,…When I click “All Fans” button, those buttons which is used to control fans show up, wheareas lightbulb controlling buttons don’t. The similar thing happens if I clicked “All Lights” button.Can anybody show me how to that?
  2. Anybody show me how to edit the font family of template widget, I’ve just created a digital clock template like this:
<div ng-init="clockmodel={
                'digital_format':'HH:mm:ss a EEEE dd/MM/yyyy'
  <widget-clock ng-model="clockmodel" ng-style="{ color: 'cyan'}"/></div>

but I want to change its font family since the current one doesn’t satisfy me enough. More specifically, I want to change its font to so-called “digital font” like this so that it looks more like a real digital clock:
I hope someone could show me how!

  1. I created this template:
    <div uib-slide index="3">
      <img src="" style="margin:auto;"/><div ng-init='model={"name": "Garden", "item": "Garden_GF_Light", "hidelabel": true, "hideonoff": true, "iconset": "smarthome-set", "icon": "bulb" }'>
        style="position: absolute;
               background: rgba(0,0,0,0.5);
               border-radius: 20px;
               top: 100px; left: 200px;
               width: 60px; height: 60px"
        ng-model="model" />

Thanks to someone’s post in this forum I couldn’t remember, now I want to develop it more. As you can see, the lightbulb shows up with its name hidden I know that I can make its name visible by changing from “hidelabel”: true to “hidelabel”: false. But I think it’d be much more cooler if whenever I drag my mouse into it, the border line of the switch could light up and show me the name of that switch beneath. Can anybody show me how?

1 Like