<commit_before><datasource-http-settings current="ctrl.current">
</datasource-http-settings>

<h5>Zabbix API details</h5>

<div class="tight-form">
  <ul class="tight-form-list">
    <li class="tight-form-item" style="width: 80px">
      User
    </li>
    <li>
      <input type="text" class="tight-form-input input-large"
             ng-model='ctrl.current.jsonData.username'
             placeholder="">
    </li>
    <li class="tight-form-item" style="width: 80px">
      Password
    </li>
    <li>
      <input type="password" class="tight-form-input input-large"
             ng-model='ctrl.current.jsonData.password'
             placeholder="">
    </li>
  </ul>
  <div class="clearfix"></div>
</div>
<div class="tight-form last">
  <ul class="tight-form-list">
    <li class="tight-form-item" style="width: 200px">
      Cache update interval
    </li>
    <li>
      <input type="text" class="tight-form-input input-small"
             ng-model='ctrl.current.jsonData.cacheTTL'
             placeholder="1h">
    </li>
    <li class="tight-form-item" style="width: 80px">
      Trends&nbsp;&nbsp;
      <input class="cr1" id="ctrl.current.jsonData.trends" type="checkbox"
             ng-model="ctrl.current.jsonData.trends"
             ng-checked="ctrl.current.jsonData.trends">
      <label for="ctrl.current.jsonData.trends" class="cr1"></label>
    </li>
    <li ng-if="ctrl.current.jsonData.trends"
        class="tight-form-item"
        style="width: 105px">
      Use trends from
    </li>
    <li ng-if="ctrl.current.jsonData.trends">
      <input type="text" class="tight-form-input input-small"
             ng-model='ctrl.current.jsonData.trendsFrom'
             placeholder="7d">
    </li>
  </ul>
  <div class="clearfix"></div>
</div><commit_msg>Updated datasource edit page style.<commit_after><datasource-http-settings current="ctrl.current">
</datasource-http-settings>

<div class="gf-form-group">
  <h3 class="page-heading">Zabbix API details</h3>

  <div class="gf-form">
    <span class="gf-form-label width-7">
      Username
    </span>
    <input class="gf-form-input max-width-21"
           type="text"
           ng-model='ctrl.current.jsonData.username'
           placeholder="user"
           required>
    </input>
  </div>

  <div class="gf-form">
    <span class="gf-form-label width-7">
      Password
    </span>
    <input class="gf-form-input max-width-21"
           type="password"
           ng-model='ctrl.current.jsonData.password'
           placeholder="password"
           required>
    </input>
  </div>

  <div class="gf-form-inline">
    <div class="gf-form">
      <label class="gf-form-label width-7">Trends</label>
    </div>
    <gf-form-switch class="gf-form"
      label="Enable"
      checked="ctrl.current.jsonData.trends" switch-class="max-width-6">
    </gf-form-switch>
    <div class="gf-form" ng-if="ctrl.current.jsonData.trends">
      <span class="gf-form-label width-7">
        Use from
      </span>
      <input class="gf-form-input max-width-5"
             type="text"
             ng-model='ctrl.current.jsonData.trendsFrom'
             placeholder="7d">
      </input>
    </div>
  </div>

  <div class="gf-form">
    <span class="gf-form-label width-12">
      Cache update interval
    </span>
    <input class="gf-form-input max-width-4"
           type="text"
           ng-model='ctrl.current.jsonData.cacheTTL'
           placeholder="1h">
    </input>
  </div>
</div>
{'fraction_non_alphanumeric': 0.17047096214966773, 'fraction_numerical': 0.010112684195319271, 'mean_word_length': 2.4585414585414584, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 82, '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': '5703251', 'n_tokens_mistral': 1213, 'n_tokens_neox': 1139, 'n_words': 194}