improving some inapp fanciness

This commit is contained in:
Matt Claypotch 2012-04-30 13:53:33 -07:00
Родитель 090382d15c
Коммит f5469741f8
2 изменённых файлов: 23 добавлений и 15 удалений

Просмотреть файл

@ -36,10 +36,14 @@ section {
position: relative;
header {
.box-shadow(0 2px 2px fadeOut(#000, 50%));
background-image: url(../../img/mkt/logos/32.png),
url(../../img/mkt/grain.png);
background-position: 8px center, top left;
background-repeat: no-repeat, repeat;
background-color: #404f5a;
.grain;
color: @white;
padding: 10px;
padding-left: 48px;
}
& > div {
padding: 10px 1em;

Просмотреть файл

@ -1,18 +1,22 @@
{% extends "inapp_pay/base.html" %}
{% block screen_content %}
<h2>{{ loc('Mozilla Payments') }}</h2>
<h3>{{ loc('Payment Error') }}
{% if exc_class %}
: {{ exc_class }}
{% endif %}
</h3>
{% if exc_message %}
<p>{{ exc_message }}</p>
{% else %}
<p>{{ loc('There was an error processing your payment. Please try again or contact the app if it persists.') }}</p>
{% endif %}
<p>
<button id="close-moz-error-win">{{ loc('Close window') }}</button>
</p>
<header>
{{ _('Marketplace') }}
</header>
<div>
<h3>{{ loc('Payment Error') }}
{% if exc_class %}
: {{ exc_class }}
{% endif %}
</h3>
{% if exc_message %}
<p>{{ exc_message }}</p>
{% else %}
<p>{{ loc('There was an error processing your payment. Please try again or contact the app if it persists.') }}</p>
{% endif %}
</div>
<footer>
<a class="button close">{{ loc('Close window') }}</a>
</footer>
{% endblock %}