config.html 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <datasource-http-settings current="ctrl.current">
  2. </datasource-http-settings>
  3. <h3 class="page-heading">InfluxDB Details</h3>
  4. <div class="gf-form-group">
  5. <div class="gf-form-inline">
  6. <div class="gf-form gf-size-max-xxxl">
  7. <span class="gf-form-label gf-size-sm">Database</span>
  8. <input type="text" class="gf-form-input" ng-model='ctrl.current.database' placeholder="" required></input>
  9. </div>
  10. </div>
  11. <div class="gf-form-inline">
  12. <div class="gf-form gf-size-max-xxl">
  13. <span class="gf-form-label gf-size-sm">User</span>
  14. <input type="text" class="gf-form-input" ng-model='ctrl.current.user' placeholder="" required></input>
  15. </div>
  16. <div class="gf-form gf-size-max-xxl">
  17. <span class="gf-form-label gf-size-sm">Password</span>
  18. <input type="password" class="gf-form-input" ng-model='ctrl.current.password' placeholder="" required></input>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="gf-form-group">
  23. <div class="gf-form gf-size-max-xxl">
  24. <span class="gf-form-label">Default group by time</span>
  25. <input type="text" class="gf-form-input gf-size-xs" ng-model="ctrl.current.jsonData.timeInterval"
  26. spellcheck='false' placeholder="example: >10s"></input>
  27. <i class="fa fa-question-circle" bs-tooltip="'Set a low limit by having a greater sign: example: >10s'" data-placement="right"></i>
  28. </div>
  29. </div>