Added social icons bar on top of navigation bar
This commit is contained in:
parent
0ceb680f5e
commit
620a80f473
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
|
@ -13,6 +13,11 @@
|
|||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.social-bar {
|
||||
margin-top: 10px;
|
||||
margin-bottom: -10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.volume-item {
|
||||
&:not(.user-have-it) {
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{% load staticfiles solo_tags %}
|
||||
{% get_solo 'config.SocialConfiguration' as social %}
|
||||
|
||||
<div class="social-bar">
|
||||
{% if social.twitter_account %}
|
||||
<a href="https://twitter.com/{{ social.twitter_account }}"><img src="{% static "icons/twitter.png" %}" /></a>
|
||||
{% endif %}
|
||||
{% if social.facebook_url %}
|
||||
<a href="{{ social.facebook_url }}"><img src="{% static "icons/facebook.png" %}" /></a>
|
||||
{% endif %}
|
||||
{% if social.google_plus_url %}
|
||||
<a href="{{ social.google_plus_url }}"><img src="{% static "icons/googleplus.png" %}" /></a>
|
||||
{% endif %}
|
||||
{% if social.contact_email %}
|
||||
<a href="{{ social.contact_email }}"><img src="{% static "icons/email.png" %}" /></a>
|
||||
{% endif %}
|
||||
</div>
|
|
@ -12,6 +12,7 @@
|
|||
<body>
|
||||
{% block navigation_bar %}
|
||||
<div class="container">
|
||||
{% include "_includes/social_bar.html" %}
|
||||
<nav class="navbar navbar-alternative" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
|
|
Reference in New Issue