<commit_before><!-- -*- mode:jinja2 -*- -->
{% extends "base.html" %}

{% block pagetitle %}
<i class="fa fa-cog"></i> <span class="ds-primary-title">{{config['DASHBOARD_APPNAME']}}</span> <span class="ds-secondary-title">{{title}}</span>
{% endblock %}

{% block content %}

<div class="container">

  <div>
    {% include "snippets/breadcrumbs.html" %}
  </div>


  <div class="row">
    <div class="col-md-8 col-md-offset-2">

      <div class="well">

      <form class="form-horizontal">
        <fieldset>

          <!-- Form Name -->
          <!-- <legend>Form Name</legend> -->

          <!-- Chart Style -->
          <div class="form-group">
            <label class="col-md-4 control-label" for="chartRadios">Default Chart Style</label>
            <div class="col-md-4">
              <div class="radio">
                <label for="chartRadios-0">
                  <!-- Static -->
                  <input type="radio" name="chartRadios" id="chartRadios-0" value="static" {% if not ctx.prefs.interactive %} checked="checked"{% endif %} onclick="setPref('interactive', 'false')">
                    Static
                </label>
	          </div>
              <div class="radio">
                <label for="chartRadios-1">
                  <!-- Interactive -->
                  <input type="radio" name="chartRadios" id="chartRadios-1" value="interactive" {% if ctx.prefs.interactive %} checked="checked"{% endif %} onclick="setPref('interactive', 'true')">
                    Interactive
                </label>
	          </div>
            </div>
          </div>

          <!-- Theme -->
          <div class="form-group">
            <label class="col-md-4 control-label">Theme</label>
            <div class="col-md-8">
              <div class="btn-group">
                <input type="button" class="btn {% if ctx.prefs.theme=='dark' %} btn-primary {% else %} btn-default {% endif %} col-md-4" onclick="setPref('theme', 'dark')" value="Dark">
                <input type="button" class="btn {% if ctx.prefs.theme=='light' %} btn-primary {% else %} btn-default {% endif %} col-md-4" onclick="setPref('theme', 'light')" value="Light">
                <input type="button" class="btn {% if ctx.prefs.theme=='solarized-light' %} btn-primary {% else %} btn-default {% endif %} col-md-4" onclick="setPref('theme', 'solarized-light')" value="Solarized Light">
              </div>
            </div>
          </div>
        </fieldset>
      </form><commit_msg>Tidy up preferences<commit_after><!-- -*- mode:jinja2 -*- -->
{% extends "base.html" %}

{% block pagetitle %}
<i class="fa fa-cog"></i> <span class="ds-primary-title">{{config['DASHBOARD_APPNAME']}}</span> <span class="ds-secondary-title">{{title}}</span>
{% endblock %}

{% block content %}

<div class="container">

  <div>
    {% include "snippets/breadcrumbs.html" %}
  </div>


  <div class="row">
    <div class="col-md-8 col-md-offset-2">

      <div class="well">

      <form class="form-horizontal">
        <fieldset>

          <!-- Form Name -->
          <!-- <legend>Form Name</legend> -->

          <!-- Chart Style -->
          <div class="form-group">
            <label class="col-md-4 control-label" for="chartRadios">Default Chart Style</label>
            <div class="col-md-4">
              <div class="radio">
                <label for="chartRadios-0">
                  <!-- Static -->
                  <input type="radio" name="chartRadios" id="chartRadios-0" value="static" {% if not ctx.prefs.interactive %} checked="checked"{% endif %} onclick="setPref('interactive', 'false')">
                    Static
                </label>
	          </div>
              <div class="radio">
                <label for="chartRadios-1">
                  <!-- Interactive -->
                  <input type="radio" name="chartRadios" id="chartRadios-1" value="interactive" {% if ctx.prefs.interactive %} checked="checked"{% endif %} onclick="setPref('interactive', 'true')">
                    Interactive
                </label>
	          </div>
            </div>
          </div>

          <!-- Theme -->
          <div class="form-group">
            <label class="col-md-4 control-label" for="themeRadios">Theme</label>
            <div class="col-md-8">
              <div class="radio">
                <label for="themeRadios-dark">
                  <input type="radio" name="themeRadios" id="themeRadios-dark" {% if ctx.prefs.theme=='dark' %} checked="checked" {% endif %} onclick="setPref('theme', 'dark')" value="Dark">
                    Dark
                </label>
              </div>
              <div class="radio">
                <label for="themeRadios-light">
                  <input type="radio" name="themeRadios" id="themeRadios-light" {% if ctx.prefs.theme=='light' %} checked="checked" {% endif %} onclick="setPref('theme', 'light')" value="Light">
                    Light
                </label>
              </div>
              <div class="radio">
                <label for="themeRadios-solarized-light">
                  <input type="radio" name="themeRadios" id="themeRadios-solarized-light" {% if ctx.prefs.theme=='solarized-light' %} checked="checked" {% endif %} onclick="setPref('theme', 'solarized-light')" value="Solarized Light">
                    Solarized Light
                </label>
              </div>
            </div>
          </div>
        </fieldset>
      </form>
{'fraction_non_alphanumeric': 0.1876262162658344, 'fraction_numerical': 0.004589682393978336, 'mean_word_length': 1.946457544618713, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 117, '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': '7541632', 'n_tokens_mistral': 1686, 'n_tokens_neox': 1533, 'n_words': 303}