Skip to content

Commit

Permalink
Repositioned featured website block and leaderboard section
Browse files Browse the repository at this point in the history
  • Loading branch information
souravbadami authored and jajodiaraghav committed Sep 4, 2017
1 parent 1419ae6 commit 793aaad
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
3 changes: 2 additions & 1 deletion website/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,13 @@ a:hover{
border-bottom: 1px solid #888;
background-color: #ddd;
padding: 10px;
margin-top: -7px;
}
.leaderboard-panel .box{
border: 3px solid #009688;
padding:7px;
margin-right:5px;
padding-top:10px;
padding-top:0px;
background:white;
}
.leaderboard-name,
Expand Down
30 changes: 15 additions & 15 deletions website/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ <h4 class="card-title">{% trans "Design" %}</h4>
</div>
</center>
</div>
<div class="row">
<div class="col-lg-9">
<div class="row" style="margin-left: 10px;">
<div class="col-lg-12">
<div class="row">
<div class="col-lg-12">
<h1 class="page-sub-header">{% trans "Featured Websites" %}</h1>
Expand Down Expand Up @@ -176,13 +176,25 @@ <h1 class="page-sub-header">{% trans "Featured Websites" %}</h1>
</div>
</div>
</div>
</div>

<div class="col-lg-3">
<div class="row" data-intro="View latest activities here." data-step="3">
<div class="col-md-8">
<h1 class="page-sub-header">Latest activity</h1>
<div class="list-group">
{% for activity in activities %}
{% include '_activity.html' %}
{% endfor %}
</div>
<a href="/all_activity" class="btn btn-default btn-block">View All Activity</a>
</div>
<div class="col-md-4">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading page-sub-header">
{% now "F" %} {% trans "Leaderboard" %}
</div>
<br>
<div class="panel-body leaderboard-panel">
<strong>The 1st Place Hunter for {% now "F" %} will receive</strong>
<div class="box">
Expand Down Expand Up @@ -220,18 +232,6 @@ <h1 class="page-sub-header">{% trans "Featured Websites" %}</h1>
</div>
</div>
</div>

<div class="row" data-intro="View latest activities here." data-step="3">
<div class="col-md-8">
<h1 class="page-sub-header">Latest activity</h1>
<div class="list-group">
{% for activity in activities %}
{% include '_activity.html' %}
{% endfor %}
</div>
<a href="/all_activity" class="btn btn-default btn-block">View All Activity</a>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<h1 class="page-sub-header">Subscriptions:</h1>
Expand Down

0 comments on commit 793aaad

Please sign in to comment.