Skip to content

Commit

Permalink
Added a social page and moved twitter feeds. #282 (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
souravbadami authored and Sean Auriti committed Jun 12, 2017
1 parent c23dd3f commit 9634674
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
1 change: 1 addition & 0 deletions bugheist/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
url(r'^issue/comment/(?P<pk>\d+)/edit/$',comments.views.EditCommentPage, name='edit_comment'),
url(r'^issue/comment/(?P<pk>\d+)/update/$',comments.views.EditComment, name='update_comment'),
url(r'^issue/comment/(?P<pk>\d+)/delete/$',comments.views.DeleteComment, name='delete_comment'),
url(r'^social/$', TemplateView.as_view(template_name="social.html")),

) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

4 changes: 4 additions & 0 deletions website/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ body{
color: #dd4252;
}

.social-feeds{
color: #dd4252;
}

.start-tour{
color: #dd4252;
}
Expand Down
11 changes: 7 additions & 4 deletions website/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,16 @@
<button class="btn btn-default login-button">Login</button>
</a>
{% endif %}
<li class="pull-left">
<a id="chrome_ext" href="https://chrome.google.com/webstore/detail/bugheist/bififchikfckcnblimmncopjinfgccme?hl=en" target="_new" class="chrome-plugin">+ Add to chrome</a>
<li style="float:left;"><a id="chrome_ext" href="https://chrome.google.com/webstore/detail/bugheist/bififchikfckcnblimmncopjinfgccme?hl=en" target="_new" class="chrome-plugin">
+ Add to chrome
</a></li>
<li style="float:left;">
<a href="/social" class="social-feeds">Social Feeds</a>
</li>
<li class="pull-left">
<li style="float:left;">
<a href="/start" class="sponsor-hunt">Sponsor a Bug Hunt</a>
</li>
<li class="pull-left">
<li style="float:left;">
<a href="#" id="startTour" class="start-tour">Tour</a>
</li>
</ul>
Expand Down
14 changes: 14 additions & 0 deletions website/templates/social.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{% extends "account/base.html" %}

{% load i18n %}

{% block title %}Social Feeds - Bugheist{% endblock %}

{% block content %}
<div class="row">
<div class="col-lg-12">
<a class="twitter-timeline" data-height="800" href="https://twitter.com/Bugheist"></a>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</div>
{% endblock %}

0 comments on commit 9634674

Please sign in to comment.