fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Added social icons bar on top of navigation bar

This commit is contained in:
Felipe Martin 2014-05-27 23:13:39 +02:00
parent 0ceb680f5e
commit 620a80f473
7 changed files with 23 additions and 0 deletions

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

View File

@ -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) {

View File

@ -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>

View File

@ -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">