Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    BOUNTY: Web GUI reprogramming

    Scheduled Pinned Locked Moved Bounties
    256 Posts 31 Posters 172.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      c0urier
      last edited by

      @charlie0440 - I did the following:

      fetch > https://dl.dropboxusercontent.com/u/12367642/myTheme.tar.gz
      tar -xvzf myTheme.tar.gz
      cd myTheme/
      cp -r * /

      When I use the twitter_bootstrap_fs theme, non of the menu's are working - When I switch to pfSense_ng_fs the menu's are working again but I still can't use the other columns.

      Index.php - http://pastebin.com/4dNZi3J2

      twitter_bootstrap_fs.png
      twitter_bootstrap_fs.png_thumb
      pfSense_ng_fs.png
      pfSense_ng_fs.png_thumb

      pfsense: 2.1.5-RELEASE, AMD64
      Running on: MB/CPU: ASUS P8H77-I / Core i3-2120T | MEM: 8GB DDR3 | HDD: WD Blue 120GB 2.5" SATA | WAN/LAN: Fujitsu D2735-2 – Intel® chip 82576NS | WLAN: Realtek® 8111F PCIe | Connection: 1000/1000Mbit (Bredband2.com)
      [/U

      1 Reply Last reply Reply Quote 0
      • C
        charlie0440
        last edited by

        @courier try cp instead of a scp if your local:

        cp -r * /

        your index.php is missing column2 for a start thats why you can't drag and drop to it, there is not a columns there.

        Look at lines: 647, 655, 666 in the index.php in your unzipped myTheme folder they should match the once on github: https://github.com/pfsense/pfsense/blob/master/usr/local/www/index.php

        That line is never printed on your setup, which to me means its not in your index.php. Have you tried this on a new install, Again you posted earlier saying you deleted a lot of files what exactly have you done. Either that or your not copying the tar correctly.

        1 Reply Last reply Reply Quote 0
        • C
          c0urier
          last edited by

          I did use cp ofcourse I mistyped haha - Sorry!

          I deleted the www folder and recovered from a previous backup, but it was an RC and not the final release. Though I did a recover and upgraded to 2.1-RELEASE again. Hope you understand.

          pfsense: 2.1.5-RELEASE, AMD64
          Running on: MB/CPU: ASUS P8H77-I / Core i3-2120T | MEM: 8GB DDR3 | HDD: WD Blue 120GB 2.5" SATA | WAN/LAN: Fujitsu D2735-2 – Intel® chip 82576NS | WLAN: Realtek® 8111F PCIe | Connection: 1000/1000Mbit (Bredband2.com)
          [/U

          1 Reply Last reply Reply Quote 0
          • C
            c0urier
            last edited by

            My index.php file is identical to the one you posted.

            I tried flashing the upgrade package for pfSense 2.1 to get fresh files in, but for some reason I am still not able to use any other columns.
            Any hints would be greatly appreciated, else a reinstall might be the only solution.

            pfsense: 2.1.5-RELEASE, AMD64
            Running on: MB/CPU: ASUS P8H77-I / Core i3-2120T | MEM: 8GB DDR3 | HDD: WD Blue 120GB 2.5" SATA | WAN/LAN: Fujitsu D2735-2 – Intel® chip 82576NS | WLAN: Realtek® 8111F PCIe | Connection: 1000/1000Mbit (Bredband2.com)
            [/U

            1 Reply Last reply Reply Quote 0
            • C
              c0urier
              last edited by

              A small update after a Fresh install.

              I recovered my config.xml file and the GUI broke again, I then decided to take a config from earlier and recovered it and the GUI worked perfectly again.

              Result of test now:
              pfsense_ng_fs - Works perfect
              twitter_bootstrap_fs - Menu's are not working.

              pfsense: 2.1.5-RELEASE, AMD64
              Running on: MB/CPU: ASUS P8H77-I / Core i3-2120T | MEM: 8GB DDR3 | HDD: WD Blue 120GB 2.5" SATA | WAN/LAN: Fujitsu D2735-2 – Intel® chip 82576NS | WLAN: Realtek® 8111F PCIe | Connection: 1000/1000Mbit (Bredband2.com)
              [/U

              1 Reply Last reply Reply Quote 0
              • C
                charlie0440
                last edited by

                So I spend some time working on my widescreen dashboard script today. I really like what I have done  ;) I've made it responsive, ie if you resize the screen it will only display the number of columns which will fit nicely. A video speaks a 1000 word: http://www.youtube.com/watch?v=KmQGiIfEJy0&feature=youtu.be

                You can try it out by following these instructions (pfsense 2.1 only):

                download the zip: https://dl.dropboxusercontent.com/u/12367642/myTheme.tar.gz

                
                wget https://dl.dropboxusercontent.com/u/12367642/myTheme.tar.gz
                tar -xvzf myTheme.tar.gz 
                cd myTheme/
                scp -r * root@pfsenseIPaddress:/
                

                Then apply the theme "pfsense_ng_fs" OR "twitter_bootstrap_fs" in the general settings page. I recommend you test this on a virtual machine, boot the 2.1 live CD, login and enable SSH then perform the above steps.

                It works by ideally setting your preferred dashboard layout ie number of columns when in full screen mode, then clicking save (this is now your saved state), if you now resize the screen if will move the widgets from the last columns to the previous one etc etc and vice versa. If you move widgets around after clicking save the changes will be overwritten on a screen resize (back to your last saved state).

                It works really well for mobile phones ie you can have 5 columns on your 1080p screen, open up your mobile (request the desktop version of the site) and it will resize it automatically to 2 columns will all your widgets provided your mobile has a big enough screen, otherwise it will be 1 columns.

                I would like some feedback to check if it causes any issues before I request to send it upstream @courier @kelsen (you can just update the loader.js file from the zip its the only file which has been amended). Kelsen feel free to use it.

                1 Reply Last reply Reply Quote 0
                • C
                  Clear-Pixel
                  last edited by

                  I hate the horizontal menu….

                  HP EliteBook 2530p Laptop - Core2 Duo SL9600 @ 2.13Ghz - 4 GB Ram -128GB SSD
                  Atheros Mini PCI-E as Access Point (AR5BXB63H/AR5007EG/AR2425)
                  Single Ethernet Port - VLAN
                  Cisco SG300 10-port Gigabit Managed Switch
                  Cisco DPC3008 Cable Modem  30/4 Mbps
                  Pfsense 2.1-RELEASE (amd64)
                  –------------------------------------------------------------
                  Total Network Power Consumption - 29 Watts

                  1 Reply Last reply Reply Quote 0
                  • C
                    charlie0440
                    last edited by

                    @Clear-Pixel:

                    I hate the horizontal menu….

                    Thanks for the constructive/unrelated feedback!

                    If it bothers you that much why don't you do something about it. People have different opinions on what they want for the GUI, can't keep everyone happy. Personally I like the horizontal menu.

                    1 Reply Last reply Reply Quote 0
                    • C
                      c0urier
                      last edited by

                      Hi Charlie0440:

                      The save button is stuck: http://prntscr.com/1x47i7

                      Else it's working perfectly.

                      pfsense: 2.1.5-RELEASE, AMD64
                      Running on: MB/CPU: ASUS P8H77-I / Core i3-2120T | MEM: 8GB DDR3 | HDD: WD Blue 120GB 2.5" SATA | WAN/LAN: Fujitsu D2735-2 – Intel® chip 82576NS | WLAN: Realtek® 8111F PCIe | Connection: 1000/1000Mbit (Bredband2.com)
                      [/U

                      1 Reply Last reply Reply Quote 0
                      • C
                        charlie0440
                        last edited by

                        @courier can you elaborate other then a screenshot of a button.

                        1 Reply Last reply Reply Quote 0
                        • C
                          c0urier
                          last edited by

                          When you click "Save settings" it reloads the page, and the "Save settings" button is still here. Need the index.php source or?

                          pfsense: 2.1.5-RELEASE, AMD64
                          Running on: MB/CPU: ASUS P8H77-I / Core i3-2120T | MEM: 8GB DDR3 | HDD: WD Blue 120GB 2.5" SATA | WAN/LAN: Fujitsu D2735-2 – Intel® chip 82576NS | WLAN: Realtek® 8111F PCIe | Connection: 1000/1000Mbit (Bredband2.com)
                          [/U

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            @Clear-Pixel:

                            I hate the horizontal menu….

                            You mean the main menu across the top?
                            Any particular reason?

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • C
                              charlie0440
                              last edited by

                              @c0urier:

                              When you click "Save settings" it reloads the page, and the "Save settings" button is still here. Need the index.php source or?

                              Yes it is, I can fix it but it shouldn't cause any issue. Does it for you?

                              1 Reply Last reply Reply Quote 0
                              • C
                                c0urier
                                last edited by

                                No no, none what so ever, I'm just used to it going away when I have clicked it haha.

                                Good job!

                                pfsense: 2.1.5-RELEASE, AMD64
                                Running on: MB/CPU: ASUS P8H77-I / Core i3-2120T | MEM: 8GB DDR3 | HDD: WD Blue 120GB 2.5" SATA | WAN/LAN: Fujitsu D2735-2 – Intel® chip 82576NS | WLAN: Realtek® 8111F PCIe | Connection: 1000/1000Mbit (Bredband2.com)
                                [/U

                                1 Reply Last reply Reply Quote 0
                                • C
                                  charlie0440
                                  last edited by

                                  @courier should be fixed in new zip. It will only show saved button once a column has been deleted or added.

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Clear-Pixel
                                    last edited by

                                    @stephenw10:

                                    @Clear-Pixel:

                                    I hate the horizontal menu….

                                    You mean the main menu across the top?
                                    Any particular reason?

                                    Steve

                                    Yes main menu….

                                    Here's an article that will help you understand some of the thought processes that are required by a professional UX designer. It's not rocket science, just require a little bit of common sense and thorough planning.

                                    http://uxdesign.smashingmagazine.com/2010/10/05/what-is-user-experience-design-overview-tools-and-resources/

                                    HP EliteBook 2530p Laptop - Core2 Duo SL9600 @ 2.13Ghz - 4 GB Ram -128GB SSD
                                    Atheros Mini PCI-E as Access Point (AR5BXB63H/AR5007EG/AR2425)
                                    Single Ethernet Port - VLAN
                                    Cisco SG300 10-port Gigabit Managed Switch
                                    Cisco DPC3008 Cable Modem  30/4 Mbps
                                    Pfsense 2.1-RELEASE (amd64)
                                    –------------------------------------------------------------
                                    Total Network Power Consumption - 29 Watts

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Ok, I appreciate that careful thought has to go into the design process. If one of the techniques used to improve the user experience is surveys then: what specifically don't you like about the menu?
                                      I could speculate that on modern ever larger aspect ratio displays it makes more sense to use vertical space for the menu. I notice, perhaps ironically, that almost all of the referenced UX websites have a horizontal menu across the top.  ;)

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • JeGrJ
                                        JeGr LAYER 8 Moderator
                                        last edited by

                                        I agree with Stephen. Just dropping a crude one-liner to a good effort on re-designing a theme is very much a pointless thing to do. And referencing a UX blah article, that does nothing to clear up the confusion about your lack of explaining why you dislike the main menu on top (when in fact your link shows many sites that have exactly that) is just - I don't know - senseless? If you want to criticize, feel free, but would it be too much then to actually tell, why you think it is a bad decision in general or subjectively?

                                        I can see both parts. I use quite a few (mobile) devices in portrait mode. A vertical menu bar would cut into the (limited) space of those devices so a top menu is great for those. On a big tablet I can easily go to landscape and a vertical menu would be nice. Dito for the big screen on the wall. So both have pros and cons.

                                        Greets

                                        Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                                        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kelsen
                                          last edited by

                                          Good afternoon, I've made some changes on metrolab theme, now it's showing alerts in bell icon as shown in screenshot below.

                                          1 Reply Last reply Reply Quote 0
                                          • I
                                            iFloris
                                            last edited by

                                            @kelsen:

                                            Good afternoon, I've made some changes on metrolab theme, now it's showing alerts in bell icon as shown in screenshot below.

                                            Looks really nice, I look forward to using your theme sometime soon!

                                            one layer of information
                                            removed

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.