Commit 3c844ea6 authored by Patrick's avatar Patrick

Update to djangocms-admin-style==1.2.6.2

parent 133064b5
......@@ -28,6 +28,9 @@
{# vvvvvvvvv django cms admin style 1.2.6 #}
label.translatable-field:before {color:red;content:"\2691\a0";}
div.parler-language-tabs span.current:before {color:red;content:"\2691\a0";}
.calendar-shortcuts a:first-child, span.datetimeshortcuts a:first-child {
width: initial !important;
}
.change-list #changelist table thead th {padding:0;white-space:normal;vertical-align:middle;}
.change-list #changelist table tbody td {vertical-align:middle !important;white-space:nowrap;}
.change-list #changelist table tbody th {vertical-align:middle !important;white-space: normal;}
......@@ -39,7 +42,7 @@ body.cms-admin-sideframe #content {margin-top: 90px !important;}
{#body.cms-admin-sideframe {font-size: 14px; font-family: Calibri, Arial, sans-serif !important;color: #762534;}#}
body.cms-admin-sideframe form input[type = text],form input[type = email],form input[type = password],form input[type = url] {font-size:14px;width:25em !important;max-width:none !important;border-radius:3px !important;background-color:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none}
body.cms-admin-sideframe form input[type = number],form select {font-size: 14px;width: auto!important;max-width: none !important;border-radius: 3px !important;background-color: #fff;-webkit-appearance: none;-moz-appearance: none;appearance: none}
body.cms-admin-sideframe form button {font-size:10px;width:15em !important;max-width:none !important;border-radius:3px !important;background-color:#fff;-webkit-appearance:none;-moz-appearance: none;appearance:none}
body.cms-admin-sideframe form button {font-size:10px;max-width:none !important;border-radius:3px !important;background-color:#fff;-webkit-appearance:none;-moz-appearance: none;appearance:none}
body.cms-admin-sideframe form textarea {font-size: 14px;width: 80em !important;max-width: none !important;border-radius: 3px !important;background-color: #fff;-webkit-appearance: none;-moz-appearance: none;appearance: none}
.change-list #changelist.filtered #changelist-filter {overflow-y: visible !important;}
.cms-pagetree-root{margin-top: -55px;}
......
......@@ -11,7 +11,8 @@
</ul>
</div>
<div class="col-sm-9">
<h3>{% page_attribute "page_title" %}</h3>
{% page_attribute "page_title" as title %}
{% if title %}<h3>title</h3>{% endif %}
{% block sub_content %}{% placeholder subpage_content %}{% endblock %}
</div>
</div>
......
......@@ -11,7 +11,7 @@
<button type="submit" name="done" value="done"><h6>{% trans "Done" %}</h6></button>
</div>
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
{% for bankaccount in bankaccounts %}
<h6>{{ bankaccount.producer.short_profile_name }}, {{ bankaccount.bank_amount_out }},
{{ bankaccount.operation_comment }}</h6>
......
{% extends "admin/base_site.html" %}
{% load cms_tags menu_tags compress i18n l10n crispy_forms_tags %}
{% load cms_tags menu_tags i18n l10n %}
{% block content %}
<link rel="stylesheet" href="{{ STATIC_URL}}bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="{{ STATIC_URL}}bootstrap/css/custom.css">
......@@ -38,35 +38,35 @@
<p></p>
<form action="" method="post">{% csrf_token %}
<h6>{{ permanence }}{% if permanence.with_delivery_point %}, {% trans "close the orders of the following deviveries points" %} :{% endif %}</h6>
<div class="submit-row">
<button type="submit" name="cancel" value="cancel"><h6>{% trans "No, cancel the action" %}</h6></button>
<button type="submit" name="apply" value="apply" class="default"><h6>{% trans "Yes, I'm sure" %}</h6></button>
</div>
<div class="submit-row">
<button type="submit" name="cancel" value="cancel"><h6>{% trans "No, cancel the action" %}</h6></button>
<button type="submit" name="apply" value="apply" class="default"><h6>{% trans "Yes, I'm sure" %}</h6></button>
</div>
{% if permanence.with_delivery_point %}
<fieldset class="module aligned ">
<div class="form-row">
<div class="[ form-group ]">
<div class="submit-row">
<div class="form-group">
<input id="all-deliveries" name="all-deliveries" onClick="toggle_all_deliveries(this)" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="all-deliveries" class="[ btn btn-primary btn-sm ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="all-deliveries" class="btn btn-primary btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="all-deliveries" class="[ btn active btn-sm ]">
<label for="all-deliveries" class="btn active btn-sm">
{% trans "Select all deliveries." %}
</label>
</div>
</div>
<hr class="colorgraph">
{% for delivery in deliveries %}
<span class="[ form-group ]">
<span class="form-group">
<input id="deliveries-{{ forloop.counter0 }}" name="deliveries" onClick="toggle_delivery(this)" value="{{ delivery.id|unlocalize }}" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="deliveries-{{ forloop.counter0 }}" class="[ btn btn-info btn-xs ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="deliveries-{{ forloop.counter0 }}" class="btn btn-info btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="deliveries-{{ forloop.counter0 }}" class="[ btn active btn-xs ]">
<label for="deliveries-{{ forloop.counter0 }}" class="btn active btn-sm">
{{ delivery }}
</label>
</div>
......@@ -79,29 +79,29 @@
{% endif %}
{% if producer_invoices %}
<fieldset class="module aligned ">
<div class="form-row">
<div class="[ form-group ]">
<div class="submit-row">
<div class="form-group">
<input id="all-producer-invoices" name="all-producer-invoices" onClick="toggle_all_producers(this)" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="all-producer-invoices" class="[ btn btn-primary btn-sm ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="all-producer-invoices" class="btn btn-primary btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="all-producer-invoices" class="[ btn active btn-sm ]">
<label for="all-producer-invoices" class="btn active btn-sm">
{% trans "Select all producers." %}
</label>
</div>
</div>
<hr class="colorgraph">
{% for producer_invoice in producer_invoices %}
<span class="[ form-group ]">
<span class="form-group">
<input id="producer-invoices-{{ forloop.counter0 }}" name="producer-invoices" onClick="toggle_producer(this)" value="{{ producer_invoice.id|unlocalize }}" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="producer-invoices-{{ forloop.counter0 }}" class="[ btn btn-info btn-xs ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="producer-invoices-{{ forloop.counter0 }}" class="btn btn-info btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="producer-invoices-{{ forloop.counter0 }}" class="[ btn active btn-xs ]">
<label for="producer-invoices-{{ forloop.counter0 }}" class="btn active btn-sm">
{{ producer_invoice.producer }}
</label>
</div>
......@@ -113,7 +113,7 @@
<input id="all-producer-invoices" name="all-producer-invoices" autocomplete="off" type="hidden" value="on">
{% endif %}
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
<div class="field-box">
<h6>{% trans "No email will be sent." %}</h6>
</div>
......@@ -131,7 +131,7 @@
return source.checked
}
function toggle(source, elementName) {
source.checked != source.checked;
source.checked = ! source.checked;
all_checked = true;
none_checked = true;
checkboxes = document.getElementsByName(elementName);
......
......@@ -12,7 +12,7 @@
<button type="submit" name="apply" value="apply" class="default"><h6>{% trans "Yes, I'm sure" %}</h6></button>
</div>
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
{% for producer in producers %}
<h6><input type="radio" name="producers" value="{{ producer.id|unlocalize }}"{% if producer.id == product.producer_id|add:0 %} checked{% endif %}/>&nbsp;&nbsp;{{ producer }}</h6>
{% endfor %}
......
......@@ -43,29 +43,29 @@
</div>
{% if permanence.with_delivery_point %}
<fieldset class="module aligned ">
<div class="form-row">
<div class="[ form-group ]">
<div class="submit-row">
<div class="form-group">
<input id="all-deliveries" name="all-deliveries" onClick="toggle_all_deliveries(this)" autocomplete="off" type="checkbox">
<div class="[ btn-group ]">
<label for="all-deliveries" class="[ btn btn-primary btn-sm ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="all-deliveries" class="btn btn-primary btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="all-deliveries" class="[ btn active btn-sm ]">
<label for="all-deliveries" class="btn active btn-sm">
{% trans "Select all deliveries." %}
</label>
</div>
</div>
<hr class="colorgraph">
{% for delivery in deliveries %}
<span class="[ form-group ]">
<span class="form-group">
<input id="deliveries-{{ forloop.counter0 }}" name="deliveries" onClick="toggle_delivery(this)" value="{{ delivery.id|unlocalize }}" autocomplete="off" type="checkbox">
<div class="[ btn-group ]">
<label for="deliveries-{{ forloop.counter0 }}" class="[ btn btn-info btn-xs ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="deliveries-{{ forloop.counter0 }}" class="btn btn-info btn-xs">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="deliveries-{{ forloop.counter0 }}" class="[ btn active btn-xs ]">
<label for="deliveries-{{ forloop.counter0 }}" class="btn active btn-xs">
{{ delivery }}
</label>
</div>
......@@ -87,7 +87,7 @@
return source.checked
}
function toggle(source, elementName) {
source.checked != source.checked;
source.checked = ! source.checked;
all_checked = true;
none_checked = true;
checkboxes = document.getElementsByName(elementName);
......
......@@ -44,8 +44,8 @@
{{ producer_invoiced_formset.management_form }}
</div>
<fieldset class="module aligned ">
<div class="form-row">
<div class="[ form-group ]">
<div class="submit-row">
<div class="form-group">
<h6>{{ permanence_form.non_field_errors }}</h6>
<div class="fieldWrapper">
{% if permanence_form.payment_date.errors %}
......@@ -64,29 +64,29 @@
{% for f_form in producer_invoiced_formset %}
{% if forloop.first %}
<fieldset class="module aligned ">
<div class="form-row">
<div class="[ form-group ]">
<div class="submit-row">
<div class="form-group">
<input id="all-producers" name="all-producers" onClick="toggle_all_producers(this)" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="all-producers" class="[ btn btn-primary btn-sm ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="all-producers" class="btn btn-primary btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="all-producers" class="[ btn active btn-sm ]">
<label for="all-producers" class="btn active btn-sm">
{% trans "Select all producers." %}
</label>
</div>
</div>
<hr class="colorgraph">
{% endif %}
<span class="[ form-group ]">
<span class="form-group">
<input id="id_form-{{ forloop.counter0 }}-selected" name="form-{{ forloop.counter0 }}-selected" onClick="toggle_producer(this)" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="id_form-{{ forloop.counter0 }}-selected" class="[ btn btn-info btn-xs ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="id_form-{{ forloop.counter0 }}-selected" class="btn btn-info btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="id_form-{{ forloop.counter0 }}-selected" class="[ btn active btn-xs ]">
<label for="id_form-{{ forloop.counter0 }}-selected" class="btn active btn-sm">
{{ f_form.short_profile_name.value }}
{% trans ", calculated : " %}
{{ f_form.calculated_invoiced_balance.value }}
......
......@@ -7,15 +7,17 @@
<p></p>
<form action="" method="post">{% csrf_token %}
<h6>{{ sub_title }}</h6>
<div class="submit-row">
<button type="submit" name="cancel" value="cancel"><h6>{% trans "No, cancel the action" %}</h6></button>
<button type="submit" name="apply" value="apply" class="default"><h6>{% trans "Yes, I'm sure" %}</h6></button>
</div>
<div class="submit-row">
<button type="submit" name="cancel" value="cancel"><h6>{% trans "No, cancel the action" %}</h6></button>
<button type="submit" name="apply" value="apply" class="default"><h6>{% trans "Yes, I'm sure" %}</h6></button>
</div>
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
<div class="field-box">
<h6>{{ email_will_be_sent_to }}</h6>
<h6>{{ email_will_be_sent_to }}</h6>
</div>
</div>
<div class="form-row">
{% if email_will_be_sent %}
<div class="field-box">
{% with id_for_label=form.template_offer_customer_mail.id_for_label %}
......
......@@ -12,7 +12,7 @@
<button type="submit" name="apply" value="apply" class="default"><h6>{% trans "Yes, I'm sure" %}</h6></button>
</div>
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
<div class="field-box">
<h6>{% trans "mail invoices to customers" %} :</h6>
</div>
......@@ -50,7 +50,7 @@
</div>
</fieldset>
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
<div class="field-box">
<h6>{% trans "mail invoices to producers" %} :</h6>
</div>
......
......@@ -44,29 +44,29 @@
</div>
{% if permanence.with_delivery_point %}
<fieldset class="module aligned ">
<div class="form-row">
<div class="[ form-group ]">
<div class="submit-row">
<div class="form-group">
<input id="all-deliveries" name="all-deliveries" onClick="toggle_all_deliveries(this)" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="all-deliveries" class="[ btn btn-primary btn-sm ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="all-deliveries" class="btn btn-primary btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="all-deliveries" class="[ btn active btn-sm ]">
<label for="all-deliveries" class="btn active btn-sm">
{% trans "Select all deliveries." %}
</label>
</div>
</div>
<hr class="colorgraph">
{% for delivery in deliveries %}
<span class="[ form-group ]">
<span class="form-group">
<input id="deliveries-{{ forloop.counter0 }}" name="deliveries" onClick="toggle_delivery(this)" value="{{ delivery.id|unlocalize }}" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="deliveries-{{ forloop.counter0 }}" class="[ btn btn-info btn-xs ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="deliveries-{{ forloop.counter0 }}" class="btn btn-info btn-xs">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="deliveries-{{ forloop.counter0 }}" class="[ btn active btn-xs ]">
<label for="deliveries-{{ forloop.counter0 }}" class="btn active btn-xs">
{{ delivery }}
</label>
</div>
......@@ -79,29 +79,29 @@
{% endif %}
{% if producer_invoices %}
<fieldset class="module aligned ">
<div class="form-row">
<div class="[ form-group ]">
<div class="submit-row">
<div class="form-group">
<input id="all-producer-invoices" name="all-producer-invoices" onClick="toggle_all_producers(this)" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="all-producer-invoices" class="[ btn btn-primary btn-sm ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="all-producer-invoices" class="btn btn-primary btn-sm">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="all-producer-invoices" class="[ btn active btn-sm ]">
<label for="all-producer-invoices" class="btn active btn-sm">
{% trans "Select all producers." %}
</label>
</div>
</div>
<hr class="colorgraph">
{% for producer_invoice in producer_invoices %}
<span class="[ form-group ]">
<span class="form-group">
<input id="producer-invoices-{{ forloop.counter0 }}" name="producer-invoices" onClick="toggle_producer(this)" value="{{ producer_invoice.id|unlocalize }}" autocomplete="off" type="checkbox" checked>
<div class="[ btn-group ]">
<label for="producer-invoices-{{ forloop.counter0 }}" class="[ btn btn-info btn-xs ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<div class="btn-group">
<label for="producer-invoices-{{ forloop.counter0 }}" class="btn btn-info btn-xs">
<span class="glyphicon glyphicon-ok"></span>
<span>&nbsp;</span>
</label>
<label for="producer-invoices-{{ forloop.counter0 }}" class="[ btn active btn-xs ]">
<label for="producer-invoices-{{ forloop.counter0 }}" class="btn active btn-xs">
{{ producer_invoice.producer }}
</label>
</div>
......@@ -114,7 +114,7 @@
{% endif %}
<div id="id_mail_to_customers">
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
<div class="field-box">
<h6>{% trans "order mail to customers" %} :</h6>
</div>
......@@ -153,7 +153,7 @@
</fieldset>
</div>
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
<div class="field-box">
<h6>{% trans "order mail to producers" %} :</h6>
</div>
......@@ -192,7 +192,7 @@
</fieldset>
<div id="id_mail_to_board">
<fieldset class="module aligned ">
<div class="form-row">
<div class="submit-row">
<div class="field-box">
<h6>{% trans "order mail to board" %} :</h6>
</div>
......@@ -347,4 +347,5 @@
}
}
</script>
</div>
{% endblock %}
\ No newline at end of file
{% extends 'cms_subpage.html' %}
{% load cms_tags sekizai_tags i18n l10n crispy_forms_tags %}
{% load cms_tags sekizai_tags i18n l10n %}
{% addtoblock "jshead" %}
<script type="text/javascript">if (typeof CMS === 'undefined') {
CMS.$ = $
}</script>{% endaddtoblock %}
{% block sub_content %}
<div class="col-md-12">
{% if update == "Ok" %}<p class="bg-success" style="color: #cec7c7"><strong>{% trans "Update done." %}</strong></p>{% endif %}
{% if update == "Nok" %}<div class="has-error"><span class="help-block"><strong>{% trans "Update not done." %}</strong></span></div>{% endif %}
<p>{% trans "All informations bellow are visible to all members except your phone and email. You have the choice to specify if your phone and/or mail are visible to others members." %}</p>
<p>{% if membership_fee_valid_until %}<b>{% trans "Your membership fee is valid until" %} : {{ membership_fee_valid_until }}</b>{% endif %}</p>
{% crispy form %}
</div>
<p>{% if membership_fee_valid_until %}<i>{% trans "Your membership fee is valid until" %} : <u>{{ membership_fee_valid_until }}</u></i>{% endif %}</p>
<form method="post" action="." validate>
{% csrf_token %}
{{ form.as_div }}
<div class="form-group"><label class="control-label">&nbsp;</label></div>
<div class="form-group"><button type="submit" class="btn btn-primary">{% trans "Update" %}</button></div>
</form>
{% endblock %}
\ No newline at end of file
{% extends 'cms_subpage.html' %}
{% load cms_tags sekizai_tags i18n l10n crispy_forms_tags %}
{% load cms_tags sekizai_tags i18n l10n %}
{% block sub_content %}
<div class="col-md-12">
{% if coordinator %}
<div class="bg-danger">
<blockquote><small>
......@@ -9,8 +8,11 @@
</small></blockquote>
</div>
{% else %}
<p>{% trans "This message will be send only to members who accept to show they email." %}</p>
{% trans "This message will be send only to members who accept to show they email." %}
{% endif %}
{% crispy form %}
</div>
<form method="post" action="." validate>
{% csrf_token %}
{{ form.as_div }}
<div class="form-group"><button type="submit" class="btn btn-primary">{% trans "Send e-mail" %}</button></div>
</form>
{% endblock %}
\ No newline at end of file
{% extends 'cms_subpage.html' %}
{% load cms_tags sekizai_tags i18n l10n crispy_forms_tags %}
{% load cms_tags sekizai_tags i18n l10n %}
{% block sub_content %}
<div class="col-md-12">
{% if update %}<p class="bg-danger">{% trans "Which coordinator(s) have you selected ?" %}</p>{% endif %}
<p>{% trans "This message will be send only to coordinators you have selected." %}</p>
{% crispy form %}
</div>
<form method="post" action="." validate>
{% csrf_token %}
{{ form.as_div }}
<div class="form-group"><button type="submit" class="btn btn-primary">{% trans "Send e-mail" %}</button></div>
</form>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment