THEME: Black - based on nerve center



  • This is my latest theme release. Comes with Temperature display! (with phpsysinfo package)

    This theme has some new things that no other theme has. Enjoy! Use the below script to do an automated complete install.

    Download black-nerve

    Confirmed working with FF 3.6 and IE 8 on Version 1.2.3-Release
    pfsense badge created by cheesyboofs





  • I like it!

    Some constructive criticism though:

    1.  The Blue Background is distracting on some pages.
                  ie: System/Advanced - the page is pretty long so the blue background gets too light around the middle of the page, making white text hard to read.

    2.  A Selected Tab makes the tab unreadable with the light grey background.
                  ie: Firewall/Rules

    A beautiful concept, System Logs is gorgeous to view now, thank you.



  • Thank you for the input!

    In the next couple of nights I will find a pattern or image that will not distract the administrator from the content.

    I couldn't figure out how to skin the tabs.

    Does any member know where the tab color is set? Its not in the theme css, that's for sure.


  • Rebel Alliance Developer Netgate

    Unfortunately the tab colors aren't themable in 1.2.x. The colors are hardcoded in /etc/inc/pfsense-utils.inc in the function disaplay_top_tabs().

    Just another pointer, it would be handier for people who use UNIX systems if you packed it with .tar.gz or .bz2 instead of .rar. I prefer to fetch and unpack things right onto a pfSense box, rather than unpacking them on a workstation and then uploading them separately. :)

    Looks good in pictures, but I haven't tried it out just yet on a test box.



  • Fixed table colors and some minor changes.
    Changed archive type to .tar

    Mod included for new pie chart and Tab colors.



  • onhel,

    If you are worried about the background being a little distracting then make the following changes:

    Edit /usr/local/www/themes/black-nerve/all.css

    Line 274
    replace```
    images/content-bg/1.jpg

    with```
    images/content-bg/2.jpg 
    

    The alternate image is in the pack. This should be what you are looking for.




  • Yes, much better, thank you!



  • Now with Temperature Monitor! (with phpsysinfo Package)



  • Rebel Alliance Developer Netgate

    @tommyboy180:

    Now with Temperature Monitor!

    How are you polling the temperature? From the ACPI thermal zone(s)?



  • Using mbmon

    It's so simple, I don't know why I didn't think of it before.

    EDIT: Need phpsysinfo package.


  • Rebel Alliance Developer Netgate

    Ah, OK. A dashboard widget might be nice for that, if phpsysinfo is already installed. Sort of like how I have separate widget packages for Snort and HAVP.

    Some motherboards support polling the temp straight from ACPI with no extra software installed. Unfortunately support for that is pretty sparse. I've been meaning to code in some support for that but I need access to more hardware that actually supports it.  ;D



  • How can I do that…

    if mbmon exists then
    ....
    else
    nothing
    
    Oh, I could do a file exists for /usr/local/bin/mbmon
    
    Would that work?
    
    

  • Rebel Alliance Developer Netgate

    Yeah that should be sufficient. If the binary exists then it should be installed and usable.



  • Updated

    Will now look for mbmon before attempting to display temperatures.
    Thank you jimp!



  • Now install and uninstall the theme with 3 simple commands.

    This allows you to install and remove without having to mess with the file system!
    Each line is a separate command and should be executed separately

    To execute go to Diagnostics -> Command  
    Push Execute to run the command

    
    fetch -o /tmp/install-black-nerve.sh http://tomschaefer.org/temp/pfsense/black-nerve/install-black-nerve.sh
    chmod 777 /tmp/install-black-nerve.sh
    /tmp/install-black-nerve.sh
    
    

    When you are done installing go to System -> General Setup -> Change The Theme to black-nerve at the bottom of the page!
    Now install phpsysinfo for the Temperature stats

    To uninstall follow the same instructions but use the below commands:

    
    fetch -o /tmp/remove-black-nerve.sh http://tomschaefer.org/temp/pfsense/black-nerve/remove-black-nerve.sh
    chmod 777 /tmp/remove-black-nerve.sh
    /tmp/remove-black-nerve.sh
    
    

    When you are done go to System -> General Setup -> and change the Theme to NerveCenter

    Thank you!



  • New update released!

    • New PieChart based on JpGraph

    • Temperature is integrated

    • Some minor aesthetic changes

    The Pie chart will be displayed if you have more than 0% Disk Usage
    The Temperature will be displayed if you have phpsysinfo installed (looks for mbmon)



  • Updated!  Thank you again for your work, my current favorite.



  • hey did you port this over to the 2.0rc1 system yet????

    Looks pretty nice but Im sure some stuff might need tweaked so you can have all features..

    Thanks.



  • @splippity:

    hey did you port this over to the 2.0rc1 system yet????

    Looks pretty nice but Im sure some stuff might need tweaked so you can have all features..

    Thanks.

    Thanks for reminding me. I will start here soon.


  • Banned

    I get the following error: "The passwords do not match" for every theme available….

    Why??


  • Banned

    And now I cant change themes at all.



  • @Supermule:

    And now I cant change themes at all.

    This theme hasn't been tested with 2.0. You may have to manually edit your config to go back to another theme.


  • Banned

    Its on 1.2.3 ;)



  • @Supermule:

    Its on 1.2.3 ;)

    It's been fully tested on 1.2.3. You shouldn't have any problems at all. Can you go into more detail about your problem?


  • Banned

    I had to enter the password for the firewall everytime I would like to change theme…

    When I did that, it could change the theme. Otherwise it wouldnt.

    Thats why it showed me mismatch between passwords.



  • @Supermule:

    I had to enter the password for the firewall everytime I would like to change theme…

    When I did that, it could change the theme. Otherwise it wouldnt.

    Thats why it showed me mismatch between passwords.

    That's very strange. It's a theme so passwords or any settings are changed. It's just adds a different CSS to the nervecenter theme.


  • Banned

    Thx :) I wondered about that myself.



  • Hi Tommyboy,

    Is the screenshot at the start of this post current? The reason I ask is that in the written authorization that I obtained for the use of the FreeBSD logo from FreeBSD Foundation they only granted the permission if we agreed to abide by their requests in displaying it. Namely the display of either of the two relevant statements in addition,

    "The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by http://www.pfsense.com with the permission of The FreeBSD Foundation."

    "The FreeBSD Logo is a trademark of The FreeBSD Foundation and is used by http://www.pfsense.com with the permission of The FreeBSD Foundation."

    I feel as they were kind enough to grant their permission we should really heed their request when using it. On code-red I stuck it at the bottom in the smallest readable point size I could find  ;)

    Cheers

    http://forum.pfsense.org/index.php/topic,14282.45.html



  • @cheesyboofs:

    Hi Tommyboy,

    Is the screenshot at the start of this post current? The reason I ask is that in the written authorization that I obtained for the use of the FreeBSD logo from FreeBSD Foundation they only granted the permission if we agreed to abide by their requests in displaying it. Namely the display of either of the two relevant statements in addition,

    "The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by http://www.pfsense.com with the permission of The FreeBSD Foundation."

    "The FreeBSD Logo is a trademark of The FreeBSD Foundation and is used by http://www.pfsense.com with the permission of The FreeBSD Foundation."

    I feel as they were kind enough to grant their permission we should really heed their request when using it. On code-red I stuck it at the bottom in the smallest readable point size I could find  ;)

    Cheers

    http://forum.pfsense.org/index.php/topic,14282.45.html

    Thank you for letting me know! I will update the theme to reflect this. I agree that they were very kind so I defiantly will implement your suggestion the same way you did on your theme. Thanks again for contacting me.



  • not to rush you or anything but hows work on the theme for 2.0?

    If freeBSD wants to be legal nazis you could just not have the logo lol.
    I understand its a trademark but you have to have special phrasing approved by them to get the point across?



  • Wow not sure what happened. Went to try to install this theme on my 2.0 RC3 PFsense install. I copy & pasted the 3 commands you had & clicked execute on each. Then I tried to goto the general setup tab to change themes & now I can't access the webgui period. All I got is error:

    Fatal error: Cannot redeclare log_error() (previously declared in /etc/inc/util.inc:801) in /etc/inc/pfsense-utils.inc on line 838

    No idea what I did or how to fix it. Help please!



  • @lonevipr:

    Wow not sure what happened. Went to try to install this theme on my 2.0 RC3 PFsense install. I copy & pasted the 3 commands you had & clicked execute on each. Then I tried to goto the general setup tab to change themes & now I can't access the webgui period. All I got is error:

    Fatal error: Cannot redeclare log_error() (previously declared in /etc/inc/util.inc:801) in /etc/inc/pfsense-utils.inc on line 838

    No idea what I did or how to fix it. Help please!

    :( This theme is not tested on 2.0!!

    This theme hasn't been tested with 2.0. You may have to manually edit your config to go back to another theme.


Log in to reply