<commit_before>{% extends "base.html" %}
{% load staticfiles %}

{% block content %}
<section id="generator">
  <h2>Paper Wallet Generator</h2>
  Select which currencies you want included in your paper wallet:<br><br>
  <div style="text-align: left; margin: 0 auto 0 auto; width: 10em">
  {% for currency_data in paper_wallet_currencies %}
    <input type="checkbox" name="currency" value="{{ currency_data.code }}">{{ currency_data.name }}<br>
  {% endfor %}

  <br><br>
  <button id="generate">Generate!</button>

  </div>

</section>

<div id="wallets" style="display: none">

</div>

<style>
    @media print {
        .wide {
            width: 100%;
            font-size: small;
        }

        #generator, #header, #footer {
            display: none;
        }
    }

    @media screen {
        .wide {
            width: 80%;
            margin: 5px auto 5px auto;
        }
    }

    .wide {
        border: 1px solid black;
        padding: 3px;
        overflow: hidden;
        margin-top: 3px;
    }

    .wide .priv {
        float: right;
        border: 0px solid red;
    }

    .wide .pub {
        float: left;
        border: 0px solid blue;
        clear: left;
    }
<commit_msg>fixed pagebreak issue with paper wallet<commit_after>{% extends "base.html" %}
{% load staticfiles %}

{% block content %}
<section id="generator">
  <h2>Paper Wallet Generator</h2>
  Select which currencies you want included in your paper wallet:<br><br>
  <div style="text-align: left; margin: 0 auto 0 auto; width: 10em">
  {% for currency_data in paper_wallet_currencies %}
    <input type="checkbox" name="currency" value="{{ currency_data.code }}">{{ currency_data.name }}<br>
  {% endfor %}

  <br><br>
  <button id="generate">Generate!</button>

  </div>

</section>

<div id="wallets" style="display: none">

</div>

<style>
    @media print {
        .wide {
            width: 100%;
            font-size: small;
        }

        #generator, #header, #footer {
            display: none;
        }
        .wide {
            page-break-inside: avoid;
        }
    }

    @media screen {
        .wide {
            width: 80%;
            margin: 5px auto 5px auto;
        }
    }

    .wide {
        border: 1px solid black;
        padding: 3px;
        overflow: hidden;
        margin-top: 3px;
    }

    .wide .priv {
        float: right;
        border: 0px solid red;
    }

    .wide .pub {
        float: left;
        border: 0px solid blue;
        clear: left;
    }

{'fraction_non_alphanumeric': 0.13846767757382283, 'fraction_numerical': 0.014365522745411013, 'mean_word_length': 1.9633569739952719, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '7387943', 'n_tokens_mistral': 858, 'n_tokens_neox': 786, 'n_words': 220}