From 75120c3d219280b561aaf46ef0dbd8954d884ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 31 Aug 2018 20:20:13 +0200 Subject: [PATCH] misc: use gadjo button css class (#26007) --- bijoe/static/css/bijoe.css | 14 -------------- bijoe/templates/bijoe/cube.html | 6 +++--- bijoe/templates/bijoe/cube_chart.html | 2 +- bijoe/templates/bijoe/cube_raw.html | 4 ++-- bijoe/templates/bijoe/visualization.html | 6 +++--- 5 files changed, 9 insertions(+), 23 deletions(-) diff --git a/bijoe/static/css/bijoe.css b/bijoe/static/css/bijoe.css index b3a0093..8d88135 100644 --- a/bijoe/static/css/bijoe.css +++ b/bijoe/static/css/bijoe.css @@ -140,20 +140,6 @@ select { } /* misc */ -.bijoe-button { - background: #aaaaaa linear-gradient(to bottom, #f9f9f9, #eeeeee) repeat scroll 0 0; - border: 1px solid #b7b7b7; - border-radius: 1px; - box-shadow: 0 2px 2px 0 #ddd; - color: #424258; - cursor: pointer; - line-height: 100%; - padding: 1ex 2ex; - text-decoration: none; - display: inline-block; - margin-top: 1ex; -} - canvas { box-sizing: border-box; } diff --git a/bijoe/templates/bijoe/cube.html b/bijoe/templates/bijoe/cube.html index 88a80bb..34aed8f 100644 --- a/bijoe/templates/bijoe/cube.html +++ b/bijoe/templates/bijoe/cube.html @@ -57,12 +57,12 @@ {% endif %} {% block actions %} URL + visualization.title }}" class="button">URL {% trans "URL for IFRAME" %} + title="{{ visualization.title }}" class="button">{% trans "URL for IFRAME" %} {% trans "Save" %} + title="{{ visualization.title }}" class="button">{% trans "Save" %} {% endblock %} {% else %}
{% trans "Please choose some measures and groupings." %}
diff --git a/bijoe/templates/bijoe/cube_chart.html b/bijoe/templates/bijoe/cube_chart.html index dfdff5a..d7e0156 100644 --- a/bijoe/templates/bijoe/cube_chart.html +++ b/bijoe/templates/bijoe/cube_chart.html @@ -2,7 +2,7 @@ {% for table in visualization %}

{{ table.table_title }}

- PNG + PNG {{ form.media.css }} {{ form.media.js }} - @@ -23,7 +23,7 @@ {% include "bijoe/cube_chart.html" %} {% endif %} URL + visualization.title }}" class="button">URL {% endif %} diff --git a/bijoe/templates/bijoe/visualization.html b/bijoe/templates/bijoe/visualization.html index a40c470..39c29df 100644 --- a/bijoe/templates/bijoe/visualization.html +++ b/bijoe/templates/bijoe/visualization.html @@ -13,9 +13,9 @@ {% endblock %} {% block actions %} - {% trans "Rename" %} - {% trans "Delete" %} - {% trans "URL for IFRAME" %} + {% trans "Rename" %} + {% trans "Delete" %} + {% trans "URL for IFRAME" %} {% endblock %} {% block buttons %} -- 2.19.0.rc1