• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 May 11, 2012, 10:53 AM May 11, 2012, 10:44 AM

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

    1 Reply Last reply Reply Quote 0
    • N
      Nachtfalke
      last edited by May 11, 2012, 11:37 AM

      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 May 12, 2012, 11:16 AM

        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 May 12, 2012, 1:03 PM

          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 May 14, 2012, 9:24 AM

            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 May 15, 2012, 9:34 AM

              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
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received