diff --git a/burpui/templates/config.html b/burpui/templates/config.html index b2062f59..2a429e4d 100644 --- a/burpui/templates/config.html +++ b/burpui/templates/config.html @@ -12,48 +12,54 @@ {% endif -%}
-

Burp Configuration

-
- {% raw %} -
- Booleans -
- -
- - -   - -   - {{ server_doc[bool.name] }} +
+
+ + {% raw %} +
+ Booleans +
+ +
+ + +   + +   + {{ server_doc[bool.name] }} +
+
+
+
+ + {{$select.selected.name}} + +
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ Strings +
+ {% endraw %} +
+
+ +
-
-
-
- - {{$select.selected.name}} - -
-
-
-
-
- -
-
-
-
- -
-
-
- {% endraw %} -
-
- -
+
- + {% endblock %} diff --git a/burpui/templates/js/config.js b/burpui/templates/js/config.js index 82584aff..89f56a13 100644 --- a/burpui/templates/js/config.js +++ b/burpui/templates/js/config.js @@ -66,3 +66,8 @@ app.controller('MainCtrl', function($scope, $http) { $scope.add.bool = false; }; }); + +$(function() { + $('body').scrollspy({ target: '#navbar-config' }); +}); + diff --git a/burpui/templates/sidebar.html b/burpui/templates/sidebar.html index 7c8a5716..c1aabd59 100644 --- a/burpui/templates/sidebar.html +++ b/burpui/templates/sidebar.html @@ -27,4 +27,7 @@ {% endif %} + {% if config -%} + {% include "spyside.html" %} + {% endif -%} diff --git a/burpui/templates/spyside.html b/burpui/templates/spyside.html new file mode 100644 index 00000000..7f6ae60c --- /dev/null +++ b/burpui/templates/spyside.html @@ -0,0 +1,8 @@ + +

Configuration navigation

+