Page 1 of 1

Eye friendly Block Installation

Posted: Tue Oct 17, 2017 10:41 am
by nikokara - BANNED
:roll: and what about this...
(blockInstall.php)
blockInstall_php.jpg
blockInstall_php.jpg (10.59 KiB) Viewed 7534 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>

Re: Eye friendly Block Installation

Posted: Tue Oct 17, 2017 10:42 am
by Jachym
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

Re: Eye friendly Block Installation

Posted: Tue Oct 17, 2017 3:32 pm
by Johnny
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

Re: Eye friendly Block Installation

Posted: Tue Oct 17, 2017 3:56 pm
by Jachym
It doesnt fit in the overall concept :D

Re: Eye friendly Block Installation

Posted: Tue Oct 17, 2017 4:24 pm
by Fraggboy
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.

Re: Eye friendly Block Installation

Posted: Tue Oct 17, 2017 5:14 pm
by Jachym
+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 :)

Re: Eye friendly Block Installation

Posted: Tue Oct 17, 2017 5:30 pm
by nikokara - BANNED
: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