Files
@ 3ffa5fab60de
Branch filter:
Location: symposion_app/pinaxcon/templates/sitetree_header.html - annotation
3ffa5fab60de
1.6 KiB
text/html
Don't require login to view qrcode
* The qrcode contains no information that isn't in the URL you used to
access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
mail client
Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
* The qrcode contains no information that isn't in the URL you used to
access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
mail client
Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
4f106a0cd4cd 9f0bb9178fc3 e86a811f3863 02dc082958cf e86a811f3863 e86a811f3863 e86a811f3863 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 e86a811f3863 e86a811f3863 e86a811f3863 9f0bb9178fc3 e86a811f3863 02dc082958cf 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 9f0bb9178fc3 e86a811f3863 02dc082958cf 9f0bb9178fc3 9f0bb9178fc3 e86a811f3863 4f106a0cd4cd | {% load sitetree %}
<nav class="navbar navbar-lca" role="navigation">
<div class="container-fluid">
{% for item in sitetree_items %}
{% if forloop.counter == 1 %}
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand logo" href="{% sitetree_url for item %}">
<img src="https://linux.conf.au/media/img/LCA18_nodate.svg" height="80" alt="linux.conf.au 2018" />
</a>
</div>
{% else %}
{% if forloop.counter == 2 %}
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
{% endif %}
<li class="{% if item.has_children %}dropdown{% endif %} {% if item.is_current or item.in_current_branch %}active{% endif %}">
<a href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}" {% if item.has_children %}class="dropdown-toggle" data-toggle="dropdown"{% endif %}>
<span>
{{ item.title_resolved }} {% if item.has_children %}<b class="caret"></b>{% endif %}
</span>
</a>
{% if item.has_children %}
{% sitetree_children of item for menu template "sitetree/menu_bootstrap3_dropdown.html" %}
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</nav>
|