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

    How to add an image as the background of CP instead of a plain color???

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 3 Posters 3.1k 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.
    • E
      EOC2611P
      last edited by

      Does anybody knows on how to do that???
      Thanks  ;D

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        You can create your custom html, .php page.
        You just have to implement the username, püassword and voucher textboxes. The rest is up to you.

        1 Reply Last reply Reply Quote 0
        • E
          EOC2611P
          last edited by

          Thanks Nachtfalke, that sounds really interesting, i will try to load up a webpage and see how does it goes, i am not going to use vouchers/usernames/passwords, but just a button that say something like "Click Here" to give free access to the web  ;D

          1 Reply Last reply Reply Quote 0
          • E
            EOC2611P
            last edited by

            It didn't work…. :-[

            I copied the current HTML code i am using on a page containing only a background picture, using a website's builder called "Site Spinner"(made by Virtual Mechanics), the result was that the non-western characters were displayed as question marks (=????) and no picture was displayed at all, the portal was displayed exactly as before, apart from the non english language which was lost, so i am in fact regressing instead of progressing  :D 
            Here is a copy of the HTML code i am using:

            content="text/html; charset=ISO-8859-1">

            <form method="post" action="$PORTAL_ACTION$" <br="">onsubmit="return CheckBoxesValidations() ;"> <input<br>name="redirurl" value="$PORTAL_REDIRURL$" type="hidden">

            <big><big><big>TEST TEXT AREA 1</big></big></big>

            ~.~.~.~.~

            <center>
              cellpadding="6" cellspacing="0" height="380"
            width="550">

            | bgcolor="#663366"> +++++++++++++++++++++++++++++  |
            |

            <center>
                    cellspacing="0" width="100%">

            |

            <center>

            <center>
                          cellspacing="5" width="100%">

            |

            <center>
                               <font<br>color="red" face="arial" size="+1">
                               </font<br>

            |

            <center>TEST TEXT AREA 2
            </center>

            |
            |

            <center>TEST TEXT AREA3 >>>>>??????????????????????????????????????????? </center>

            |
            |   |
            |   |
            | |

            |
            | | |
            | | |
            | | |
            | |

            <textarea<br>cols="50" rows="15" name="aup" id="aup">TEST TEXT AREA 4  ???????????????????????????????????????????????? ? ???????????????????????
            ????????? ??????????????????????????????????????????????????????????????????? ;)</textarea<br>

            |

            value="1" type="checkbox">Accept

            type="submit">
                               </center>

            |

            </center>

            </center>

            |

            </center>

            |

            </center></input<br> </form>

            1 Reply Last reply Reply Quote 0
            • N
              Noobie
              last edited by

              Hi EOC2611P

              Have a look at the page in the link below.
              http://forum.pfsense.org/index.php/topic,26141.0.html

              It helped me to customise my Login Page.

              1 Reply Last reply Reply Quote 0
              • E
                EOC2611P
                last edited by

                Yes thanks Noobie, that's a really great link you shared and just what i was needing, i choose the one posted by te user "lol" customising it a bit, however, there are also other great looking works there, thanks again!  ;D

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