<commit_before>{% extends 'catalog/layout.html' %}
{% import 'macros.twig' as scat %}

{% block title %}
  Custom
{% endblock %}

{% block catalog_content %}
  <form id="dims" class="form-horizontal" role="form">
    <div class="form-group">
      <label for="w" class="col-sm-2 control-label">Width</label>
      <div class="col-sm-4">
        <input type="text" class="form-control" name="width">
      </div>
      <div class="col-sm-2">
        <p class="form-control-static" id="w_in"></p>
      </div>
    </div>
    <div class="form-group">
      <label for="h" class="col-sm-2 control-label">Height</label>
      <div class="col-sm-4">
        <input type="text" class="form-control" name="height">
      </div>
      <div class="col-sm-2">
        <p class="form-control-static" id="h_in"></p>
      </div>
    </div>
    <div class="row">
      <div class="col-sm-4">
        <div class="panel panel-default">
          <div class="panel-heading"><h3 class="panel-title">Canvas</h3></div>
          <div class="panel-body">
            <div class="form-group">
              <label for="slim" class="col-sm-6 control-label">
                Slim (&frac34;")
              </label>
              <div class="col-sm-6">
                <p class="form-control-static"
                   data-calc="scat.amount(ui * 0.70)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="thick" class="col-sm-6 control-label">
                Thick (1&frac12;")
              </label>
              <div class="col-sm-6">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 40)
                               ? 'Too big!'
                               : scat.amount(ui * 1.00)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="chunky" class="col-sm-6 control-label">
                Chunky (1&frac12;")
              </label>
              <div class="col-sm-6">
                <p class="form-control-static"
                   data-calc="scat.amount(ui * 2.00)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="epic" class="col-sm-6 control-label">
                Epic (2&frac12;")
              </label>
              <div class="col-sm-6">
                <p class="form-control-static"
                   data-calc="scat.amount(ui * 3.00)"></p>
              </div>
            </div>
          </div>
        </div><!-- /.panel -->
      </div><!-- /.col-sm-4 -->
      <div class="col-sm-4">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">Floater Frame</h3>
          </div>
          <div class="panel-body">
            <div class="form-group">
              <label for="slim" class="col-sm-7 control-label">
                Natural Slim (&frac34;")
              </label>
              <div class="col-sm-5">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 40)
                               ? 'Too big!'
                               : scat.amount(ui * 1.00)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="slim-finished" class="col-sm-7 control-label">
                Finished Slim (&frac34;")
              </label>
              <div class="col-sm-5">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 40)
                               ? 'Too big!'
                               : scat.amount(ui * 1.50)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="thick" class="col-sm-7 control-label">
                Natural Thick (1&frac12;")
              </label>
              <div class="col-sm-5">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 40)
                               ? 'Too big!'
                               : scat.amount(ui * 1.50)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="thick-finished" class="col-sm-7 control-label">
                Finished Thick (1&frac12;")
              </label>
              <div class="col-sm-5">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 40)<commit_msg>Fix maximum<commit_after>{% extends 'catalog/layout.html' %}
{% import 'macros.twig' as scat %}

{% block title %}
  Custom
{% endblock %}

{% block catalog_content %}
  <form id="dims" class="form-horizontal" role="form">
    <div class="form-group">
      <label for="w" class="col-sm-2 control-label">Width</label>
      <div class="col-sm-4">
        <input type="text" class="form-control" name="width">
      </div>
      <div class="col-sm-2">
        <p class="form-control-static" id="w_in"></p>
      </div>
    </div>
    <div class="form-group">
      <label for="h" class="col-sm-2 control-label">Height</label>
      <div class="col-sm-4">
        <input type="text" class="form-control" name="height">
      </div>
      <div class="col-sm-2">
        <p class="form-control-static" id="h_in"></p>
      </div>
    </div>
    <div class="row">
      <div class="col-sm-4">
        <div class="panel panel-default">
          <div class="panel-heading"><h3 class="panel-title">Canvas</h3></div>
          <div class="panel-body">
            <div class="form-group">
              <label for="slim" class="col-sm-6 control-label">
                Slim (&frac34;")
              </label>
              <div class="col-sm-6">
                <p class="form-control-static"
                   data-calc="scat.amount(ui * 0.70)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="thick" class="col-sm-6 control-label">
                Thick (1&frac12;")
              </label>
              <div class="col-sm-6">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 40)
                               ? 'Too big!'
                               : scat.amount(ui * 1.00)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="chunky" class="col-sm-6 control-label">
                Chunky (1&frac12;")
              </label>
              <div class="col-sm-6">
                <p class="form-control-static"
                   data-calc="scat.amount(ui * 2.00)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="epic" class="col-sm-6 control-label">
                Epic (2&frac12;")
              </label>
              <div class="col-sm-6">
                <p class="form-control-static"
                   data-calc="scat.amount(ui * 3.00)"></p>
              </div>
            </div>
          </div>
        </div><!-- /.panel -->
      </div><!-- /.col-sm-4 -->
      <div class="col-sm-4">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">Floater Frame</h3>
          </div>
          <div class="panel-body">
            <div class="form-group">
              <label for="slim" class="col-sm-7 control-label">
                Natural Slim (&frac34;")
              </label>
              <div class="col-sm-5">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 48)
                               ? 'Too big!'
                               : scat.amount(ui * 1.00)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="slim-finished" class="col-sm-7 control-label">
                Finished Slim (&frac34;")
              </label>
              <div class="col-sm-5">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 48)
                               ? 'Too big!'
                               : scat.amount(ui * 1.50)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="thick" class="col-sm-7 control-label">
                Natural Thick (1&frac12;")
              </label>
              <div class="col-sm-5">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 40)
                               ? 'Too big!'
                               : scat.amount(ui * 1.50)"></p>
              </div>
            </div>
            <div class="form-group">
              <label for="thick-finished" class="col-sm-7 control-label">
                Finished Thick (1&frac12;")
              </label>
              <div class="col-sm-5">
                <p class="form-control-static"
                   data-calc="(Math.max(w, h) > 40)
{'fraction_non_alphanumeric': 0.17493297587131368, 'fraction_numerical': 0.018096514745308313, 'mean_word_length': 1.2723350253807106, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 219, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1966292', 'n_tokens_mistral': 2818, 'n_tokens_neox': 2680, 'n_words': 492}