pylint 1.4.3 version fixes
[cascardo/ipsilon.git] / templates / master-admin.html
index a5a696d..8987df9 100644 (file)
@@ -9,6 +9,18 @@
     <script src="{{ basepath }}/ui/js/jquery.js"></script>
     <script src="{{ basepath }}/ui/js/bootstrap.js"></script>
     <script src="{{ basepath }}/ui/js/patternfly.js"></script>
+    {% if newurl %}
+    <script>
+        $( document ).ready(
+            function() {
+                history.replaceState({} , document.title, "{{ newurl }}");
+                $('[data-toggle="tooltip"]').tooltip();
+            }
+        );
+    </script>
+    {% endif %}
+    {% block scripts %}
+    {% endblock %}
   </head>
   <body>
     <nav class="navbar navbar-default navbar-pf" role="navigation">