From eb1dfe9124ca794938b1ff792e5a68d5b9980776 Mon Sep 17 00:00:00 2001 From: Elias Showk Date: Fri, 4 May 2018 18:56:07 +0200 Subject: [PATCH] qommon: add checkboxes--meetings.html using get_options (#23230) --- static/includes/_misc.scss | 4 + .../forms/widgets/checkboxes--meetings.html | 158 ++++++++++++++++++ 2 files changed, 162 insertions(+) create mode 100644 templates/qommon/forms/widgets/checkboxes--meetings.html diff --git a/static/includes/_misc.scss b/static/includes/_misc.scss index 164c24f..590a2ef 100644 --- a/static/includes/_misc.scss +++ b/static/includes/_misc.scss @@ -536,6 +536,10 @@ div.meetings_table { &.disabled { opacity: 0.3; } + &.selected { + background: $button-background; + color: $button-color; + } } span.selectable { diff --git a/templates/qommon/forms/widgets/checkboxes--meetings.html b/templates/qommon/forms/widgets/checkboxes--meetings.html new file mode 100644 index 0000000..71a49f9 --- /dev/null +++ b/templates/qommon/forms/widgets/checkboxes--meetings.html @@ -0,0 +1,158 @@ +{% extends "qommon/forms/widget.html" %} +{% load qommon %} +{% block widget-control %} + +
+
+ +{% if request.quixote_request.is_in_backoffice %} + +{% endif %} +{% endblock %} + +{% block widget-hint %} +{% if widget.hint %}
{{widget.hint}}
{% endif %} +{% endblock %} -- 2.17.0