Merge pull request #1294 from emanuelschuetze/fix-1158

Fixed #1158 (Clean up assignment.css)
This commit is contained in:
Oskar Hahn 2014-05-19 14:57:17 +02:00
commit 53e0a1086d
2 changed files with 4 additions and 7 deletions

View File

@ -14,10 +14,10 @@
}
/* Election result table */
td.elected {
#election-result-table td.elected {
background-color: #BED4DE !important;
}
td.elected a.election_link {
#election-result-table td.elected a.election_link {
background-image: url(../img/voting-yes.png);
background-repeat: no-repeat;
background-position: center;
@ -27,7 +27,7 @@ td.elected a.election_link {
margin-right: 5px;
float: left;
}
td a.election_link {
#election-result-table td a.election_link {
background-image: url(../img/voting-yes-grey.png);
background-repeat: no-repeat;
background-position: center;

View File

@ -7,9 +7,6 @@
{% block title %}{% trans "Election" %} "{{ assignment }}" {{ block.super }}{% endblock %}
{% block header %}
<link type="text/css" rel="stylesheet" media="all" href="{% static 'css/assignment.css' %}" />
{% endblock %}
{% block javascript %}
<script type="text/javascript" src="{% static 'js/assignment.js' %}"></script>
@ -147,7 +144,7 @@
{% if assignment.status != "sea" or polls.exists %}
<h4>{% trans "Election result" %}</h4>
{% if polls.exists %}
<table class="table table-striped table-bordered">
<table id="election-result-table" class="table table-striped table-bordered">
<tr>
<th>{% trans "Candidates" %}</th>
{% for poll in polls %}