Skip to content

Commit

Permalink
Enable button to show tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
aashutoshrathi committed Nov 15, 2018
1 parent d2fb041 commit e40b91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion landing/templates/landing/lab_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h4 class="uk-text-center uk-card-title">Lab {{lab.number}}</h3>
{% if not is_dead %}
<a href="{% url 'solve' problem=problem.id %}" class="uk-text-center uk-float-right uk-border-pill uk-width-auto uk-button uk-button-primary">Solve</a>
{% else %}
<a uk-tooltip="title: You can't submit after deadline; pos:left" class="uk-text-center uk-float-right uk-border-pill uk-width-auto uk-button uk-disabled uk-button-primary">Solve</a>
<a uk-tooltip="title: You can't submit after deadline; pos:left" class="uk-text-center uk-float-right uk-border-pill uk-width-auto uk-button uk-button-primary">Solve</a>
{% endif %}
<h3 class="uk-card-title">{{ problem.title }}</h3>
{% comment %} <a class="uk-text-center uk-text-small">Allowed Similarity: {{ problem.similar }}%</a> {% endcomment %}
Expand Down

0 comments on commit e40b91a

Please sign in to comment.