2016-03-31 17:06:21 -06:00
< script src = "/static/js/header.js" > < / script >
< header >
< a href = "/" > < span class = 'logo' > < img class = 'icon' src = "/static/img/style/logo-28.png" alt = "+" > Tracman< / span > < / a >
< div class = 'hamburger hamburger--slider' aria-label = "Menu" aria-controls = "navigation" >
< div class = 'hamburger-box' >
< div class = 'hamburger-inner' > < / div >
< / div >
< / div >
< nav id = 'navigation' >
< ul >
2016-05-31 21:54:21 -06:00
{% if user %}
< li > < a href = "/map/{{user.slug}}" > Map< / a > < / li >
< li > < a href = "/map#share" > Share< / a > < / li >
< li > < a href = "/map#settings" > Settings< / a > < / li >
{% if user.isAdmin %}< li > < a href = "/admin" > Admin< / a > < / li > {% endif %}
2016-08-10 03:54:42 -06:00
< li > < a href = "/map#help" > Help< / a > < / li >
2016-05-31 21:54:21 -06:00
< li > < a href = "/logout" > Logout< / a > < / li >
{% else %}
2016-03-31 17:06:21 -06:00
< li > < a href = "/#overview" > About< / a > < / li >
2016-05-31 21:54:21 -06:00
< li > < a href = "/map/keith" > Demo< / a > < / li >
2016-08-09 23:51:49 -06:00
< li > < a href = "/#join" > Join< / a > < / li >
2016-03-31 17:06:21 -06:00
< li > < a href = "/login" > Login< / a > < / li >
{% endif %}
< / ul >
< / nav >
< / header >
2017-02-15 02:08:39 -07:00
<!-- Sitewide notificaton -->
< div class = 'header alert alert-warning alert-dismissible' >
< strong > Tracman is going through a server migration and various technical issues. Sorry for the inconvienence! < br > You can encourage me to work on it by < a href = "https://cash.me/$KeithIrwin" > making a donation< / a > .
< a href = "#" class = 'close' data-dismiss = "alert" aria-label = "close" > < i class = 'fa fa-times' > < / i > < / a >
< / div >
2016-03-31 17:06:21 -06:00
{% if error %}
< div class = 'header alert alert-danger alert-dismissible' >
2016-08-09 23:51:49 -06:00
< strong > < i class = "fa fa-exclamation-circle" > < / i > ERROR:< / strong > {{error|safe}}
2016-03-31 17:06:21 -06:00
< a href = "#" class = 'close' data-dismiss = "alert" aria-label = "close" > < i class = 'fa fa-times' > < / i > < / a >
< / div >
{% elif success %}
< div class = 'header alert alert-success alert-dismissible' >
< strong > < i class = "fa fa-check-circle" > < / i > Success!< / strong > {{ success | safe }}
< a href = "#" class = 'close' data-dismiss = "alert" aria-label = "close" > < i class = 'fa fa-times' > < / i > < / a >
< / div >
2016-05-31 21:54:21 -06:00
{% endif %}