<commit_before><form action="{$smarty.server.PHP_SELF}" method="POST">
  <input type="hidden" name="page" value="{$smarty.request.page}">
  <input type="hidden" name="action" value="{$smarty.request.action}">
  <input type="hidden" name="do" value="save">
  <article class="module width_quarter">
    <header>
      <h3>Notification Settings</h3>
    </header>
    <div class="module_content">
    <table width="100%">
      <tr>
        <th align="left">Type</th>
        <th align="center">Active</th>
      </tr>
      <tr>
        <td align="left">IDLE Worker</td>
        <td>
          <label for="data[idle_worker]">
          <input type="hidden" name="data[idle_worker]" value="0" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[idle_worker]" id="data[idle_worker]" value="1"{nocache}{if $SETTINGS['idle_worker']}checked{/if}{/nocache} />
          <div class="switch"></div>
          </label>
        </td>
      </tr>
      <tr>
        <td align="left">New Blocks</td>
        <td>
          <label for="data[new_block]">
          <input type="hidden" name="data[new_block]" value="0" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[new_block]" id="data[new_block]" value="1"{nocache}{if $SETTINGS['new_block']}checked{/if}{/nocache} />
          <div class="switch"></div>
          </label>
        </td>
      </tr>
      <tr>
        <td align="left">Auto Payout</td>
        <td>
          <label for="data[auto_payout]">
          <input type="hidden" name="data[auto_payout]" value="0" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[auto_payout]" id="data[auto_payout]" value="1"{nocache}{if $SETTINGS['auto_payout']}checked{/if}{/nocache} />
          <div class="switch"></div>
          </label>
        </td>
      </tr>
      <tr>
        <td align="left">Manual Payout</td>
        <td>
          <label for="data[manual_payout]">
          <input type="hidden" name="data[manual_payout]" value="0" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[manual_payout]" id="data[manual_payout]" value="1"{nocache}{if $SETTINGS['manual_payout']}checked{/if}{/nocache} />
          <div class="switch"></div>
          </label>
        </td>
      </tr>
    </table>
    </div>
    <footer>
      <div class="submit_link">
        <input type="submit" value="Update" class="alt_btn">
      </div>
    </footer>
  </article>
</form>

<article class="module width_3_quarter">
  <header><h3>Notification History</h3></header>
  <table width="100%" class="tablesorter" cellspacing="0">
    <thead style="font-size:13px;">
      <tr>
        <th align="center" style="cursor: pointer;">ID</th>
        <th align="center" style="cursor: pointer;">Time</th>
        <th align="center" style="cursor: pointer;">Type</th>
        <th align="center" style="cursor: pointer;">Active</th>
      </tr>
    </thead>
    <tbody style="font-size:12px;">
{section notification $NOTIFICATIONS}
      <tr class="{cycle values="odd,even"}">
        <td align="center">{$NOTIFICATIONS[notification].id}</td>
        <td align="center">{$NOTIFICATIONS[notification].time}</td>
        <td align="center">
{if $NOTIFICATIONS[notification].type == new_block}New Block<commit_msg>Update default.tpl<commit_after><form action="{$smarty.server.PHP_SELF}" method="POST">
  <input type="hidden" name="page" value="{$smarty.request.page}">
  <input type="hidden" name="action" value="{$smarty.request.action}">
  <input type="hidden" name="do" value="save">
  <article class="module width_quarter">
    <header>
      <h3>Notification Settings</h3>
    </header>
    <div class="module_content">
    <table width="100%">
      <tr>
        <th align="left">Type</th>
        <th align="center">Active</th>
      </tr>
      <tr>
        <td align="left">IDLE Worker</td>
        <td>
          <label for="data[idle_worker]">
          <input type="hidden" name="data[idle_worker]" value="0" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[idle_worker]" id="data[idle_worker]" value="1"{nocache}{if $SETTINGS['idle_worker']}checked{/if}{/nocache} />
          <div class="switch"></div>
          </label>
        </td>
      </tr>
      <tr>
        <td align="left">New Blocks</td>
        <td>
          <label for="data[new_block]">
          <input type="hidden" name="data[new_block]" value="0" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[new_block]" id="data[new_block]" value="1"{nocache}{if $SETTINGS['new_block']}checked{/if}{/nocache} />
          <div class="switch"></div>
          </label>
        </td>
      </tr>
      <tr>
        <td align="left">Auto Payout</td>
        <td>
          <label for="data[auto_payout]">
          <input type="hidden" name="data[auto_payout]" value="0" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[auto_payout]" id="data[auto_payout]" value="1"{nocache}{if $SETTINGS['auto_payout']}checked{/if}{/nocache} />
          <div class="switch"></div>
          </label>
        </td>
      </tr>
      <tr>
        <td align="left">Manual Payout</td>
        <td>
          <label for="data[manual_payout]">
          <input type="hidden" name="data[manual_payout]" value="0" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[manual_payout]" id="data[manual_payout]" value="1"{nocache}{if $SETTINGS['manual_payout']}checked{/if}{/nocache} />
          <div class="switch"></div>
          </label>
        </td>
      </tr>
    </table>
    </div>
    <footer>
      <div class="submit_link">
        <input type="submit" value="Update" class="alt_btn">
      </div>
    </footer>
  </article>
</form>

<article class="module width_3_quarter">
  <header>
      <h3>Notification History</h3>
      <div class="submit_link">{include file="global/pagination.tpl"}</div>     
  </header>
  <table width="100%" class="tablesorter" cellspacing="0">
    <thead style="font-size:13px;">
      <tr>
        <th align="center" style="cursor: pointer;">ID</th>
        <th align="center" style="cursor: pointer;">Time</th>
        <th align="center" style="cursor: pointer;">Type</th>
        <th align="center" style="cursor: pointer;">Active</th>
      </tr>
    </thead>
    <tbody style="font-size:12px;">
{section notification $NOTIFICATIONS}
      <tr class="{cycle values="odd,even"}">
        <td align="center">{$NOTIFICATIONS[notification].id}</td>
        <td align="center">{$NOTIFICATIONS[notification].time}</td>
        <td align="center">
{if $NOTIFICATIONS[notification].type == new_block}New Block
{'fraction_non_alphanumeric': 0.2076878944348824, 'fraction_numerical': 0.0068846815834767644, 'mean_word_length': 3.2990135635018496, 'pattern_counts': {'":': 0, '<': 203, '<?xml version=': 0, '>': 203, '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': '5392224', 'n_tokens_mistral': 2369, 'n_tokens_neox': 2324, 'n_words': 375}