diff --git a/src/Config.py b/src/Config.py index cfad90df..401473a7 100644 --- a/src/Config.py +++ b/src/Config.py @@ -8,7 +8,7 @@ class Config(object): def __init__(self, argv): self.version = "0.3.7" - self.rev = 1286 + self.rev = 1287 self.argv = argv self.action = None self.config_file = "zeronet.conf" diff --git a/src/Ui/media/Wrapper.css b/src/Ui/media/Wrapper.css index 2ded13c1..13681a26 100644 --- a/src/Ui/media/Wrapper.css +++ b/src/Ui/media/Wrapper.css @@ -2,6 +2,7 @@ body { margin: 0; padding: 0; height: 100%; background-color: #D2CECD; overflow: body.back { background-color: #090909 } a { color: black } +.unsupported { text-align: center; z-index: 999; position: relative; margin: auto; width: 480px; background-color: white; padding: 20px; border-bottom: 2px solid #e74c3c; box-shadow: 0px 0px 15px #DDD; font-family: monospace; } .template { display: none !important } #inner-iframe { width: 100%; height: 100%; position: absolute; border: 0 } /*; transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.8s ease-in-out*/ @@ -36,7 +37,6 @@ a { color: black } .fixbutton-bg:hover { background-color: #AF3BFF } .fixbutton-bg:active { background-color: #9E2FEA; top: 1px; transition: none } - /* Notification */ .notifications { position: absolute; top: 0; right: 80px; display: inline-block; z-index: 999; white-space: nowrap } diff --git a/src/Ui/media/all.css b/src/Ui/media/all.css index a3995bc8..0321f9a4 100644 --- a/src/Ui/media/all.css +++ b/src/Ui/media/all.css @@ -7,6 +7,7 @@ body { margin: 0; padding: 0; height: 100%; background-color: #D2CECD; overflow: body.back { background-color: #090909 } a { color: black } +.unsupported { text-align: center; z-index: 999; position: relative; margin: auto; width: 480px; background-color: white; padding: 20px; border-bottom: 2px solid #e74c3c; -webkit-box-shadow: 0px 0px 15px #DDD; -moz-box-shadow: 0px 0px 15px #DDD; -o-box-shadow: 0px 0px 15px #DDD; -ms-box-shadow: 0px 0px 15px #DDD; box-shadow: 0px 0px 15px #DDD ; font-family: monospace; } .template { display: none !important } #inner-iframe { width: 100%; height: 100%; position: absolute; border: 0 } /*; transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.8s ease-in-out*/ @@ -41,7 +42,6 @@ a { color: black } .fixbutton-bg:hover { background-color: #AF3BFF } .fixbutton-bg:active { background-color: #9E2FEA; top: 1px; -webkit-transition: none ; -moz-transition: none ; -o-transition: none ; -ms-transition: none ; transition: none } - /* Notification */ .notifications { position: absolute; top: 0; right: 80px; display: inline-block; z-index: 999; white-space: nowrap } diff --git a/src/Ui/template/wrapper.html b/src/Ui/template/wrapper.html index 8dc17da3..2a61eba2 100644 --- a/src/Ui/template/wrapper.html +++ b/src/Ui/template/wrapper.html @@ -69,6 +69,9 @@ file_inner_path = "{file_inner_path}" permissions = {permissions} show_loadingscreen = {show_loadingscreen} server_url = '{server_url}' + +if (typeof WebSocket === "undefined") + document.body.innerHTML += "