<commit_before><div data-role="header">

    <a href="#"
        data-icon="arrow-l"
        data-direction="reverse"
        {{action backClicked target="view"}}>Machines</a>

    <h1 id="single-machine-name">{{name}}</h1>

    {{view Mist.UserMenuView}}

</div>

<div class="single-view-header">

    <h3 class="single-view-name">{{name}}</h3>

    <span class="single-view-icon-wrapper">
        <span id="single-view-provider-icon" {{bindAttr class="view.providerIconClass"}}></span>
    </span>

    <span {{bindAttr class=":single-view-icon-wrapper image.type"}}>
        <span id="single-view-image-icon"></span>
    </span>

    <h3 id="single-view-state" {{bindAttr class="state"}}>{{state}}</h3>

</div>

<div data-role="content">

    <div data-role="collapsible" data-collapsed="false">

        <h3>Monitoring</h3>
        <div id="monitoring-wrapper" {{bindAttr class=":ui-btn-inner :ui-corner-top :ui-corner-bottom pendingStats"}}>
            <div class="ajax-loader"></div>

            {{#if hasMonitoring}}

            <div id="cpuGraph"></div>
            <div id="loadGraph"></div>
            <div id="networkGraph"></div>
            <div id="diskGraph"></div>
            <div id="memoryGraph"></div>
            <div class="ui-loader ui-corner-all ui-body-a ui-loader-verbose pending-monitoring">
                <span class="ui-icon ui-icon-loading"></span>
                <h1>Disabling monitoring</h1>
            </div>
            <div class="rules-container">
            {{#each Mist.rulesController}}
                {{view Mist.RuleView ruleBinding="this"}}
            {{/each}}
            </div>
            <div class="monitoring-dialog-container enabled">
                {{view Mist.MachineMonitoringDialog machineBinding="this"}}
            </div>
            <div class="add-rule-container">
                <button id="add-rule-button"
                    data-icon="plus"
                    data-theme="b"
                    {{action addRuleClicked target="view"}}>Add Rule</button><commit_msg>show disable button when monitoring is enabled<commit_after><div data-role="header">

    <a href="#"
        data-icon="arrow-l"
        data-direction="reverse"
        {{action backClicked target="view"}}>Machines</a>

    <h1 id="single-machine-name">{{name}}</h1>

    {{view Mist.UserMenuView}}

</div>

<div class="single-view-header">

    <h3 class="single-view-name">{{name}}</h3>

    <span class="single-view-icon-wrapper">
        <span id="single-view-provider-icon" {{bindAttr class="view.providerIconClass"}}></span>
    </span>

    <span {{bindAttr class=":single-view-icon-wrapper image.type"}}>
        <span id="single-view-image-icon"></span>
    </span>

    <h3 id="single-view-state" {{bindAttr class="state"}}>{{state}}</h3>

</div>

<div data-role="content">

    <div data-role="collapsible" data-collapsed="false">

        <h3>Monitoring</h3>
        <div id="monitoring-wrapper" {{bindAttr class=":ui-btn-inner :ui-corner-top :ui-corner-bottom pendingStats"}}>
            <div class="ajax-loader"></div>

            {{#if hasMonitoring}}

            <div id="cpuGraph"></div>
            <div id="loadGraph"></div>
            <div id="networkGraph"></div>
            <div id="diskGraph"></div>
            <div id="memoryGraph"></div>
            <div class="ui-loader ui-corner-all ui-body-a ui-loader-verbose pending-monitoring">
                <span class="ui-icon ui-icon-loading"></span>
                <h1>Disabling monitoring</h1>
            </div>
            <div class="rules-container">
            {{#each Mist.rulesController}}
                {{view Mist.RuleView ruleBinding="this"}}
            {{/each}}
            </div>
            <div {{bindAttr class=":monitoring-dialog-container :enabled state"}}>
                {{view Mist.MachineMonitoringDialog machineBinding="this"}}
            </div>
            <div class="add-rule-container">
                <button id="add-rule-button"
                    data-icon="plus"
                    data-theme="b"
                    {{action addRuleClicked target="view"}}>Add Rule</button>
{'fraction_non_alphanumeric': 0.17834702754954085, 'fraction_numerical': 0.004833252779120348, 'mean_word_length': 2.266771902131018, 'pattern_counts': {'":': 5, '<': 103, '<?xml version=': 0, '>': 103, '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': '5210080', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1225, 'n_words': 211}