0001-misc-use-gadjo-button-css-class-26007.patch
bijoe/static/css/bijoe.css | ||
---|---|---|
140 | 140 |
} |
141 | 141 | |
142 | 142 |
/* misc */ |
143 |
.bijoe-button { |
|
144 |
background: #aaaaaa linear-gradient(to bottom, #f9f9f9, #eeeeee) repeat scroll 0 0; |
|
145 |
border: 1px solid #b7b7b7; |
|
146 |
border-radius: 1px; |
|
147 |
box-shadow: 0 2px 2px 0 #ddd; |
|
148 |
color: #424258; |
|
149 |
cursor: pointer; |
|
150 |
line-height: 100%; |
|
151 |
padding: 1ex 2ex; |
|
152 |
text-decoration: none; |
|
153 |
display: inline-block; |
|
154 |
margin-top: 1ex; |
|
155 |
} |
|
156 | ||
157 | 143 |
canvas { |
158 | 144 |
box-sizing: border-box; |
159 | 145 |
} |
bijoe/templates/bijoe/cube.html | ||
---|---|---|
57 | 57 |
{% endif %} |
58 | 58 |
{% block actions %} |
59 | 59 |
<a href="?{% firstof view.request.POST.urlencode view.request.GET.urlencode %}" title="{{ |
60 |
visualization.title }}" class="bijoe-button">URL</a>
|
|
60 |
visualization.title }}" class="button">URL</a> |
|
61 | 61 | |
62 | 62 |
<a href="iframe/?{% firstof view.request.POST.urlencode view.request.GET.urlencode %}" |
63 |
title="{{ visualization.title }}" class="bijoe-button">{% trans "URL for IFRAME" %}</a>
|
|
63 |
title="{{ visualization.title }}" class="button">{% trans "URL for IFRAME" %}</a> |
|
64 | 64 |
<a rel="popup" href="{% url "create-visualization" warehouse=warehouse.name cube=cube.name %}?{% firstof view.request.POST.urlencode view.request.GET.urlencode %}" |
65 |
title="{{ visualization.title }}" class="bijoe-button">{% trans "Save" %}</a>
|
|
65 |
title="{{ visualization.title }}" class="button">{% trans "Save" %}</a> |
|
66 | 66 |
{% endblock %} |
67 | 67 |
{% else %} |
68 | 68 |
<div class="big-msg-info">{% trans "Please choose some measures and groupings." %}</div> |
bijoe/templates/bijoe/cube_chart.html | ||
---|---|---|
2 | 2 |
{% for table in visualization %} |
3 | 3 |
<h2>{{ table.table_title }}</h2> |
4 | 4 | |
5 |
<a href="#" target="none" class="bijoe-button bijoe-png-button">PNG</a>
|
|
5 |
<a href="#" target="none" class="button bijoe-png-button">PNG</a> |
|
6 | 6 |
<canvas id="canvas-{{ forloop.counter }}"></canvas> |
7 | 7 |
<script> |
8 | 8 |
$(function () { |
bijoe/templates/bijoe/cube_raw.html | ||
---|---|---|
10 | 10 |
<script src="{% static "js/bijoe.js" %}"></script> |
11 | 11 |
{{ form.media.css }} |
12 | 12 |
{{ form.media.js }} |
13 |
<style>.bijoe-button { display: none }
|
|
13 |
<style>.button { display: none } |
|
14 | 14 |
html, body { background: transparent; } |
15 | 15 |
</style> |
16 | 16 |
</head> |
... | ... | |
23 | 23 |
{% include "bijoe/cube_chart.html" %} |
24 | 24 |
{% endif %} |
25 | 25 |
<a href="?{% firstof view.request.POST.urlencode view.request.GET.urlencode %}" title="{{ |
26 |
visualization.title }}" class="bijoe-button">URL</a>
|
|
26 |
visualization.title }}" class="button">URL</a> |
|
27 | 27 |
{% endif %} |
28 | 28 |
</div> |
29 | 29 |
</body> |
bijoe/templates/bijoe/visualization.html | ||
---|---|---|
13 | 13 |
{% endblock %} |
14 | 14 | |
15 | 15 |
{% block actions %} |
16 |
<a rel="popup" class="bijoe-button" href="{% url "rename-visualization" pk=object.pk %}">{% trans "Rename" %}</a>
|
|
17 |
<a rel="popup" class="bijoe-button" href="{% url "delete-visualization" pk=object.pk %}">{% trans "Delete" %}</a>
|
|
18 |
<a href="{{ iframe_url }}" class="bijoe-button">{% trans "URL for IFRAME" %}</a>
|
|
16 |
<a rel="popup" class="button" href="{% url "rename-visualization" pk=object.pk %}">{% trans "Rename" %}</a> |
|
17 |
<a rel="popup" class="button" href="{% url "delete-visualization" pk=object.pk %}">{% trans "Delete" %}</a> |
|
18 |
<a href="{{ iframe_url }}" class="button">{% trans "URL for IFRAME" %}</a> |
|
19 | 19 |
{% endblock %} |
20 | 20 | |
21 | 21 |
{% block buttons %} |
22 |
- |