diff --git a/portalcautivo/._logo_colnodo.png b/portalcautivo/._logo_colnodo.png deleted file mode 100644 index 87206d8..0000000 Binary files a/portalcautivo/._logo_colnodo.png and /dev/null differ diff --git a/portalcautivo/alogin.html b/portalcautivo/alogin.html new file mode 100644 index 0000000..4167087 --- /dev/null +++ b/portalcautivo/alogin.html @@ -0,0 +1,49 @@ + + +mikrotik hotspot > redirect + + + + + + + + + + + + +
+ Has ingresando a RedINC.org +

+ Si no pasa nada, haz click AQUí
+ + diff --git a/portalcautivo/error.html b/portalcautivo/error.html new file mode 100644 index 0000000..af2a4d7 --- /dev/null +++ b/portalcautivo/error.html @@ -0,0 +1,40 @@ + + +mikrotik hotspot > error + + + + + + + + + + + +
+Hotspot ERROR: $(error)
+
+Login page: $(link-login) +
+ + diff --git a/portalcautivo/login.html b/portalcautivo/login.html index 07a5eec..4339caf 100644 --- a/portalcautivo/login.html +++ b/portalcautivo/login.html @@ -1,98 +1,376 @@ - - - -internet hotspot > login - - - - - - +td{ + font-weight: bolder; +} +input[type="submit"] { + background: -webkit-linear-gradient(left, #3931af, #00c6ff) !important;; + border: none; + padding: 5px 20px 5px 20px; + color: white; + font-weight: 600; + border-radius: 30px; + margin-top: 1em; +} + + .register { + background: -webkit-linear-gradient(left, #3931afb5, #00c6ff); + padding: 3%; + position: relative; + } + + .register-left { + text-align: center; + color: #fff; + margin-top: 4%; + } + + .register-left input { + border: none; + border-radius: 1.5rem; + padding: 2%; + width: 60%; + background: #f8f9fa; + font-weight: bold; + color: #383d41; + margin-top: 30%; + margin-bottom: 3%; + cursor: pointer; + } + + .register-right { + background: #f8f9fa; + border-top-left-radius: 20% 50%; + border-bottom-left-radius: 20% 50%; + } + + .register-left img { + margin-top: 15%; + margin-bottom: 5%; + width: 80%; + -webkit-animation: mover 2s infinite alternate; + animation: mover 1s infinite alternate; + } + + @-webkit-keyframes mover { + 0% { + transform: translateY(0); + } + 100% { + transform: translateY(-20px); + } + } + + @keyframes mover { + 0% { + transform: translateY(0); + } + 100% { + transform: translateY(-20px); + } + } + + .register-left p { + font-weight: lighter; + padding: 12%; + margin-top: -9%; + } + + .register .register-form { + padding: 10%; + margin-top: 10%; + } + + .btnRegister { + float: right; + margin-top: 10%; + border: none; + border-radius: 1.5rem; + padding: 2%; + background: #0062cc; + color: #fff; + font-weight: 600; + width: 50%; + cursor: pointer; + } + + .register .nav-tabs { + margin-top: 3%; + border: none; + background: #0062cc; + border-radius: 1.5rem; + width: 40%; + float: right; + } + + .register .nav-tabs .nav-link { + padding: 2%; + height: 34px; + font-weight: 600; + color: #fff; + border-top-right-radius: 1.5rem; + border-bottom-right-radius: 1.5rem; + } + + .register .nav-tabs .nav-link:hover { + border: none; + } + + .register .nav-tabs .nav-link.active { + width: 100%; + color: #0062cc; + border: 2px solid #0062cc; + border-top-left-radius: 1.5rem; + border-bottom-left-radius: 1.5rem; + } + + .register-heading { + text-shadow: rgb(0, 0, 0) 0px 2px 3px; + color: white; + text-align: center; + margin-left: 10%; + margin-top: 15%; + margin-bottom: -15%; + border-top-left-radius: 35px; + background: -webkit-linear-gradient(left, #3931af, #00c6ff) !important; + } + + .tab-content { + padding-top: 1em; + } + +.boton_entrar{ + margin-left: auto !important; + margin-right: auto !important; +} + + .circle_button { + box-shadow: 2px 4px 0 2px rgba(0, 0, 0, 0.1); + border: .5em solid #c7d400; + font-size: 1em; + line-height: 1.1em; + color: #ffffff; + background-color: #76be4e; + margin: auto; + border-radius: 50%; + height: 7em; + width: 7em; + position: relative; + } + + .circle_button:hover { + color: #ffffff; + background-color: #226093; + text-decoration: none; + border-color: #c7d400; + + } + + .circle_button:visited { + color: #ffffff; + background-color: #c7d400; + text-decoration: none; + + } + + .circle-link-greater-than { + font-size: 1em; + } + + +@media screen and (max-width:990px) { + .register .nav-tabs { + width: 80%; + } + + } + +@media screen and (max-width:768px) { + .register-left { + margin-top: 0px; + } + .register-left p { + font-weight: lighter; + padding: 0px; + margin-top: 0px; + } + .register-heading{ + font-size: 1em; + margin-left: 25px; + } + +} +@media only screen and (max-width: 425px) { + .register-right { + border-top-left-radius: 0% 50%; + border-bottom-left-radius: 0% 50%; + background:#f8f9fad4 + } + .register-left img { + width: 30%; + } +} + -$(if chap-id) -
- - - - -
+
+
+
+ +

¡Bienvenid@!

+

¡Estás muy cerca de entrar al mundo Web!

+
+
+ +
+
+

Entrar con Internet

+
+
+

Si tienes un código de acceso, ingrésalo aquí:

+ $(if chap-id) +
+ + + + +
- - -$(endif) + + + $(endif) - + + + + +
+ + + - -
+
+ + - - - - - -
-
Please log on to use the internet hotspot service
$(if trial == 'yes')Free trial available, click here.$(endif)

- - - + + +
- - - + + + + + + + + + + +
Usuario:
Contraseña:
 
+ +
- - - - - - - - - - -
login
password
 
- -
mikrotik
-
Powered by MikroTik RouterOS
- $(if error)
$(error)
$(endif) -
+ $(if error)
$(error)
$(endif) +
- + + + +
+ +
+
+
+

Ver contenidos sin Internet

+
+
+
+ +
+ +
+ + +
+
+
+
+ +
+ + + + + + diff --git a/portalcautivo/lv/alogin.html b/portalcautivo/lv/alogin.html new file mode 100644 index 0000000..ccae343 --- /dev/null +++ b/portalcautivo/lv/alogin.html @@ -0,0 +1,49 @@ + + +mikrotik hotspot > novirzt + + + + + + + + + + + + +
+ Js esat piesldzies +

+ Ja nekas nenotiek, klikiniet eit
+ + diff --git a/portalcautivo/lv/errors.txt b/portalcautivo/lv/errors.txt new file mode 100644 index 0000000..2b95d15 --- /dev/null +++ b/portalcautivo/lv/errors.txt @@ -0,0 +1,104 @@ +# This file contains error messages which are shown to user, when http/https +# login is used. +# These messages can be changed to make user interface more friendly, including +# translations to different languages. +# +# Various variables can be used here as well. Most frequently used ones are: +# $(error-orig) - original error message from hotspot +# $(ip) - ip address of a client +# $(username) - username of client trying to log in + +# internal-error +# It should never happen. If it will, error page will be shown +# displaying this error message (error-orig will describe what has happened) + +internal-error = sistēmas kļūda ($(error-orig)) + +# config-error +# Should never happen if hotspot is configured properly. + +config-error = konfigurācijas kļūda ($(error-orig)) + +# not-logged-in +# Will happen, if status or logout page is requested by user, +# which actually is not logged in + +not-logged-in = Jūs neesat pieslēdzies (ip $(ip)) + +# ippool-empty +# IP address for user is to be assigned from ip pool, but there are no more +# addresses in that pool + +ippool-empty = nevaru piešķirt IP adresi - nav vairāk brīvu adrešu krātuvē + +# shutting-down +# When shutdown is executed, new clients are not accepted + +shutting-down = hotspot serviss tiek apstādināts, mēģiniet pēc brīža vēlreiz + +# user-session-limit +# If user profile has limit of shared-users, then this error will be shown +# after reaching this limit + +user-session-limit = lietotājam $(username) vairāk sessijas nav atļautas + +# license-session-limit +# Depending on licence number of active hotspot clients is limited to +# one or another amount. If this limit is reached, following error is displayed. + +license-session-limit = ir sasniegts maksimālais sessiju skaits ($(error-orig)) + +# wrong-mac-username +# If username looks like MAC address (12:34:56:78:9a:bc), but is not +# a MAC address of this client, login is rejected + +wrong-mac-username = nepareizs lietotāja vārds ($(username)): šī MAC adrese nav tava + +# chap-missing +# If http-chap login method is used, but hotspot program does not receive +# back encrypted password, this error message is shown. +# Possible reasons of failure: +# - JavaScript is not enabled in web browser; +# - login.html page is not valid; +# - challenge value has expired on server (more than 1h of inactivity); +# - http-chap login method is recently removed; +# If JavaScript is enabled and login.html page is valid, +# then retrying to login usually fixes this problem. + +chap-missing = problēmas ar kodu (mēģiniet vēlreiz, atļaujiet JavaScript) + +# invalid-username +# Most general case of invalid username or password. If RADIUS server +# has sent an error string with Access-Reject message, then it will +# override this setting. + +invalid-username = nepareizs lietotāja vārds vai parole + +# invalid-mac +# Local users (on hotspot server) can be bound to some MAC address. If login +# from different MAC is tried, this error message will be shown. + +invalid-mac = lietotājam $(username) nav atļauts pieslēgties no šīs MAC adreses + +# uptime-limit, traffic-limit +# For local hotspot users in case if limits are reached + +uptime-limit = lietotāja $(username) atļautasi pieslēguma laiks ir beidzies +traffic-limit = lietotāja $(username) atļautais datu pārraides apjoms ir sasniegts + +# radius-timeout +# User is authenticated by RADIUS server, but no response is received from it, +# following error will be shown. + +radius-timeout = autorizācijas serveris neatbild (mēģiniet vēlreiz) + +# auth-in-progress +# Authorization in progress. Client already has issued an authorization request +# which is not yet complete. + +auth-in-progress = notiek autorizācija (mēģiniet vēlāk) + +# radius-reply +# Radius server returned some custom error message + +radius-reply = autorizācijas kļūda ($(error-orig)) diff --git a/portalcautivo/lv/login.html b/portalcautivo/lv/login.html new file mode 100644 index 0000000..e22c78c --- /dev/null +++ b/portalcautivo/lv/login.html @@ -0,0 +1,96 @@ + + + +mikrotik hotspot > ieeja + + + + + + + + +$(if chap-id) +
+ + + + +
+ + + +$(endif) + +
+English +
+ + + + + +
+
Lūdzu pieslēdzieties, lai lietotu mikrotik hotspot servisu.
$(if trial == 'yes')Lai izmēģinātu bez maksas, spiediet šeit..$(endif)

+ + + + + +
+
+ + + + + + + + + + + + + +
login
parole
 
+
+
mikrotik
+ +
nodrošina mikrotik routeros © 2005 mikrotik
+ $(if error)
$(error)
$(endif) +
+ + + + diff --git a/portalcautivo/lv/logout.html b/portalcautivo/lv/logout.html new file mode 100644 index 0000000..43966ab --- /dev/null +++ b/portalcautivo/lv/logout.html @@ -0,0 +1,73 @@ + + +mikrotik hotspot > atsldzies + + + + + + + + + + + + + +
+sessija ir aizvrta

+ + + + + +$(if session-time-left) + +$(endif) + +
lietotja vrds$(username)
IP adrese$(ip)
MAC adrese$(mac)
sesijas ilgums$(uptime)
atlikuais laiks$(session-time-left)
baiti prom/urp:$(bytes-in-nice) / $(bytes-out-nice)
+
+
+ +
+
+ + diff --git a/portalcautivo/lv/radvert.html b/portalcautivo/lv/radvert.html new file mode 100644 index 0000000..1c11f32 --- /dev/null +++ b/portalcautivo/lv/radvert.html @@ -0,0 +1,62 @@ + + +mikrotik hotspot > advertisement + + + + + + + + + + + + +
+ Reklma. +

+ Ja nekas nenotiek, atveriet + reklmu + parocgi. +
+ + diff --git a/portalcautivo/lv/status.html b/portalcautivo/lv/status.html new file mode 100644 index 0000000..7578b08 --- /dev/null +++ b/portalcautivo/lv/status.html @@ -0,0 +1,100 @@ + + +mikrotik hotspot > statuss +$(if refresh-timeout) + +$(endif) + + + + + + + + + + + +
+
+ +$(if login-by == 'trial') +
Sveiks!

+$(elif login-by != 'mac') +
Sveiks $(username)!

+$(endif) + + +$(if session-time-left) + +$(else) + +$(endif) +$(if blocked == 'yes') + +$(elif refresh-timeout) + +$(endif) + +
IP adrese:$(ip)
baiti prom/urp:$(bytes-in-nice) / $(bytes-out-nice)
ilgums / atlicis:$(uptime) / $(session-time-left)
ilgums:$(uptime)
statuss:
+nepiecieama reklma
intervls:$(refresh-timeout)
+$(if login-by-mac != 'yes') +
+ +$(endif) +
+
+ + diff --git a/portalcautivo/portal.html b/portalcautivo/portal.html deleted file mode 100644 index 8ed9006..0000000 --- a/portalcautivo/portal.html +++ /dev/null @@ -1,376 +0,0 @@ - - - - - - - - - - - - - - Acceso a la red comunitaria - - - - - - - - - -
-
-
- -

¡Bienvenid@!

-

¡Estás muy cerca de entrar al mundo Web!

-
-
- -
-
-

Entrar con Internet

-
-
-

Si tienes un código de acceso, ingrésalo aquí:

- $(if chap-id) -
- - - - -
- - - - $(endif) - - - - - -
- - - - - -
-
- - - - - - - - - - - - - -
Usuario:
Contraseña:
 
-
-
colnodo
- - - $(if error)
$(error)
$(endif) -
- - - - -
- -
-
-
-

Ver contenidos sin Internet

-
-
-
- -
- -
- - -
-
-
-
- -
- - - - - - - - diff --git a/portalcautivo/radvert.html b/portalcautivo/radvert.html new file mode 100644 index 0000000..033454c --- /dev/null +++ b/portalcautivo/radvert.html @@ -0,0 +1,62 @@ + + +mikrotik hotspot > advertisement + + + + + + + + + + + + +
+ Advertisement. +

+ If nothing happens, open + advertisement + manually. +
+ + diff --git a/portalcautivo/redirect.html b/portalcautivo/redirect.html new file mode 100644 index 0000000..fe49bb7 --- /dev/null +++ b/portalcautivo/redirect.html @@ -0,0 +1,12 @@ +$(if http-status == 302)Hotspot redirect$(endif) +$(if http-header == "Location")$(link-redirect)$(endif) + + +... + + + + + + + diff --git a/portalcautivo/rlogin.html b/portalcautivo/rlogin.html new file mode 100644 index 0000000..14ee1ce --- /dev/null +++ b/portalcautivo/rlogin.html @@ -0,0 +1,27 @@ +$(if http-status == 302)Hotspot login required$(endif) +$(if http-header == "Location")$(link-redirect)$(endif) + + + +... + + + + + + + diff --git a/portalcautivo/xml/WISPAccessGatewayParam.xsd b/portalcautivo/xml/WISPAccessGatewayParam.xsd new file mode 100644 index 0000000..75c1043 --- /dev/null +++ b/portalcautivo/xml/WISPAccessGatewayParam.xsd @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/portalcautivo/xml/alogin.html b/portalcautivo/xml/alogin.html new file mode 100644 index 0000000..35fcee7 --- /dev/null +++ b/portalcautivo/xml/alogin.html @@ -0,0 +1,18 @@ + diff --git a/portalcautivo/xml/error.html b/portalcautivo/xml/error.html new file mode 100644 index 0000000..602231a --- /dev/null +++ b/portalcautivo/xml/error.html @@ -0,0 +1,12 @@ + diff --git a/portalcautivo/xml/flogout.html b/portalcautivo/xml/flogout.html new file mode 100644 index 0000000..5ff46d3 --- /dev/null +++ b/portalcautivo/xml/flogout.html @@ -0,0 +1,11 @@ + diff --git a/portalcautivo/xml/login.html b/portalcautivo/xml/login.html new file mode 100644 index 0000000..a7486e5 --- /dev/null +++ b/portalcautivo/xml/login.html @@ -0,0 +1,22 @@ + diff --git a/portalcautivo/xml/logout.html b/portalcautivo/xml/logout.html new file mode 100644 index 0000000..33c55b4 --- /dev/null +++ b/portalcautivo/xml/logout.html @@ -0,0 +1,11 @@ + diff --git a/portalcautivo/xml/rlogin.html b/portalcautivo/xml/rlogin.html new file mode 100644 index 0000000..50d5a4f --- /dev/null +++ b/portalcautivo/xml/rlogin.html @@ -0,0 +1,15 @@ + diff --git a/weblocal/images/captiveportal-logoRedINC.png b/weblocal/images/captiveportal-logoRedINC.png new file mode 100644 index 0000000..6e52b1a Binary files /dev/null and b/weblocal/images/captiveportal-logoRedINC.png differ