<commit_before><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="MusicBox">
    <meta http-equiv="imagetoolbar" content="no"/>
    <meta content="true" name="MSSmartTagsPreventParsing"/>

    <meta http-equiv="cleartype" content="on">
    <title>MusicBox Settings</title>

    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.css" />
    <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.js"></script>

    <meta name="description" content="MusicBox">
    <meta name="author" content="<NAME>">
    <meta name="copyright" content="(c) 2012-2014 <NAME>"/>
    <style>
        .ui-slider-input {
            display: block !important;
        }
        .ui-slider-track {
            margin-left: 4em;
        }
        label {
            font-weight: bold !important;
            margin-top: 1em !important;
            margin-bottom: 0.1em !important;
        }
        p {
            margin: 0 !important;
            margin-top: 0.2em !important;
        }
    </style>
</head>

<body>
  <div class="box focus">
    <h3>Settings</h3>
    <div>{{ error }}</div>
        <form action="update" method="post"> <!-- onsubmit="alert('Will update and reboot now...'); return true;"> -->

        {% if websettings__musicbox == "true" %}

        <div data-role="collapsible" class="settingscoll">
            <h2>Network</h2>
            <label for="network__wifi_network">Wifi Network Name</label>
            <input type="text" name="network__wifi_network" value="{{ network__wifi_network }}" size="15" maxlength="40"/>
            <label for="network__wifi_password">Wifi Password</label>
            <input type="password" name="network__wifi_password" value="{{ network__wifi_password }}" size="10"/>

            <label for="network__workgroup">Workgroup</label>
            <p>Here you can change the default workgroup of the Windows network. This will set the workgroup to the name you want</p>
            <input type="text" name="network__workgroup" value="{{ network__workgroup }}" size="15" maxlength="40"/>

            <label for="network__enable_ssh">Enable SSH</label>
            <p>For security reasons, change the root password if you enable this.</p>
            <div>
                <select name="network__enable_ssh" data-role="slider"><br/>
                    <option value="false"{% if network__enable_ssh == "false" %} selected="true"{% endif
  %}>Off</option>
                    <option value="true"{% if network__enable_ssh == "true" %} selected="true"{% endif
  %}>On</option>
                </select>
            </div>
        </div>
<commit_msg>Re-added maxlength for WPA2-PSK password field<commit_after><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="MusicBox">
    <meta http-equiv="imagetoolbar" content="no"/>
    <meta content="true" name="MSSmartTagsPreventParsing"/>

    <meta http-equiv="cleartype" content="on">
    <title>MusicBox Settings</title>

    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.css" />
    <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.js"></script>

    <meta name="description" content="MusicBox">
    <meta name="author" content="<NAME>">
    <meta name="copyright" content="(c) 2012-2014 <NAME>"/>
    <style>
        .ui-slider-input {
            display: block !important;
        }
        .ui-slider-track {
            margin-left: 4em;
        }
        label {
            font-weight: bold !important;
            margin-top: 1em !important;
            margin-bottom: 0.1em !important;
        }
        p {
            margin: 0 !important;
            margin-top: 0.2em !important;
        }
    </style>
</head>

<body>
  <div class="box focus">
    <h3>Settings</h3>
    <div>{{ error }}</div>
        <form action="update" method="post"> <!-- onsubmit="alert('Will update and reboot now...'); return true;"> -->

        {% if websettings__musicbox == "true" %}

        <div data-role="collapsible" class="settingscoll">
            <h2>Network</h2>
            <label for="network__wifi_network">Wifi Network Name</label>
            <input type="text" name="network__wifi_network" value="{{ network__wifi_network }}" size="15" maxlength="40"/>
            <label for="network__wifi_password">Wifi Password</label>
            <input type="password" name="network__wifi_password" value="{{ network__wifi_password }}" size="10" maxlength="63"/>

            <label for="network__workgroup">Workgroup</label>
            <p>Here you can change the default workgroup of the Windows network. This will set the workgroup to the name you want</p>
            <input type="text" name="network__workgroup" value="{{ network__workgroup }}" size="15" maxlength="40"/>

            <label for="network__enable_ssh">Enable SSH</label>
            <p>For security reasons, change the root password if you enable this.</p>
            <div>
                <select name="network__enable_ssh" data-role="slider"><br/>
                    <option value="false"{% if network__enable_ssh == "false" %} selected="true"{% endif
  %}>Off</option>
                    <option value="true"{% if network__enable_ssh == "true" %} selected="true"{% endif
  %}>On</option>
                </select>
            </div>
        </div>

{'fraction_non_alphanumeric': 0.16724137931034483, 'fraction_numerical': 0.01614420062695925, 'mean_word_length': 2.800476474091721, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 135, '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': '7222697', 'n_tokens_mistral': 2046, 'n_tokens_neox': 1934, 'n_words': 400}