Remove the old login page under hotspot directory.Click on Files menu item to open File List window. Login to MikroTik Router again with Winbox software.The following steps will show how to upload the edited file in MikroTik Router. Step 3: Uploading Edited Login Page to MikroTik RouterĪfter editing login page, we will now upload the edited file to MikroTik Router. Note: if you have any image in login page, the image must upload in hotspot/img directory and add the image source as /img/logo.png where logo.png is an image file that representing company logo. So, if you have HTML, CSS and JavaScript experience, you can easily extend your login page functionality. The above code is written for a simple login page but it includes all required HTML, CSS and JavaScript code as example. moz-box-shadow: 3px 3px 5px 6px #ccc /* Firefox 3.5 - 3.6 */ĭocument.getElementById("date").innerHTML = dt.toLocaleDateString() ĭocument.getElementById("time").innerHTML = today.toLocaleTimeString() The entire HTML, CSS and JavaScript code is given below for your reference. I have rearranged the login page and applied some designs on it in my LAB Hotspot Server. Keeping the above restrictions in mind we are now free to customize the login page as our wish. CSS selector like class and id can be applied to any HTML element for designing purpose. If we wish we can remove the table element replacing with any suitable HTML tag for designing purpose but we must keep the form element and its action untouched as well as the input elements and its attributes. Hotspot login area is a HTML form which is aligned with static table element. So, in this article I will discuss how to customize Hotspot Login page according to our demand so easily. Default Hotspot configuration provides a login page that we may find boring and not so perfect for our organization. In my previous article, I discussed how to configure MikroTik Hotspot using Winbox. So, knowing simple HTML, CSS and JavaScript, we can easily customize Hotspot login page according to our demand and can also put partner’s ads in login page to increase earning. MikroTik Hotspot is nothing but a HTML page. As no user can get internet access without visiting Hotspot login page, the login page is main space for serving ads. Although public network is a free network service, it can be a better source of income by serving ads. Besides premium Hotspot service, it can also be used as a public Hotspot network. MikroTik Hotspot is able to authenticate and authorize network users so easily. MikroTik Hotspot is an awesome service that can be customized according to any organization need.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |