Eye friendly Block Installation

Post Reply
User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Eye friendly Block Installation

Post by nikokara - BANNED » Tue Oct 17, 2017 10:41 am

:roll: and what about this...
(blockInstall.php)
blockInstall_php.jpg
blockInstall_php.jpg (10.59 KiB) Viewed 7525 times
If you like, here is the code..

Code: Select all

<tr>
                    <td>
                        <span class='fa fa-check-circle' style='font-size:1em;color:#00bf1c'></span>
                    </td>
                    <td style="text-align:left;padding-left:5px">
                        installed
                    </td>
                    <td>
                        <span class="blockFilter fa fa-filter" data-id="2"></span>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span class='fa fa-times-circle' style='font-size:1em;color:#bf0000'></span>
                    </td>
                    <td style="text-align:left;padding-left:5px">
                        not installed
                    </td>
                    <td>
                        <span class="blockFilter fa fa-filter" data-id="0"></span>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span class='fa fa-refresh' style='font-size:1em;color:#fffb00'></span>
                    </td>
                    <td style="text-align:left;padding-left:5px">
                        needs update
                    </td>
                    <td>
                        <span class="blockFilter fa fa-filter" data-id="1"></span>
                    </td>
                </tr>
and here

Code: Select all

<td>
<?php 
     if($status==0){
     echo "<span class='fa fa-times-circle' style='font-size:1.5em;color:#bf0000'></span>";
        }
      if($status==1){
     echo "<span class='fa fa-refresh' style='font-size:1.5em;color:#fffb00'></span>";
        }
     if($status==2){
     echo "<span class='fa fa-check-circle' style='font-size:1.5em;color:#00bf1c'></span>";
        }
     ?>
       </td>
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Eye friendly Block Installation

Post by Jachym » Tue Oct 17, 2017 10:42 am

Hmm, I have to say I personally prefer the all-white option, maybe Im a minimalist when it comes to design, I dont fancy too many colors, gradients, shadows etc :D Also because thats how the entire template works, I only use white and black icons, this would look strange

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: Eye friendly Block Installation

Post by Johnny » Tue Oct 17, 2017 3:32 pm

Well nikokara, I think that's very good idea, green and red clearly indicating what you have and have not installed. So at the moment Jachym it's two for and one against. :D
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Eye friendly Block Installation

Post by Jachym » Tue Oct 17, 2017 3:56 pm

It doesnt fit in the overall concept :D

User avatar
Fraggboy
Forecaster
Forecaster
Posts: 193
Joined: Wed Sep 27, 2017 2:45 pm
Location: Sunny California
Station model: Bloomsky II + Storm
Software: Bloomsky
Contact:

Re: Eye friendly Block Installation

Post by Fraggboy » Tue Oct 17, 2017 4:24 pm

While I do like nikokara's updates (This one and adding the check for the zip extension), if these modifications doesn't make the final product, any update to that particular area will be reverted.

I think it may be best to create a sub-forum with all of the custom modifications created by our members. So, when an update comes around and we like the custom modification, we can simply modify the code again easily. They are all in one spot.

I have to agree with Jachym that he has a default 'theme' and doesn't want to stray from it. He's not stopping us from applying the custom modifications. We all have to start somewhere on common ground.
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Eye friendly Block Installation

Post by Jachym » Tue Oct 17, 2017 5:14 pm

+1

I will add the ZIP extension check. With design Im a bit minimalistic and I dont like too fancy designs - not saying you cant have them, but you will have to do it yourself :)

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Eye friendly Block Installation

Post by nikokara - BANNED » Tue Oct 17, 2017 5:30 pm

:D
I am a BIG minimalist.

All modifications are in the admin section, (only for admin's eyes),
to make his life a bit easier :D
niko

Post Reply