mirror of https://gitlab.com/brutaldon/brutaldon
Don't abuse   for spacing in header; use CSS instead.
Thanks, @emsenn!
This commit is contained in:
parent
c4c3117caa
commit
f1a7da0039
|
@ -239,3 +239,8 @@ input#id_poll_frequency
|
|||
text-decoration-line: underline;
|
||||
text-decoration-style: dotted;
|
||||
}
|
||||
|
||||
a.navbar-item span:nth-child(2):before
|
||||
{
|
||||
content: " ";
|
||||
}
|
||||
|
|
|
@ -223,3 +223,8 @@ body.has-navbar-fixed-top, html.has-navbar-fixed-top {
|
|||
text-decoration-line: underline;
|
||||
text-decoration-style: dotted;
|
||||
}
|
||||
|
||||
a.navbar-item span:nth-child(2):before
|
||||
{
|
||||
content: " ";
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
{% endif %}
|
||||
</head>
|
||||
<body ic-global-include='{"csrfmiddlewaretoken": "{{ csrf_token }}"}'>
|
||||
<div id="page-load-indicator"> </div>
|
||||
<div id="page-load-indicator"></div>
|
||||
<div id="new-toot-modal" class="modal"></div>
|
||||
{% block navbar %}
|
||||
<nav class="navbar is-primary" role="navigation"
|
||||
|
@ -82,7 +82,7 @@
|
|||
<div class="navbar-start">
|
||||
<a href="{% url "home" %}" class="navbar-item">
|
||||
<span class="fa fa-home"></span>
|
||||
<span> Home</span>
|
||||
<span>Home</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="{% url "note" %}">
|
||||
<span class="fa fa-bell-o"></span>
|
||||
|
@ -96,53 +96,53 @@
|
|||
class="badge"
|
||||
{% endif %}
|
||||
data-badge="{{ notifications }}">
|
||||
Notifications</span>
|
||||
Notifications</span>
|
||||
</span>
|
||||
{% elif notifications and preferences.notifications %}
|
||||
<span ic-src="{% url 'notes_count' %}"
|
||||
ic-poll="{{ preferences.poll_frequency }}s"
|
||||
ic-target="this"
|
||||
ic-select-from-response="#notes-count">
|
||||
<span > Notifications ({{ notifications }})</span>
|
||||
<span >Notifications ({{ notifications }})</span>
|
||||
</span>
|
||||
{% else %}
|
||||
<span > Notifications</span>
|
||||
<span >Notifications</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
<a class="navbar-item" href="{% url "local" %}">
|
||||
<span class="fa fa-community"></span>
|
||||
<span > Local</span>
|
||||
<span >Local</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="{% url "fed" %}">
|
||||
<span class="fa fa-globe"></span>
|
||||
<span > Federated</span>
|
||||
<span >Federated</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="{% url "toot" %}"
|
||||
ic-get-from="{% url "toot" %}"
|
||||
ic-target="#new-toot-modal"
|
||||
ic-on-complete="$('#new-toot-modal').toggleClass('is-active');">
|
||||
<span class="fa fa-edit"> </span>
|
||||
<span > New Toot</span>
|
||||
<span >New Toot</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="{% url "search" %}"
|
||||
ic-get-from="{% url "search" %}"
|
||||
ic-target="#new-toot-modal"
|
||||
ic-on-complete="$('#new-toot-modal').toggleClass('is-active');">
|
||||
<span class="fa fa-search"> </span>
|
||||
<span > Search</span>
|
||||
<span >Search</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="navbar-end" >
|
||||
<a class="navbar-item" href="{% url "settings" %}">
|
||||
<span class="fa fa-gear"></span>
|
||||
<span > Settings</span>
|
||||
<span >Settings</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="{% url "logout" %}"
|
||||
ic-get-from="{% url "logout" %}"
|
||||
ic-target="body"
|
||||
ic-confirm="Are you sure you want to log out?">
|
||||
<span class="fa fa-power-off"></span>
|
||||
<span > Log out</span>
|
||||
<span >Log out</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
class="badge"
|
||||
{% endif %}
|
||||
data-badge="{{ notifications }}">
|
||||
Notifications</span>
|
||||
Notifications</span>
|
||||
</span>
|
||||
{% else %}
|
||||
<span > Notifications ({{ notifications }})</span>
|
||||
<span >Notifications ({{ notifications }})</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue