]> git.ipfire.org Git - ipfire.org.git/commitdiff
Drop SSL information from footer
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 18 Jul 2018 18:11:02 +0000 (19:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 18 Jul 2018 18:11:02 +0000 (19:11 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html
src/web/handlers_base.py

index 08e331d382a57aa54daac592e8008107cf9b5921..7f819fdf9b5808550741a832d80abf9ad40c066a 100644 (file)
                                
                                <div id="copyright">
                                        <div class="container">
-                                               {% if ssl_protocol %}
-                                                       <p class="pull-right">
-                                                               <span class="fa fa-lock"></span> {{ ssl_protocol }}
-                                                               {% if ssl_cipher %}({{ ssl_cipher }}){% end %}
-                                                       </p>
-                                               {% end %}
-
                                                <p>&copy; {{ year }} - {{ _("IPFire is free software written by the IPFire Project") }}</p>
                                        </div>
                                </div>
index 711f3bc8fe203c7d6bc6ef6b2e85f9a559c13033..d740bde4f3ce5529d4a68c118cbce8c425dadf4a 100644 (file)
@@ -23,13 +23,6 @@ class BaseHandler(tornado.web.RequestHandler):
                # Remove the development prefix
                return self.request.host.replace(".dev.", ".")
 
-       @property
-       def ssl_params(self):
-               return {
-                       "ssl_cipher"   : self.request.headers.get("X-Https-Cipher", None),
-                       "ssl_protocol" : self.request.headers.get("X-Https-Protocol", None),
-               }
-
        @property
        def render_args(self):
                today = datetime.date.today()
@@ -40,7 +33,6 @@ class BaseHandler(tornado.web.RequestHandler):
                        "hostname" : self.hostname,
                        "year" : today.year,
                }
-               ret.update(self.ssl_params)
 
                return ret