Merge pull request #543 from tiwariav/task/3972/ungleich_info_invoice_page

Task/3972/invoice page footer
This commit is contained in:
Arvind Tiwari 2017-12-13 23:40:37 +05:30 committed by GitHub
commit db408e5916
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 49 additions and 29 deletions

View file

@ -235,7 +235,7 @@ fieldset[disabled] .btn-xl.active {
.navbar-default .navbar-brand { .navbar-default .navbar-brand {
font-family: "Helvetica Neue", Helvetica, Arial, cursive; font-family: "Helvetica Neue", Helvetica, Arial, cursive;
color: #a1cfd7; color: #a1cfd7;
padding-top: 10px; padding-top: 11px;
} }
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:hover,

View file

@ -7,7 +7,7 @@
@media(min-width: 768px) { @media(min-width: 768px) {
.order-detail-container { .order-detail-container {
padding: 30px; padding: 30px 30px 20px;
} }
} }
@ -53,7 +53,7 @@
} }
.order-detail-container .order-details { .order-detail-container .order-details {
margin-bottom: 30px; margin-bottom: 15px;
} }
.order-detail-container .order-details strong { .order-detail-container .order-details strong {
@ -90,3 +90,18 @@
width: 16px; width: 16px;
} }
} }
.order_detail_footer {
font-size: 9px;
letter-spacing: 1px;
color: #333333;
}
.order_detail_footer strong {
font-size: 11px;
}
#virtual_machine_create_form {
padding: 15px 0;
}

View file

@ -135,9 +135,7 @@
</div> </div>
</div> </div>
</div> </div>
{% if not order %}
<hr> <hr>
{% endif %}
</div> </div>
{% if not order %} {% if not order %}
{% block submit_btn %} {% block submit_btn %}
@ -155,6 +153,11 @@
</div> </div>
</form> </form>
{% endblock submit_btn %} {% endblock submit_btn %}
{% else %}
<div class="order_detail_footer">
<strong>ungleich glarus ag</strong>&nbsp;&nbsp;Bahnhotstrasse 1, 8783 Linthal, Switzerland<br>
www.datacenterlight.ch&nbsp;&nbsp;|&nbsp;&nbsp;info@datacenterlight.ch
</div>
{% endif %} {% endif %}
{% endif %} {% endif %}
</div> </div>

View file

@ -41,10 +41,8 @@
{% for vm in vms %} {% for vm in vms %}
<tr> <tr>
<td data-header="ID">{{vm.vm_id}}</td> <td data-header="ID">{{vm.vm_id}}</td>
{% if vm.ipv6 %} <td data-header="IPv4">{% if vm.ipv4 %}{{vm.ipv4}}{% endif %}</td>
<td data-header="IPv4">{{vm.ipv4}}</td> <td data-header="IPv6">{% if vm.ipv6 %}{{vm.ipv6}}{% endif %}</td>
<td data-header="IPv6">{{vm.ipv6}}</td>
{% endif %}
<td data-header="{% trans 'Status' %}"> <td data-header="{% trans 'Status' %}">
<strong> <strong>
{% if vm.state == 'ACTIVE' %} {% if vm.state == 'ACTIVE' %}

View file

@ -8,7 +8,8 @@ from .views import (
MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView, MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView,
HostingPricingView, CreateVirtualMachinesView, HostingBillListView, HostingPricingView, CreateVirtualMachinesView, HostingBillListView,
HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView, HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView,
SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView) SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView
)
urlpatterns = [ urlpatterns = [

View file

@ -280,7 +280,10 @@ fieldset[disabled] .btn-xl.active {
} }
.navbar-default .navbar-brand { .navbar-default .navbar-brand {
padding: 8px; padding: 4px 8px 12px;
}
.navbar-default.navbar-shrink .navbar-brand {
padding: 6px 8px 10px;
} }
} }