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

    BOUNTY: Web GUI reprogramming

    Scheduled Pinned Locked Moved Bounties
    256 Posts 31 Posters 195.3k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Maybe a 32bit/64bit issue? Is there anything compiled in there?

      It works fine for me on a 32bit nano install, a few days weeks old though:

      2.1-BETA1 (i386)
      built on Wed May 15 13:19:07 EDT 2013 
      

      Looks good.  :)

      Steve

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

        Thanks for testing Stephen.

        ~~Its odd it's not working for c0urier  as the only changes are a few lines to the index.php and some added Jquery to a javascript file.

        @c0urier I pm'd you~~

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

          The index.php file was located in /usr/local/www/themes for some reason.
          But I can't explain why it ended there as it asked to overwrite index.php.

          It works now, thanks!

          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

            Glad to here it!  ;)

            For anyone else trying this please make sure when copying you copy the files to the correct location you need to be copying from the root of the zip files ie if you extracted the zip to a folder called tmp you need to cd into tmp
            cd /location/of/folder/tmp/
            scp -r * root@192.168.0.50:/usr/local/www/

            that will place index.php to /usr/local/www/index.php (overwrite)
            and the full_screen folder to /usr/local/www/themes/full_screen

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

              tiny bug fix to bring this inline with my github.

              Found a bug a few days ago where it was adding the add/delete column buttons to the picture widget

              If your updating it may be easier to make the change yourself (usr/local/www/themes/full_screen/loader.js line 111):

              change

              jQuery('form')
              
              

              to:

              jQuery('form[action="index.php"]')
              

              as seen here: https://github.com/CharlieMarshall/pfsense/commit/0e94111d38c67d56901df3573e8af29afaf767d8

              or download the whole theme from:

              download link: https://dl.dropboxusercontent.com/u/12367642/full_screen_theme.zip
              youtube video: http://youtu.be/irglXyn41Ys
              Installation instructions: http://forum.pfsense.org/index.php/topic,48140.msg338715.html#msg338715

              1 Reply Last reply Reply Quote 0
              • S
                Supermule Banned
                last edited by

                Also working for 2.0.3?

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

                  @Supermule:

                  Also working for 2.0.3?

                  Afraid not, jQuery is a requirement which got added in 2.1.

                  I can try and hack one together for you.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Supermule Banned
                    last edited by

                    That would be awesome!

                    Then we could have a package for that if possible!

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

                      There seem to be some spurious add/delete column buttons on the RRD graph page.

                      Steve

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

                        See about 5 posts above. I think that will fix it. Let me know if not

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

                          Hmm, yes I saw that and made the change. Perhaps the old file is cached. I'll look again.
                          Edit: Yep, fixed.  :)

                          Steve

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

                            I can't get this working with current RC.
                            2.1-RC0 (amd64)
                            built on Wed Jun 12 06:19:17 EDT 2013

                            I've tried to redownload the package:
                            cd /usr/local/www
                            fetch https://dl.dropboxusercontent.com/u/12367642/full_screen_theme.zip
                            unzip full_screen_theme.zip

                            index.php source:
                            http://pastebin.com/0vZbd5qk

                            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

                              that's the original index.html it doesn't look like you have overridden it with the index.php from the zip

                              Same problem you had before

                              1 Reply Last reply Reply Quote 0
                              • G
                                gogol
                                last edited by

                                @charlie0440:

                                that's the original index.html it doesn't look like you have overridden it with the index.html from the zip

                                Same problem you had before

                                I downloaded the widescreen package zip today from dropbox, but there is no index.php.in it

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

                                  @gogol this technically isn't the widescreen package, it acts the same but creates  new theme called full_screen which is widescreen. If you downloaded from the link listed 2 posts above by c0urier there is definitely a index.php file, inside the zip there is the following:

                                  index.php
                                  themes (folder)

                                  Edit: On another note I see there was a commit merged with master while I was on holiday which made a slight alteration to index.php (charset encoding). I will update the zip tonight to add this change:

                                  
                                  162	 	 -
                                   	162	 +
                                  
                                  165	 	 -  
                                   	165	 +  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    c0urier
                                    last edited by

                                    You might be right, but when I do:
                                    [2.1-RC0][USER@FIREWALL]/usr/local/www(22): unzip full_screen_theme.zip
                                    Archive:  full_screen_theme.zip
                                    replace index.php? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
                                     inflating: index.php
                                    replace themes/full_screen/all.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: A

                                    And it's still the same, should it be replacing the original index.php file?

                                    [2.1-RC0][USER@FIREWALL]/usr/local/www(28): rm index.php
                                    Gives me - 404 - Not Found
                                    [2.1-RC0][USER@FIREWALL]/usr/local/www(29): unzip full_screen_theme.zip
                                    Archive:  full_screen_theme.zip
                                     inflating: index.php
                                    replace themes/full_screen/all.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: A

                                    Gives me a working site with the following code:
                                    http://pastebin.com/VagW2iYB

                                    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
                                    • G
                                      gogol
                                      last edited by

                                      @charlie0440:

                                      @gogol this technically isn't the widescreen package, it acts the same but creates  new theme called full_screen which is widescreen. If you downloaded from the link listed 2 posts above by c0urier there is definitely a index.php file, inside the zip there is the following:

                                      index.php
                                      themes (folder)

                                      Edit: On another note I see there was a commit merged with master while I was on holiday which made a slight alteration to index.php (charset encoding). I will update the zip tonight to add this change:

                                      
                                      162	 	 -
                                       	162	 +
                                      
                                      165	 	 -  
                                       	165	 +  
                                      

                                      Thanks, maybe something went wrong on my end.
                                      I wonder why your commit #654 still isn't merged.
                                      Your "index.php" is now based on which version of the snapshot? I don't have the latest and I don't want to make a mess. I didn't replace it for now.

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

                                        If your upgrading this theme/package:
                                        For 2.1 snapshots pre the 31/6/13 use this zip https://www.dropbox.com/s/3tl7w7r9prpwnfp/full_screen_theme.zip
                                        For 2.1 snapshots from the 1/6/13 onwards use this zip https://www.dropbox.com/s/9dyg3h4xv6772gv/full_screen_theme.zip

                                        And if your installing for the very first time try the following ones:
                                        The difference with the following is the code looks for a theme which ends with a "_fs" therefore the new theme is renamed to "pfsense_ng_fs":

                                        For 2.1 snapshots pre the 31/6/13 use this zip: https://www.dropbox.com/s/10pyulp2u5h57og/pfsense_ng_fs.zip
                                        For 2.1 snapshots from the 1/6/13 onwards use this zip: https://www.dropbox.com/s/ptolo3x6ui35y1y/pfsense_ng_fs.zip

                                        I can now work on making other themes widescreen, I got the metallic theme, metallic_fs, working last night ;)

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

                                          That worked. Thanks!

                                          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

                                            A little update…

                                            The theme I created "pfsense_ng_fs" was merged into master last month, unfortunately this was too late for 2.1 but will be in 2.2 and once 2.1 is released everyone can test it via a nightly build ;)

                                            Since the merge I have made a small change to the theme and a number of cosmetic changes to the dashboard / widgets to improve how they scale with the theme ie when creating more or deleting columns and some generic tidying up in places. List of changes available here.

                                            On my 1080p screen 6 columns is in my opinion the viable maximum number of columns but 5 gives me the most usability. I coded it so that the maximum number of columns is 10 (this is obviously now hardcoded into pfsense) mainly to accommodate users with a 2k and above screen resolution (lucky buggers). It is also written so any themes whose name ends in "_fs" can add/delete columns so more widescreen themes can be created. Any request for a theme to become full screen with additional columns? I assume the "pgsense_ng" theme is the most popular which mine was based on.

                                            I suspect that all the existing widescreen packages will break with the changes committed to master (2.2) but then hopefully these will not be needed as pfsense core now has a widescreen theme.

                                            All feedback welcome. But I guess I will have to wait until 2.1 is released first for major testing.

                                            preview

                                            View some more screenshots here > http://imgur.com/a/NMZOc

                                            I realise this is probably not the best thread to post this in, but this is where the discussion started. I have not made the changes as set out in this thread and am therefore not looking for the bouty. Just helping out where I can  :)

                                            Edit: If you haven't tried the theme you create / delete new columns from some buttons under the add widget buttons. View the screenshots to understand what I am talking about.

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