<commit_before>{% extends "organization/read_base.html" %}
{% import 'macros/form.html' as form %}
{% block subtitle %}{{ _('Edit dashboard') }} - {{ super() }}{% endblock %}

{% block primary_content_inner %}
  <h1>{% block page_heading %}{{ c.group_dict.display_name }}{% endblock %}</h1>

    <fieldset>
    <legend>{{ _('Dashboard fields') }}</legend>

    {{form.select('montrose_dashboard_is_active', 'montrose_dashboard_is_active', _('Is dashboard active?'), options=[{'value': '1', 'text': 'Yes'}, {'value': '0', 'text': 'No'}], selected='1')}}

    {{form.select('montrose_lang_is_active', 'montrose_lang_is_active', _('Show language selector'), options=[{'value': '1', 'text': 'Yes'}, {'value': '0', 'text': 'No'}], selected='0')}}

    {{ form.markdown('montrose_country_header', label=_('Dashboard header'), id='montrose_country_header', placeholder=_('Set the dashboard header text'), value=data.montrose_country_header, error=errors.montrose_country_header) }}

    {{ form.markdown('montrose_country_footer', label=_('Dashboard footer'), id='montrose_country_footer', placeholder=_('Set the dashboard header footer'), value=data.montrose_country_footer, error=errors.montrose_country_footer) }}

    {{form.select('montrose_dashboard_base_color', 'montrose_dashboard_base_color', _('Choose dashboard base color'), options=[
    {'value': '#B80000', 'text': 'Kenya'}, {'value': '#008751', 'text': 'Nigeria'},
    {'value': '#0EAAB2', 'text': 'Uganda'}, {'value': '#0070C0', 'text': 'Tanzania'},
    {'value': '#FECB00', 'text': 'Myanmar'}], selected='#B80000')}}

    {{form.select('montrose_datasets_per_page', 'montrose_datasets_per_page', _('Datasets per page'), options=[
    {'value': '5', 'text': '5'}, {'value': '10', 'text': '10'},
    {'value': '15', 'text': '15'}, {'value': '#20', 'text': '20'},
    {'value': '25', 'text': '25'}, {'value': '50', 'text': '50'}], selected='5')}}

 	</fieldset>

{% endblock %}<commit_msg>Change color patterns<commit_after>{% extends "organization/read_base.html" %}
{% import 'macros/form.html' as form %}
{% block subtitle %}{{ _('Edit dashboard') }} - {{ super() }}{% endblock %}

{% block primary_content_inner %}
  <h1>{% block page_heading %}{{ c.group_dict.display_name }}{% endblock %}</h1>

    <fieldset>
    <legend>{{ _('Dashboard fields') }}</legend>

    {{form.select('montrose_dashboard_is_active', 'montrose_dashboard_is_active', _('Is dashboard active?'), options=[{'value': '1', 'text': 'Yes'}, {'value': '0', 'text': 'No'}], selected='1')}}

    {{form.select('montrose_lang_is_active', 'montrose_lang_is_active', _('Show language selector'), options=[{'value': '1', 'text': 'Yes'}, {'value': '0', 'text': 'No'}], selected='0')}}

    {{ form.markdown('montrose_country_header', label=_('Dashboard header'), id='montrose_country_header', placeholder=_('Set the dashboard header text'), value=data.montrose_country_header, error=errors.montrose_country_header) }}

    {{ form.markdown('montrose_country_footer', label=_('Dashboard footer'), id='montrose_country_footer', placeholder=_('Set the dashboard header footer'), value=data.montrose_country_footer, error=errors.montrose_country_footer) }}

    {{form.select('montrose_dashboard_base_color', 'montrose_dashboard_base_color', _('Choose dashboard base color'), options=[
    {'value': '#B80000', 'text': 'Uganda'}, {'value': '#008751', 'text': 'Nigeria'},
    {'value': '#0070C0', 'text': 'Tanzania'}, {'value': '#FECB00', 'text': 'Myanmar'}], selected='#B80000')}}

    {{form.select('montrose_datasets_per_page', 'montrose_datasets_per_page', _('Datasets per page'), options=[
    {'value': '5', 'text': '5'}, {'value': '10', 'text': '10'},
    {'value': '15', 'text': '15'}, {'value': '#20', 'text': '20'},
    {'value': '25', 'text': '25'}, {'value': '50', 'text': '50'}], selected='5')}}

 	</fieldset>

{% endblock %}
{'fraction_non_alphanumeric': 0.23619393310863365, 'fraction_numerical': 0.02851957479906663, 'mean_word_length': 6.921971252566735, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6269856', 'n_tokens_mistral': 1372, 'n_tokens_neox': 1283, 'n_words': 272}