mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
softcode landing page
This commit is contained in:
parent
18d253c32c
commit
445a509a17
4 changed files with 9 additions and 6 deletions
|
@ -205,10 +205,10 @@ def android(environ, start_response):
|
||||||
def android_splash(environ, start_response):
|
def android_splash(environ, start_response):
|
||||||
en_txt={ 'message':"Click on the button to go to the IIAB home page",\
|
en_txt={ 'message':"Click on the button to go to the IIAB home page",\
|
||||||
'btn1':"GO TO IIAB HOME PAGE", \
|
'btn1':"GO TO IIAB HOME PAGE", \
|
||||||
"FQDN": fully_qualified_domain_name, \
|
"FQDN": fully_qualified_domain_name + '{{ captiveportal_splash_page }}', \
|
||||||
'doc_root':get_iiab_env("WWWROOT") }
|
'doc_root':get_iiab_env("WWWROOT") }
|
||||||
es_txt={ 'message':"Haga clic en el botón para ir a la página de inicio de IIAB",\
|
es_txt={ 'message':"Haga clic en el botón para ir a la página de inicio de IIAB",\
|
||||||
"FQDN": fully_qualified_domain_name, \
|
"FQDN": fully_qualified_domain_name, + '{{ captiveportal_splash_page }}' \
|
||||||
'btn1':"IIAB",'doc_root':get_iiab_env("WWWROOT")}
|
'btn1':"IIAB",'doc_root':get_iiab_env("WWWROOT")}
|
||||||
txt = en_txt
|
txt = en_txt
|
||||||
if lang == "en":
|
if lang == "en":
|
||||||
|
@ -227,10 +227,10 @@ def android_https(environ, start_response):
|
||||||
en_txt={ 'message':"""Please ignore the SECURITY warning which appears after clicking the first button""",\
|
en_txt={ 'message':"""Please ignore the SECURITY warning which appears after clicking the first button""",\
|
||||||
'btn2':'Click this first Go to the browser we need',\
|
'btn2':'Click this first Go to the browser we need',\
|
||||||
'btn1':'Then click this to go to IIAB home page',\
|
'btn1':'Then click this to go to IIAB home page',\
|
||||||
"FQDN": fully_qualified_domain_name, \
|
"FQDN": fully_qualified_domain_name + '{{ captiveportal_splash_page }}', \
|
||||||
'doc_root':get_iiab_env("WWWROOT") }
|
'doc_root':get_iiab_env("WWWROOT") }
|
||||||
es_txt={ 'message':"Haga clic en el botón para ir a la página de inicio de IIAB",\
|
es_txt={ 'message':"Haga clic en el botón para ir a la página de inicio de IIAB",\
|
||||||
"FQDN": fully_qualified_domain_name, \
|
"FQDN": fully_qualified_domain_name + '{{ captiveportal_splash_page }}', \
|
||||||
'btn1':"IIAB",'doc_root':get_iiab_env("WWWROOT")}
|
'btn1':"IIAB",'doc_root':get_iiab_env("WWWROOT")}
|
||||||
txt = en_txt
|
txt = en_txt
|
||||||
if lang == "en":
|
if lang == "en":
|
||||||
|
@ -250,10 +250,10 @@ def mac_splash(environ,start_response):
|
||||||
logger.debug("in function mac_splash")
|
logger.debug("in function mac_splash")
|
||||||
en_txt={ 'message': "Click on the button to go to the IIAB home page",\
|
en_txt={ 'message': "Click on the button to go to the IIAB home page",\
|
||||||
'btn1': "GO TO IIAB HOME PAGE",'success_token': 'Success',
|
'btn1': "GO TO IIAB HOME PAGE",'success_token': 'Success',
|
||||||
"FQDN": fully_qualified_domain_name, \
|
"FQDN": fully_qualified_domain_name + '{{ captiveportal_splash_page }}', \
|
||||||
'doc_root':get_iiab_env("WWWROOT")}
|
'doc_root':get_iiab_env("WWWROOT")}
|
||||||
es_txt={ 'message':"Haga clic en el botón para ir a la página de inicio de IIAB",\
|
es_txt={ 'message':"Haga clic en el botón para ir a la página de inicio de IIAB",\
|
||||||
"FQDN": fully_qualified_domain_name, \
|
"FQDN": fully_qualified_domain_name + '{{ captiveportal_splash_page }}', \
|
||||||
'btn1':"IIAB",'doc_root':get_iiab_env("WWWROOT")}
|
'btn1':"IIAB",'doc_root':get_iiab_env("WWWROOT")}
|
||||||
txt = en_txt
|
txt = en_txt
|
||||||
if lang == "en":
|
if lang == "en":
|
||||||
|
|
|
@ -84,6 +84,7 @@ dns_jail_enabled: False
|
||||||
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
||||||
captiveportal_install: False
|
captiveportal_install: False
|
||||||
captiveportal_enabled: False
|
captiveportal_enabled: False
|
||||||
|
captiveportal_splash_page: /
|
||||||
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Bluetooth PAN access to IIAB server
|
# Bluetooth PAN access to IIAB server
|
||||||
|
|
|
@ -84,6 +84,7 @@ dns_jail_enabled: False
|
||||||
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
||||||
captiveportal_install: False
|
captiveportal_install: False
|
||||||
captiveportal_enabled: False
|
captiveportal_enabled: False
|
||||||
|
captiveportal_splash_page: /
|
||||||
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Bluetooth PAN access to IIAB server
|
# Bluetooth PAN access to IIAB server
|
||||||
|
|
|
@ -84,6 +84,7 @@ dns_jail_enabled: False
|
||||||
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
|
||||||
captiveportal_install: False
|
captiveportal_install: False
|
||||||
captiveportal_enabled: False
|
captiveportal_enabled: False
|
||||||
|
captiveportal_splash_page: /
|
||||||
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Bluetooth PAN access to IIAB server
|
# Bluetooth PAN access to IIAB server
|
||||||
|
|
Loading…
Reference in a new issue