Navigation

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

    Share your Captive Portal Page

    Captive Portal
    3
    4
    7623
    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.
    • M
      mikeisfly last edited by

      I wanted to dress up my captive portal page and looking around the Internet for one, since I'm not a HTML/CSS designer. I found a template that I thought was really nice and the developer shared it on GitHub. I'm sharing it here for anyone else who wanted something better than the built in one. This portal does have a responsive design that will resize depending on the device accessing the Captive Portal. There seems to be a lot of things in the file that are not needed but I haven't really had the time to optimize the file(s).

      These guys/gals below deserve all the credit all I did was download their work and change a few lines of code for my needs. I am currently running on PfSense 2.4.3.a.20171227.0927 (Developmental).

      https://github.com/perasis/pfsense-captive-portal-template
      https://calvin.me/pfsense-captive-portal/
      https://www.reddit.com/r/PFSENSE/comments/4m5gdu/responsive_captive_portal/

      –Note---
      You will have to take the .txt files and rename them to .html for this to work for you.
      The images are embedded in the file, I encoded them to base64 you can use this site https://www.browserling.com/tools/image-to-base64
      to encode your img files and edit the code to change the background to what ever you want.

      *Did a edit to today to fix all the grammer mistakes. Guess I shouldn't post when I am really really tired.











      CP1-Username-password.html.txt
      errorpage-CP1-Username-password.html.txt
      login-username-password-token.html.txt
      error-username-password-token.html.txt
      logout-username-password-token.html.txt

      1 Reply Last reply Reply Quote 0
      • Gil
        Gil Rebel Alliance last edited by

        Nice. thanks for sharing

        11 cheers for binary

        1 Reply Last reply Reply Quote 0
        • M
          mikeisfly last edited by

          @Gil:

          Nice. thanks for sharing

          Your welcome.

          1 Reply Last reply Reply Quote 0
          • S
            superalphful last edited by

            Hi thanks for sharing, my problem is how do I edit this? All i want is the voucher thing not the user name and pass..

            1 Reply Last reply Reply Quote 0
            • First post
              Last post