Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jannik Hellenkamp
website
Commits
3cabc9d6
Commit
3cabc9d6
authored
Jan 29, 2018
by
Andreas Valder
Browse files
made grouped navbar items change the cursor to a pointer
parent
964f6e8b
Changes
1
Show whitespace changes
Inline
Side-by-side
templates/base.html
View file @
3cabc9d6
...
...
@@ -83,7 +83,7 @@
{% for grouper, list in navbar|rejectattr("group", "none")|groupby("group") %}
<li
{%
if
request.endpoint
in
list
|
map(attribute=
'endpoint'
)
%}
class=
"active dropdown"
{%
endif
%}
>
<a
data-toggle=
"dropdown"
data-boundary=
"viewport"
class=
"dropdown-toggle"
style=
"padding: 10px 6px;"
>
{{ grouper }}
<span
class=
"caret"
></span></a>
<a
data-toggle=
"dropdown"
data-boundary=
"viewport"
class=
"dropdown-toggle"
style=
"padding: 10px 6px;
cursor: pointer;
"
>
{{ grouper }}
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
>
{% for n in list %}
{{ navbaricon(n) }}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment