<commit_before><div ng-controller="Jmx.OperationsController">

  <div class="row-fluid" ng-show="isOperationsEmpty()">
    The selected MBean has no JMX operations.
  </div>

  <div class="row-fluid" ng-hide="isOperationsEmpty()">

    <form class="form-horizontal no-bottom-margin">
      <fieldset>
        <div class="control-group">
          <input type="text"
                 class="search-query span12"
                 ng-model="methodFilter"
                 placeholder="Filter...">
          </div>
        </fieldset>
      </form>
  </div>

  <ul class="unstyled" ng-hide="isOperationsEmpty()">
    <li ng-repeat="item in operations" ng-show="doFilter(item)">
      <div class="expandable closed" ng-controller="Jmx.OperationController">
        <div title="{{desc}}" class="title">
          <i class="expandable-indicator"></i> {{title}}
        </div>
        <div class="expandable-body well">

          <form class="form-horizontal no-bottom-margin" ng-show="operationResult!=''">
            <fieldset>
              <div class="no-bottom-margin">
                <div class="control-group">

                  <div hawtio-editor="operationResult" mode="mode"></div>

                </div>
                <div class="control-group">
                  <div class="controls">
                    <button class="btn" ng-click="ok()"><i class="icon-ok"></i> Ok</button>
                  </div>
                </div>
              </div>
            </fieldset>
          </form>

          <form id="opForm" class="form-horizontal no-bottom-margin" ng-show="operationResult==''">
            <fieldset>
              <legend>{{desc}}</legend>
              <div class="control-group" ng-repeat="arg in args">
                <!-- Todo Add form validation -->
                <label class="control-label">{{arg.name}}: </label>
                  <div class="controls" ng-switch on="arg.formType">
                    <input ng-switch-when="text" type='text' ng-model="arg.value">
                    <input ng-switch-when="number" type='number' ng-model="arg.value">
                    <span class="help-block">type: {{arg.type}}</span>
                  </div>
              </div>
              <div class="control-group">
                <div class="controls">
                  <button class="btn cancel"><i class="icon-remove"></i> Cancel</button>
                  <button class="btn" ng-click="reset()" ng-show="args"><i class="icon-undo"></i> Reset</button>
                  <button class="btn btn-success execute" ng-click="execute()"><i class="{{executeIcon}}"></i> Execute</button>
                </div>
              </div>
            </fieldset>
          </form>
        </div>
      </div>
    </li><commit_msg>#742: Added copy value to clipboard button to JMX operations.<commit_after><div ng-controller="Jmx.OperationsController">

  <div class="row-fluid" ng-show="isOperationsEmpty()">
    The selected MBean has no JMX operations.
  </div>

  <div class="row-fluid" ng-hide="isOperationsEmpty()">

    <form class="form-horizontal no-bottom-margin">
      <fieldset>
        <div class="control-group">
          <input type="text"
                 class="search-query span12"
                 ng-model="methodFilter"
                 placeholder="Filter...">
          </div>
        </fieldset>
      </form>
  </div>

  <ul class="unstyled" ng-hide="isOperationsEmpty()">
    <li ng-repeat="item in operations" ng-show="doFilter(item)">
      <div class="expandable closed" ng-controller="Jmx.OperationController">
        <div title="{{desc}}" class="title">
          <i class="expandable-indicator"></i> {{title}}
        </div>
        <div class="expandable-body well">

          <form class="form-horizontal no-bottom-margin" ng-show="operationResult!=''">
            <fieldset>
              <div class="no-bottom-margin">
                <div class="control-group">

                  <div hawtio-editor="operationResult" mode="mode"></div>

                </div>
                <div class="control-group">
                  <div class="controls">
                    <button class="btn" zero-clipboard data-clipboard-text="{{operationResult}}" title="Copy value to clipboard">
                      <i class="icon-copy"></i>
                    </button>
                    <button class="btn" ng-click="ok()"><i class="icon-ok"></i> Ok</button>
                  </div>
                </div>
              </div>
            </fieldset>
          </form>

          <form id="opForm" class="form-horizontal no-bottom-margin" ng-show="operationResult==''">
            <fieldset>
              <legend>{{desc}}</legend>
              <div class="control-group" ng-repeat="arg in args">
                <!-- Todo Add form validation -->
                <label class="control-label">{{arg.name}}: </label>
                  <div class="controls" ng-switch on="arg.formType">
                    <input ng-switch-when="text" type='text' ng-model="arg.value">
                    <input ng-switch-when="number" type='number' ng-model="arg.value">
                    <span class="help-block">type: {{arg.type}}</span>
                  </div>
              </div>
              <div class="control-group">
                <div class="controls">
                  <button class="btn cancel"><i class="icon-remove"></i> Cancel</button>
                  <button class="btn" ng-click="reset()" ng-show="args"><i class="icon-undo"></i> Reset</button>
                  <button class="btn btn-success execute" ng-click="execute()"><i class="{{executeIcon}}"></i> Execute</button>
                </div>
              </div>
            </fieldset>
          </form>
        </div>
      </div>
    </li>
{'fraction_non_alphanumeric': 0.17008339124391939, 'fraction_numerical': 0.0012161223071577485, 'mean_word_length': 1.8331692913385826, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, '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': '4362620', 'n_tokens_mistral': 1631, 'n_tokens_neox': 1549, 'n_words': 311}