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

    BOUNTY: Web GUI reprogramming

    Scheduled Pinned Locked Moved Bounties
    256 Posts 31 Posters 176.5k 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.
    • K
      kelsen
      last edited by

      CSRF is a security measure, what it does for example is if you were logged into the GUI via a Chrome browser, someone couldn’t issue a Curl post command, they would have to login via Curl first to get a CSRF.

      I discovered later that I was copying from google chrome code view, it was a mistake.

      How do you plan on releasing your theme when finished?

      indeed it must be a package, I'm trying to get help from @marcelloc on this matter; as you said, I've based my work on 2.1, I didn't know what I was doing on github to tell the truth.

      1. My work is intended to 2.1, I realised that would be to difficult to push it to master branch,maybe I can start from scratch  for 2.2, I don't know, I'm tired.

      Secondly, if this is a single theme and not compatible with the other themes, all code allowing themeing/skinning etc should be removed.

      right, I'll take a look.

      Basically instead of hacking the current working it should be rewritten from scatch.

      This may or not consume all my time, I'll see what can be done, as I said, I'm tired, this is a great effort for me, I admire the pfSense team for their work..

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

        @kelsen:

        This may or not consume all my time, I'll see what can be done, as I said, I'm tired, this is a great effort for me, I admire the pfSense team for their work..

        As a fellow user, I can say that I admire your work. Thanks for the effort you are putting into your vision of a next gen web interface for pfsense.

        one layer of information
        removed

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

          I've started a new theme, this time I forked master branch.
          There is no javascript and nothing else that could disrupt the WebGUI and other themes, it looks similar to the metrolab theme except the menu and ícons.
          The theme Metrolab is with some bug and will be stopped for now, until I have time and courage to remake it in the master branch or someone willing to help.

          1 Reply Last reply Reply Quote 0
          • B
            burnsl
            last edited by

            I am curious where this project is, as i think the work is awesome!

            Very eager to use this multi-column GUI.

            Is it stable and available yet?

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

              @burnsl it is in:

              pfsense 2.2 under a new theme called pfsense_ng_fs (obviously not released yet and no snapshots are currently available). It is also in a new theme "code-blue_fs" which is awaiting review and may be merged in time for 2.2

              Alternatively go back to this post and you will find some instructions on how to install it on top of your 2.1 pfsense: http://forum.pfsense.org/index.php/topic,48140.msg369658.html#msg369658

              1 Reply Last reply Reply Quote 0
              • M
                Mr. Jingles
                last edited by

                I think I found a bug  ;D

                I installed it per the instructions on page 13 of this thread. After that, the traffic shaper wouldn't update anymore (Status/queues), it just showed 'loading' for minutes (in IE10, FF25, Opera). Switching back to the default 'skin' gave the updating of the traffic queues back.

                6 and a half billion people know that they are stupid, agressive, lower life forms.

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

                  @Hollander - indeed you have. Think I have found the cause just got to figure out how to fix it.

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

                    @Hollander, should be fixed, please test https://dl.dropboxusercontent.com/u/12367642/myTheme.zip

                    Install as before:

                    download zip
                    tar -xvzf myTheme.tar.gz
                    cd myTheme/
                    scp -r * root@pfsenseIPaddress:/

                    #example:  scp -r * root@192.168.1.1:/

                    1 Reply Last reply Reply Quote 0
                    • M
                      Mr. Jingles
                      last edited by

                      @charlie0440:

                      @Hollander - indeed you have. Think I have found the cause just got to figure out how to fix it.

                      Well if it took you 37 minutes to figure out how to fix it and fix it, then I'd would say: don't let us call you, you call us  ;D ;D ;D ;D ;D

                      It appears to working now, so thank you very, very much  :P

                      6 and a half billion people know that they are stupid, agressive, lower life forms.

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

                        @charlie0440

                        I didn't notice this until now - But some of the widgets are not updating on one of my installs. I only became aware of this, when I made a clean install on another box, and install your theme, there I saw that all widgets were updating (Gateways, Firewall, Interface statistics etc). But on my old install these are not updating, actually the only thing updating is the Traffic graphs, Uptime, Current date/Time, MBUF Usage, Load average, CPU usage and Memory usage), do you have any idea why?

                        I tried enabling the standard theme pfsense_ng - Removing all widgets and reapplying them again, this didn't change anything - So I hoped you might have an idea of why =).

                        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, not looked into this. Before I do is it possible for you to try one of the 2.1.1-PRERELEASE Snapshots Available No need to apply any of my patches they should all be applied already in the snapshots.

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

                            hi @Charlie0440 - I tried upgrading all widgets are updating now, but I can only have two side by side columns in the widescreen.

                            Any suggestions?

                            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

                              my mistake, although my work was pulled into master a long time ago, it hasn't been pulled into the 2.1 branch. I will have to create a PR for this. I have very limited spare time at the mo and there is no guarantee it will be accepted, are we in feature freeze??.

                              If someone wants to do this please feel free, the commits are already in master.

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

                                @charlie0440:

                                my mistake, although my work was pulled into master a long time ago, it hasn't been pulled into the 2.1 branch. I will have to create a PR for this. I have very limited spare time at the mo and there is no guarantee it will be accepted, are we in feature freeze??.

                                If someone wants to do this please feel free, the commits are already in master.

                                Can I reapply your old packages to get the widescreen back, or how should I proceed? =)

                                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

                                  It almost worked.

                                  Small cosmetic error, but else everything seems to update.

                                  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

                                    @charlie0440 - Will you make one that is fully compatible with 2.1.1?

                                    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
                                    • J
                                      justincase
                                      last edited by

                                      Applying this patch:
                                      https://github.com/melomac/widescreen_fs

                                      On pfSense 2.1.1 pfsense_ng theme works.

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

                                        Some warnings during install, but it worked perfectly.

                                        And no cosmetic errors.

                                        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

                                          nice saved me some work ;)

                                          ~~Sorry guys been really busy recently. Just finished a project I was working on so will try and get a PR of this into 2.2 as 2.1.1 seems to be released (at least my box is telling me an update is available for the last few days).

                                          I can submit a PR but I don't know whether it will be accepted. Its been in master for ages but I think that will become pfsense 3, which I guess is a loooonnngggg way off~~

                                          Edit master branch is 2.2 so shouldn't be too long until its ready. Its already live in the the 2.2 snapshots! - https://forum.pfsense.org/index.php?topic=74154.15

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            justincase
                                            last edited by

                                            @c0urier:

                                            Some warnings during install, but it worked perfectly.

                                            Yes, you are right.

                                            Turns out:

                                            • I could check for "pfsense_ng_fs" theme folder before patching, and remove it, but that would assumes nobody modified the theme after the patch and could lead to unwanted data loss.

                                            • I could check for existance of backup'd "index.php.orig", diff and count diff'd lines, and if 0 erase the backup file, but it would assumes, again, that "index.php" file didn't change during update.

                                            As assumptions are bad, I suggest people who don't fully understand the patch should go through the revert part of the README before upgrading pfSense and launching the patch again.

                                            If you already applied the patch and already upgraded to let's say pfSense 2.1.1 or 2.1.2, then just patch index.php file and remove pfsense_ng folder inside /usr/local/www/themes/pfsense_ng_fs folder, i.e. /usr/local/www/themes/pfsense_ng_fs/pfsense_ng

                                            Sorry for that, I should spend more time understanding the subtilities of cp CLI and / :-)

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