03bff8c72f
-Add sass support (Replace style.css with style.scss; add new sass_theme_reader.sh script; add sass:compile to package.json; add new dependencies for sass; compiled style.css is now minified) -Claim address improvements (Better instructions; better error msgs) -Fix for disappearing Network > Connections table -Tons of layout and css fixes and tweaks (Improved mobile support) -Remove old Exor theme
17 lines
1002 B
Plaintext
17 lines
1002 B
Plaintext
if settings.labels[item.a_id]
|
|
if settings.labels[item.a_id].type
|
|
label(class='badge badge-' + settings.labels[item.a_id].type + ' float-right d-none d-md-block', style='margin-left:15px;margin-bottom:0;')
|
|
=settings.labels[item.a_id].label
|
|
if settings.labels[item.a_id].url
|
|
a(href=settings.labels[item.a_id].url, target='_blank', alt='Visit site', title='Visit site')
|
|
span.fa.fa-question-circle(style='margin-left:5px;')
|
|
else
|
|
label.badge.badge-default.float-right.d-none.d-md-block(style='margin-left:15px;margin-bottom:0;')
|
|
=settings.labels[item.a_id].label
|
|
if settings.labels[item.a_id].url
|
|
a(href=settings.labels[item.a_id].url, target='_blank', alt='Visit site', title='Visit site')
|
|
span.fa.fa-question-circle(style='margin-left:5px;')
|
|
else
|
|
if item.name !== "" && typeof item.name !== "undefined"
|
|
label(class='badge badge-default float-right d-none d-md-block', style='margin-left:15px;margin-bottom:0;')
|
|
=item.name |