Commit fc5d37af authored by Patrick's avatar Patrick

Django 1.9.11, CMS 3.4.1

parent ea7ba749
{% load admin_static admin_urls %}{% load firstof from future %}<!DOCTYPE html>
{% load i18n admin_static admin_urls %}<!DOCTYPE html>
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "admin/css/base.css" %}{% endblock %}" />
{% block extrastyle %}{% endblock %}
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% static "admin/css/ie.css" %}{% endblock %}" /><![endif]-->
{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}" />{% endif %}
<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% static "admin/" %}{% endfilter %}";</script>
<script type="text/javascript">window.__admin_utc_offset__ = "{% filter escapejs %}{% now "Z" %}{% endfilter %}";</script>
{% block extrahead %}{% endblock %}
<style type="text/css">
body.cms-admin-sideframe #header{display:none}
body.cms-admin-sideframe #container{padding-top:45px}
body.cms-admin-sideframe #container{padding-top:46px}
body.cms-admin-sideframe:not(.djangocms-admin-style) {margin-top: 0px;}
body.cms-admin-sideframe #container .breadcrumbs{display:block;background:#666 !important}
body.cms-admin-sideframe #content{padding-top:10px}
body.cms-admin-sideframe #content h1:first-child{margin-top:0}
......@@ -21,53 +20,29 @@ body.cms-admin-sideframe .submit-row input.default,.object-tools .addlink{font-w
body.cms-admin-sideframe .submit-row input.default:hover,.submit-row input.default:active,.submit-row input.default:focus,.object-tools .addlink:hover,.object-tools .addlink:active,.object-tools .addlink:focus{background:#0e72ec !important;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}
body.cms-admin-sideframe .submit-row input.default:active,.submit-row input.default:focus,.object-tools .addlink:active,.object-tools .addlink:focus{background:#0b5bbc !important}.object-tools .recoverlink,.submit-row input{font-weight:200 !important;padding:5px 12px !important;margin-bottom:5px !important;border:1px solid #e6e6e6 !important;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}
div.cms-content-wizard form input, div.cms-content-wizard form textarea {border-radius: 3px; width: 100% !important;}
label.translatable-field:before { color: red; content:"\26FF";}
div.parler-language-tabs span.current:before { color: red; content:"\26FF";}
label.translatable-field:before { color: red; content:"\2691\a0";}
div.parler-language-tabs span.current:before { color: red; content:"\2691\a0";}
#changelist table thead th {
padding: 0;
white-space: normal;
vertical-align: middle;
}
</style>
{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
</head>
{% load i18n %}
<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"
data-admin-utc-offset="{% now "Z" %}">
<!-- Container -->
<div id="container">
{% if not is_popup %}
<!-- Header -->
{# <div id="header">#}
{# <div id="branding">#}
{# {% block branding %}{% endblock %}#}
{# </div>#}
{# {% if user.is_active and user.is_staff %}#}
{# <div id="user-tools">#}
{# {% block welcome-msg %}#}
{# {% trans 'Welcome,' %}#}
{# <strong>{% firstof user.get_short_name user.get_username %}</strong>.#}
{# {% endblock %}#}
{# {% block userlinks %}#}
{# {% url 'django-admindocs-docroot' as docsroot %}#}
{# {% if docsroot %}#}
{# <a href="{{ docsroot }}">{% trans 'Documentation' %}</a> /#}
{# {% endif %}#}
{# {% if user.has_usable_password %}#}
{# <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a> /#}
{# {% endif %}#}
{# <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>#}
{# {% endblock %}#}
{# </div>#}
{# {% endif %}#}
{# {% block nav-global %}{% endblock %}#}
{# </div>#}
<!-- END Header -->
{# {% block breadcrumbs %}#}
<div class="breadcrumbs">
{# <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>#}
{# {% if title %} &rsaquo; {{ title }}{% endif %}#}
{% if opts.verbose_name and opts.verbose_name %}{% url opts|admin_urlname:'changelist' as the_url %}<h2 style="color: #FFF;">{% if the_url %}<a href="{{ the_url }}">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %}
&rsaquo; {% if add %}{% trans 'Add' %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}</h2>{% endif %}
{% if opts.verbose_name %}{% url opts|admin_urlname:'changelist' as the_url %}<h2 style="color: #FFF;">{% if the_url %}<a href="{{ the_url }}">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %}
&rsaquo; {% if add %}{% trans 'Add' %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}</h2>{% else %}<h2 style="font-size: 130%; line-height: 1.75em; margin-top: 0; margin-bottom: 0;">&nbsp;</h2>{% endif %}
</div>
{# {% endblock %}#}
{% endif %}
{% block messages %}
......
{% load staticfiles i18n %}
<link href="{% static "easy_select2/vendor/select2/css/select2.min.css" %}" type="text/css" media="screen" rel="stylesheet" />
<link href="{% static "easy_select2/css/easy_select2.css" %}" type="text/css" media="screen" rel="stylesheet" />
<script type="text/javascript">var go_from_select = function(opt) { window.location = window.location.pathname + opt };</script>
{#<script type="text/javascript" src="/static_001/easy_select2/vendor/jquery/jquery.min.js"></script>#}
<script type="text/javascript" src="{% static "easy_select2/js/init.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/js/easy_select2.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/js/lookup_override.1.8.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/vendor/select2/js/select2.min.js" %}"></script>
<h3>{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}</h3>
<ul class="admin-filter-{{ title|cut:' ' }}">
{% if choices|slice:"1:" %}
<li>
<select style="width: 95%;" id="id_filter_customer"
onchange="go_from_select(this.options[this.selectedIndex].value)">
{% for choice in choices %}
<option{% if choice.selected %} selected="selected"{% endif %}
value="{{ choice.query_string|iriencode }}">{{ choice.display }}</option>
{% endfor %}
</select>
<div class="field-easy-select2"
style="display:none"
id="id_filter_customer"
></div>
</li>
{% else %}
{% for choice in choices %}
<li{% if choice.selected %} class="selected"{% endif %}>
<a href="{{ choice.query_string|iriencode }}">{{ choice.display }}</a></li>
{% endfor %}
{% endif %}
</ul>
\ No newline at end of file
{% extends "admin/base_site.html" %}
{% load i18n %}
{% load admin_urls %}
{% block bodyclass %}delete-confirmation{% endblock %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ app_label|capfirst }}</a>
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst|escape }}</a>
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}{{ object.pk }}">{{ object|truncatewords:"18" }}</a>
&rsaquo; {% trans 'Delete' %}
</div>
{% endblock %}
{% block content %}
{% if perms_lacking or protected %}
{% if perms_lacking %}
<p>{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}</p>
<ul>
{% for obj in perms_lacking %}
<li>{{ obj }}</li>
{% endfor %}
</ul>
{% endif %}
{% if protected %}
<p>{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would require deleting the following protected related objects:{% endblocktrans %}</p>
<ul>
{% for obj in protected %}
<li>{{ obj }}</li>
{% endfor %}
</ul>
{% endif %}
{% else %}
<p>{% blocktrans with escaped_object=object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktrans %}</p>
<ul>{{ deleted_objects|unordered_list }}</ul>
<form action="" method="post">{% csrf_token %}
<div>
<input type="hidden" name="post" value="yes" />
<input type="submit" value="{% trans "Yes, I'm sure" %}" />
</div>
</form>
{% endif %}
{% endblock %}
{% extends "admin/base_site.html" %}
{% load i18n l10n %}
{% load admin_urls %}
{% block bodyclass %}delete-confirmation{% endblock %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_label|capfirst|escape }}</a>
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>
&rsaquo; {% trans 'Delete multiple objects' %}
</div>
{% endblock %}
{% block content %}
{% if perms_lacking or protected %}
{% if perms_lacking %}
<p>{% blocktrans %}Deleting the selected {{ objects_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}</p>
<ul>
{% for obj in perms_lacking %}
<li>{{ obj }}</li>
{% endfor %}
</ul>
{% endif %}
{% if protected %}
<p>{% blocktrans %}Deleting the selected {{ objects_name }} would require deleting the following protected related objects:{% endblocktrans %}</p>
<ul>
{% for obj in protected %}
<li>{{ obj }}</li>
{% endfor %}
</ul>
{% endif %}
{% else %}
<p>{% blocktrans %}Are you sure you want to delete the selected {{ objects_name }}? All of the following objects and their related items will be deleted:{% endblocktrans %}</p>
{% for deletable_object in deletable_objects %}
<ul>{{ deletable_object|unordered_list }}</ul>
{% endfor %}
<form action="" method="post">{% csrf_token %}
<div>
{% for obj in queryset %}
<input type="hidden" name="{{ action_checkbox_name }}" value="{{ obj.pk|unlocalize }}" />
{% endfor %}
<input type="hidden" name="action" value="delete_selected" />
<input type="hidden" name="post" value="yes" />
<input type="submit" value="{% trans "Yes, I'm sure" %}" />
</div>
</form>
{% endif %}
{% endblock %}
{% load staticfiles i18n %}
<link href="{% static "easy_select2/vendor/select2/css/select2.min.css" %}" type="text/css" media="screen" rel="stylesheet" />
<link href="{% static "easy_select2/css/easy_select2.css" %}" type="text/css" media="screen" rel="stylesheet" />
<script type="text/javascript">var go_from_select = function(opt) { window.location = window.location.pathname + opt };</script>
{#<script type="text/javascript" src="/static_001/easy_select2/vendor/jquery/jquery.min.js"></script>#}
<script type="text/javascript" src="{% static "easy_select2/js/init.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/js/easy_select2.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/js/lookup_override.1.8.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/vendor/select2/js/select2.min.js" %}"></script>
<h3>{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}</h3>
<ul class="admin-filter-{{ title|cut:' ' }}">
{% if choices|slice:"1:" %}
<li>
<select style="width: 95%;" id="id_filter_department"
onchange="go_from_select(this.options[this.selectedIndex].value)">
{% for choice in choices %}
<option{% if choice.selected %} selected="selected"{% endif %}
value="{{ choice.query_string|iriencode }}">{{ choice.display }}</option>
{% endfor %}
</select>
<div class="field-easy-select2"
style="display:none"
id="id_filter_department"
></div>
</li>
{% else %}
{% for choice in choices %}
<li{% if choice.selected %} class="selected"{% endif %}>
<a href="{{ choice.query_string|iriencode }}">{{ choice.display }}</a></li>
{% endfor %}
{% endif %}
</ul>
\ No newline at end of file
{% load i18n %}
<script type="text/javascript">var go_from_select = function(opt) { window.location = window.location.pathname + opt };</script>
<h3>{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}</h3>
<ul class="admin-filter-{{ title|cut:' ' }}">
{% if choices|slice:"1:" %}
<li>
<select style="width: 95%;"
onchange="go_from_select(this.options[this.selectedIndex].value)">
{% for choice in choices %}
<option{% if choice.selected %} selected="selected"{% endif %}
value="{{ choice.query_string|iriencode }}">{{ choice.display }}</option>
{% endfor %}
</select>
</li>
{% else %}
{% for choice in choices %}
<li{% if choice.selected %} class="selected"{% endif %}>
<a href="{{ choice.query_string|iriencode }}">{{ choice.display }}</a></li>
{% endfor %}
{% endif %}
</ul>
\ No newline at end of file
{% load staticfiles i18n %}
<link href="{% static "easy_select2/vendor/select2/css/select2.min.css" %}" type="text/css" media="screen" rel="stylesheet" />
<link href="{% static "easy_select2/css/easy_select2.css" %}" type="text/css" media="screen" rel="stylesheet" />
<script type="text/javascript">var go_from_select = function(opt) { window.location = window.location.pathname + opt };</script>
{#<script type="text/javascript" src="/static_001/easy_select2/vendor/jquery/jquery.min.js"></script>#}
<script type="text/javascript" src="{% static "easy_select2/js/init.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/js/easy_select2.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/js/lookup_override.1.8.js" %}"></script>
<script type="text/javascript" src="{% static "easy_select2/vendor/select2/js/select2.min.js" %}"></script>
<h3>{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}</h3>
<ul class="admin-filter-{{ title|cut:' ' }}">
{% if choices|slice:"1:" %}
<li>
<select style="width: 95%;" id="id_filter_producer"
onchange="go_from_select(this.options[this.selectedIndex].value)">
{% for choice in choices %}
<option{% if choice.selected %} selected="selected"{% endif %}
value="{{ choice.query_string|iriencode }}">{{ choice.display }}</option>
{% endfor %}
</select>
<div class="field-easy-select2"
style="display:none"
id="id_filter_producer"
></div>
</li>
{% else %}
{% for choice in choices %}
<li{% if choice.selected %} class="selected"{% endif %}>
<a href="{{ choice.query_string|iriencode }}">{{ choice.display }}</a></li>
{% endfor %}
{% endif %}
</ul>
\ No newline at end of file
{% extends 'admin/mptt_change_list.html' %}
{% load i18n %}
{% block object-tools-items %}
{{ block.super }}
<li>
<a href="{{ tree_url }}">{% trans "Tree view" %}</a>
</li>
{% endblock %}
\ No newline at end of file
{% load i18n menu_tags %}
{% get_available_languages as languages %}
{% for language in languages %}
{% language language.0 %}
<li><a href="{% page_language_url language.0 %}" {% ifequal current_language language.0 %} class="active"{% endifequal %}>{{ language.1 }}</a></li>
{% endlanguage %}
{% get_language_info for language.0 as lang %}
{% ifnotequal current_language language.0 %}
<li><a href="{% page_language_url language.0 %}">{{ lang.name_local }}</a></li>
{% else %}
<li><a href="{% page_language_url language.0 %}"><b>{{ lang.name_local }}</b></a></li>
{% endifnotequal %}
{% endfor %}
\ No newline at end of file
{% load menu_tags %}
{% for child in children %}
{% if child.level == 1 %}
{% if child.selected or child.ancestor %}
<li class="{% if child.ancestor %}ancestor{% endif %}{% if child.sibling %}sibling{% endif %}{% if child.descendant %}descendant{% endif %}">
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}" {% if child.selected %} class="bs-docs-sidebar-active"{% endif %}>{{ child.get_menu_title }}</a>
</li>
{% if child.children %}
<ul class="nav nav-stacked">{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}</ul>
{% endif %}
{% endif %}
{% elif child.level == 2 or child.level == 3 %}
{% if child.level >= 1 and child.level < 4 %}
{# {% if child.selected or child.ancestor %}#}
<li class="{% if child.ancestor %}ancestor{% endif %}{% if child.sibling %}sibling{% endif %}{% if child.descendant %}descendant{% endif %}">
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}" {% if child.selected %} class="bs-docs-sidebar-active"{% endif %}>{{ child.get_menu_title }}</a>
</li>
{% if child.children %}
<ul class="nav nav-stacked">{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}</ul>
{% endif %}
{# {% endif %}#}
{# {% elif child.level == 2 or child.level == 3 %}#}
{# <li class="{% if child.ancestor %}ancestor{% endif %}{% if child.sibling %}sibling{% endif %}{% if child.descendant %}descendant{% endif %}">#}
{# <a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}" {% if child.selected %} class="bs-docs-sidebar-active"{% endif %}>{{ child.get_menu_title }}</a>#}
{# </li>#}
{# {% if child.children %}#}
{# <ul class="nav nav-stacked">{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}</ul>#}
{# {% endif %}#}
{% elif child.level == 4 %}
<li class="{% if child.ancestor %}ancestor{% endif %}{% if child.sibling %}sibling{% endif %}{% if child.descendant %}descendant{% endif %}">
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}" {% if child.selected %} class="bs-docs-sidebar-active"{% endif %}>{{ child.get_menu_title }}</a>
......
{% load cms_tags sekizai_tags i18n l10n repanier_tags %}
<b>{{ offer.get_long_name }}</b><br/>{{ offer.producer.short_profile_name }}
<b>{{ offer.get_order_name }}</b><br/>{{ offer.producer.short_profile_name }}
{% if offer.product.offer_description|length > 0 %} <b><span class="glyphicon glyphicon-info-sign"></span></b>{% endif %}<br/>
<small>{{ offer.department_for_customer.short_name }}</small>
<br/>
{% for production_mode in offer.product.production_mode.all %}
{% if production_mode.picture2 %}
<img class="img-rounded" style="float: left; margin: 5px;" alt="{{ production_mode }}"
title="{{ production_mode }}" src="{{ MEDIA_URL }}{{ production_mode.picture2 }}"/>
title="{{ production_mode }}" src="{{ MEDIA_URL }}{{ production_mode.picture2 }}" height="24" width="24"/>
{% else %}
<small>{{ production_mode }}{% if not forloop.last %} - {% endif %}</small>
{% endif %}
......
{% load cms_tags sekizai_tags i18n l10n repanier_tags %}
{% if offer.order_unit == "105" or offer.order_unit == "110" or offer.order_unit == "115" %}
<h5><small><i><b>
{{ offer.reference_price_with_vat }} &euro;
{% if offer.order_unit == "105" %}
{% trans "/ kg" %}{% else %}{% if offer.order_unit == "110" %}
{% trans "/ l" %}{% else %}
{% trans "/ pc" %}{% endif %}
{% endif %}
</b></i></small></h5>
{{ offer.customer_unit_price }} &euro;
{% else %}
{{ offer.customer_unit_price }} &euro;
{% if offer.order_unit == "120" or offer.order_unit == "140" %}
{% trans "/ kg" %}
{% else %}
{% if offer.order_unit == "150" %}{% trans "/ l" %}{% else %}{% trans "/ piece" %}{% endif %}
{% endif %}
<h5><small><i><b>{{ offer.get_reference_price }}</b></i></small></h5>
{% endif %}
{% if offer.unit_deposit %}
<br/><span class="glyphicon glyphicon-plus"></span>{{ offer.unit_deposit }} &euro;<span class="glyphicon glyphicon-leaf"></span>
{{ offer.get_unit_price }}
{% if offer.unit_deposit != 0 %}
<br/>♻ {{ offer.unit_deposit }}
{% endif %}
{% if offer.picture2 %}
<br/>
<span data-toggle="modal" data-target="#orderModal" data-id="{{ offer.id|stringformat:"d" }}"
<span data-toggle="modal" data-target="#orderModal" data-id="{{ offer.id|unlocalize }}"
data-product="{{ offer.long_name }}" data-picture="{{ MEDIA_URL }}{{ offer.picture2 }}">
<img class="img-thumbnail" style="margin-top: 5px;" alt="{{ offer.product }}" title="{{ offer.product }}"
src="{{ MEDIA_URL }}{{ offer.picture2 }}"/>
src="{{ MEDIA_URL }}{{ offer.picture2 }}" height="110" width="110"/>
</span>
{% endif %}
\ No newline at end of file
{% load cms_tags sekizai_tags i18n l10n repanier_tags %}
{% if offer.order_unit == "105" or offer.order_unit == "110" or offer.order_unit == "115" %}
<h5><small><i><b>
{{ offer.reference_price_with_compensation }} &euro;
{% if offer.order_unit == "105" %}
{% trans "/ kg" %}{% else %}{% if offer.order_unit == "110" %}
{% trans "/ l" %}{% else %}
{% trans "/ pc" %}{% endif %}
{% endif %}
</b></i></small></h5>
{{ offer.unit_price_with_compensation }} &euro;
{% else %}
{{ offer.unit_price_with_compensation }} &euro;
{% if offer.order_unit == "120" or offer.order_unit == "140" %}
{% trans "/ kg" %}
{% else %}
{% if offer.order_unit == "150" %}{% trans "/ l" %}{% else %}{% trans "/ piece" %}{% endif %}
{% endif %}
{% endif %}
{% if offer.unit_deposit %}
<br/><span class="glyphicon glyphicon-plus"></span>{{ offer.unit_deposit }} &euro;<span class="glyphicon glyphicon-leaf"></span>
{% endif %}
{% if offer.picture2 %}
<br/>
<span data-toggle="modal" data-target="#orderModal" data-id="{{ offer.id|stringformat:"d" }}"
data-product="{{ offer.long_name }}" data-picture="{{ MEDIA_URL }}{{ offer.picture2 }}">
<img class="img-thumbnail" style="margin-top: 5px;" alt="{{ offer.product }}" title="{{ offer.product }}"
src="{{ MEDIA_URL }}{{ offer.picture2 }}"/>
</span>
{% endif %}
\ No newline at end of file
......@@ -14,7 +14,7 @@
{% for production_mode in offer.product.production_mode.all %}
{% if production_mode.picture2 %}
<img class="img-rounded" style="float: left; margin: 5px;" alt="{{ production_mode }}"
title="{{ production_mode }}" src="{{ MEDIA_URL }}{{ production_mode.picture2 }}"/>
title="{{ production_mode }}" src="{{ MEDIA_URL }}{{ production_mode.picture2 }}" height="24" width="24"/>
{% if production_mode.description %}<br/>
<small>{{ production_mode.description | safe }}</small>{% if not forloop.last %}<br/>{% endif %}{% endif %}
{% else %}
......
{% extends "admin/base_site.html" %}
{% load cms_tags sekizai_tags menu_tags compress i18n l10n %}
{% load cms_tags menu_tags compress i18n l10n crispy_forms_tags %}
{% block content %}
{# {% addtoblock "jshead" %}<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>{% endaddtoblock %}#}
{# <script type="text/javascript">if (typeof CMS === 'undefined') {#}
{# CMS.$ = $#}
{# }</script>#}
<link rel="stylesheet" href="{{ STATIC_URL}}bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="{{ STATIC_URL}}bootstrap/css/custom.css">
<h4>{{ sub_title }}</h4>
<p></p>
<form action="" method="post">{% csrf_token %}
<div>
{% for obj in queryset %}
<input type="hidden" name="{{ action_checkbox_name }}" value="{{ obj.pk|unlocalize }}"/>
{% endfor %}
<ul>{{ queryset | unordered_list }}</ul>
<p></p>
<p></p>
<input type="hidden" name="action" value="{{ action }}"/>
<button type="submit" name="cancel" value="cancel">{% trans "No, cancel the action" %}</button>
<button type="submit" name="apply" value="apply">{% trans "Yes, I'm sure" %}</button>
<h6>{{ permanence }}</h6>
<div class="submit-row">
{# {% if email_will_be_sent %}<button type="submit" name="test" value="test">{% trans "Test email" %}</button>{% endif %}#}
<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>
<input type="hidden" name="{{ action_checkbox_name }}" value="{{ permanence.id|unlocalize }}"/>
<input type="hidden" name="action" value="{{ action }}"/>
</form>
{% endblock %}
{% extends "admin/base_site.html" %}
{% load cms_tags sekizai_tags menu_tags compress i18n l10n %}
{% load cms_tags menu_tags compress i18n l10n crispy_forms_tags %}
{% block content %}
<h4>{{ permanence }} :</h4>
{# {% addtoblock "jshead" %}<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>{% endaddtoblock %}#}
<link rel="stylesheet" href="{{ STATIC_URL}}bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="{{ STATIC_URL}}bootstrap/css/custom.css">
<h4>{{ sub_title }}</h4>
<p></p>
<form action="" method="post">{% csrf_token %}
<div>
{% for obj in queryset %}
{{ obj.producer.short_profile_name }}, <b>{{ obj.bank_amount_out }} &euro;</b>,
{{ obj.operation_comment }}
<br/><br/>
<h6>{{ permanence }} :</h6>
<div class="submit-row">
<button type="submit" name="done" value="done"><h6>{% trans "Done" %}</h6></button>
</div>
<fieldset class="module aligned ">
<div class="form-row">
{% for bankaccount in bankaccounts %}
<h6>{{ bankaccount.producer.short_profile_name }}, {{ bankaccount.bank_amount_out }},
{{ bankaccount.operation_comment }}</h6>
{% endfor %}
<input type="hidden" name="permanence" value="{{ permanence.id }}"/>
<input type="hidden" name="action" value="{{ action }}"/>
<button type="submit" name="done" value="done">{% trans "Done" %}</button>
</div>
</fieldset>
<input type="hidden" name="{{ action_checkbox_name }}" value="{{ permanence.id|unlocalize }}"/>
<input type="hidden" name="action" value="{{ action }}"/>
</form>
{% endblock %}
{% extends "admin/base_site.html" %}
{% load cms_tags menu_tags compress i18n l10n crispy_forms_tags %}
{% block content %}
<link rel="stylesheet" href="{{ STATIC_URL}}bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="{{ STATIC_URL}}bootstrap/css/custom.css">
<style type="text/css">
.form-group input[type="checkbox"] {
display: none;
}
.form-group input[type="checkbox"] + .btn-group > label span {
width: 20px;
}
.form-group input[type="checkbox"] + .btn-group > label span:first-child {
display: none;
}
.form-group input[type="checkbox"] + .btn-group > label span:last-child {
display: inline-block;
}
.form-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
display: inline-block;
}
.form-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
display: none;
}
/* Credit to bootsnipp.com for the css for the color graph */
{#.colorgraph {#}
{# height: 5px;#}
{# border-top: 0;#}
{# background: #c4e17f;#}
{# border-radius: 5px;#}
{# background-image: -webkit-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);#}
{# background-image: -moz-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);#}
{# background-image: -o-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);#}
{# background-image: linear-gradient(to right, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4);#}