Many dropdown actions are white text on white background

A recent CSS change has made many of the table actions (both row and
table) invisible, as they are white text on a white background.

This change was caused by two separate reviews merging around the
same time that had adverse affects on each other.

Closes-bug: #1572213

Change-Id: I78a12c4ed435fe22db0845b428b7229a6882e4f0
This commit is contained in:
Diana Whitten
2016-04-19 16:35:10 -07:00
parent 457e0483b0
commit 9e506d1005
8 changed files with 68 additions and 41 deletions

View File

@@ -3,14 +3,13 @@
{% if action.method != "GET" %}
<button {{ action.attr_string_nc|safe }}
class="
{% if is_single %}btn {% endif %}
{% if is_small %}btn-sm{% endif %}
{% for class in action.get_default_classes %}
{{ class }}
{% endfor %}
{% if action.action_type %}
btn-{{ action.action_type }}
{% endif %}"
{% endif %} btn"
name="action"
{% if action.help_text %}
help_text="{{ action.help_text }}"
@@ -33,7 +32,7 @@
</button>
{% else %}
<a {{ action.attr_string_nc|safe }}
class="{% if is_single %}btn btn-default {% endif %}{% if is_small %}btn-sm {% endif %}{{ action.get_final_css|safe }}"
class="btn {% if is_single %}btn-default {% endif %}{% if is_small %}btn-sm {% endif %}{{ action.get_final_css|safe }}"
{% if is_table_action %}
href="{{ action.get_link_url }}"
title="{{ action.verbose_name }}">