Skip to content

Commit

Permalink
Merge pull request #595 from srahulbadami/fix-564
Browse files Browse the repository at this point in the history
Alignment Issue of Cards Fixed - #564
  • Loading branch information
souravbadami authored Mar 8, 2018
2 parents 93f27ff + 5b9644c commit 986869c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1 class="page-header">{% trans "Find Bugs, Win Points and Prizes" %}</h1>
</div>
<br>
</section>
<div class="container">
<div class="container-footer">
<center>
<div class="row">
<div class="col-sm-4">
Expand Down
16 changes: 13 additions & 3 deletions website/templates/issue.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@
.tweet-btn:hover{
background-color: #0c7abf;
}
.btn_issclose{
position: absolute;
margin-top: 1.5px;
margin-left: 3%;
}
.btn_addedon{
position: absolute;
margin-top: 1.5%;
margin-left: 5%;
}
{% endblock %}
{% block content %}
<script type="text/javascript" src="{% static "js/clipboard.min.js" %}"></script>
Expand Down Expand Up @@ -237,13 +247,13 @@ <h4>OS Version: {{ os_version }}</h4>
<strong>Status:</strong>
<span class="label label-{% if object.status == 'open' %}success{% else %}danger{% endif %} text-capitalize status">{{ object.status }}</span>
{% if request.user.is_authenticated %}
<a class="btn btn-default btn-xs edit-issue-status" id="issue_stat">Click to
<a class="btn btn-default btn-xs edit-issue-status btn_issclose" id="issue_stat">Click to
{% if object.status == "open" %}Close{% else %}Open{% endif %}</a>
{% endif %}
</div>
<div class="bug-info">
<strong>Added on:</strong>
<span class="label label-info">{{ object.created }}</span>
<span class="label label-info btn_addedon">{{ object.created }}</span>
</div>
</div>
<div class="col-xs-6 operations">
Expand Down Expand Up @@ -449,4 +459,4 @@ <h3>Comments:</h3>
});

</script>
{% endblock %}
{% endblock %}

0 comments on commit 986869c

Please sign in to comment.