diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-24 22:27:04 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-24 22:27:04 +1200 |
| commit | 11896d21182d3afe14d7fa7a5c6ecc64d7fb636c (patch) | |
| tree | d4f20eddbcddb4e2e8addec0cf3c712955364a10 /libpathod/templates | |
| parent | eb1f2c3fc40ccfc0db60776412add6a35af93bf9 (diff) | |
| download | mitmproxy-11896d21182d3afe14d7fa7a5c6ecc64d7fb636c.tar.gz mitmproxy-11896d21182d3afe14d7fa7a5c6ecc64d7fb636c.tar.bz2 mitmproxy-11896d21182d3afe14d7fa7a5c6ecc64d7fb636c.zip | |
Turn off /log when noapi is set.
Diffstat (limited to 'libpathod/templates')
| -rw-r--r-- | libpathod/templates/frame.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpathod/templates/frame.html b/libpathod/templates/frame.html index f176b15d..416f3eca 100644 --- a/libpathod/templates/frame.html +++ b/libpathod/templates/frame.html @@ -38,7 +38,9 @@ <div class="nav-collapse"> <ul class="nav"> <li {% if section== "main" %} class="active" {% endif %}><a href="/">home</a></li> + {% if not noapi %} <li {% if section== "log" %} class="active" {% endif %}><a href="/log">log</a></li> + {% endif %} <li class="dropdown {% if section== "docs" %}active{% endif %}"> <a class="dropdown-toggle" data-toggle="dropdown"> docs |
