<commit_before>{% extends "base.html" %}
{% set active_page = "home" %}
{% set page_title = gettext("Home - Registration-less Monacoin Mining Pool") %}
{% block body %}
<script>
$(document).ready(function() {
  //  Action stats form based on input val
    $('#statsform').submit(function(){
      var address = $('#inputAddress').val();
      $(this).attr('action', "/" + address);
    });
});
</script>

<div class="row">
<!-- Quick start ================================================== -->

  <div class="col-lg-12">
    <div class="well well-lg" style="padding-right:30px;">
      <h3>{{ _('Quick start for mining:') }}</h3>
      <h4><b>{{ _('No registration required, payouts go to the address used as username.') }}</b></h4>
      <ol>
          <li>{{ _('Configure your stratum client with the information below. Worker name can be anything you\'d like:') }}
            <small>
              <pre>
{% for stratum in config['strata'] %}<b>{{ _('URL') }}:</b> stratum+tcp://{{ stratum['address'] }}
<b>{{ _('Port') }}:</b> {{ stratum['port'] }}
{% if not stratum == config['strata'][-1] %}OR
{% endif %}{% endfor %}
<b>{{ _('Username') }}:</b> {{ _('[Your wallet address].[Worker Name]') }}
<b>{{ _('Password') }}:</b> {{ _('anything or empty') }}
<b>{{ _('cgminer example') }}:</b> ./cgminer -o stratum+tcp://{{ config['stratum_address'] }}:{{ config['stratum_port'] }} -u {{ config['catchall_address'] }}.nanashi -I 13</pre>
            </small>
          </li>
          <li>{{ _('Check your stats and estimated payout by entering your %(coin)s address below:', coin = config['coin_name']) }}</li>
          <div class="form-group">
            <form class="bs-example form-horizontal" id="statsform">
              <fieldset>
                <div class="form-group"><commit_msg>fix: show working example on home page<commit_after>{% extends "base.html" %}
{% set active_page = "home" %}
{% set page_title = gettext("Home - Registration-less Monacoin Mining Pool") %}
{% block body %}
<script>
$(document).ready(function() {
  //  Action stats form based on input val
    $('#statsform').submit(function(){
      var address = $('#inputAddress').val();
      $(this).attr('action', "/" + address);
    });
});
</script>

<div class="row">
<!-- Quick start ================================================== -->

  <div class="col-lg-12">
    <div class="well well-lg" style="padding-right:30px;">
      <h3>{{ _('Quick start for mining:') }}</h3>
      <h4><b>{{ _('No registration required, payouts go to the address used as username.') }}</b></h4>
      <ol>
          <li>{{ _('Configure your stratum client with the information below. Worker name can be anything you\'d like:') }}
            <small>
              <pre>
{% for stratum in config['strata'] %}<b>{{ _('URL') }}:</b> stratum+tcp://{{ stratum['address'] }}
<b>{{ _('Port') }}:</b> {{ stratum['port'] }}
{% if not stratum == config['strata'][-1] %}OR
{% endif %}{% endfor %}
<b>{{ _('Username') }}:</b> {{ _('[Your wallet address].[Worker Name]') }}
<b>{{ _('Password') }}:</b> {{ _('anything or empty') }}
<b>{{ _('cgminer example') }}:</b> ./cgminer -o stratum+tcp://{{ config['strata'][0]['address'] }}:{{ config['strata'][0]['port'] }} -u {{ config['catchall_address'] }}.nanashi -I 13</pre>
            </small>
          </li>
          <li>{{ _('Check your stats and estimated payout by entering your %(coin)s address below:', coin = config['coin_name']) }}</li>
          <div class="form-group">
            <form class="bs-example form-horizontal" id="statsform">
              <fieldset>
                <div class="form-group">
{'fraction_non_alphanumeric': 0.25518385402267074, 'fraction_numerical': 0.006635333149018523, 'mean_word_length': 3.3854545454545453, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '4184782', 'n_tokens_mistral': 1193, 'n_tokens_neox': 1112, 'n_words': 311}