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 max-width-30">
  7. <span class="gf-form-label width-7">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 max-width-15">
  13. <span class="gf-form-label width-7">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 max-width-15">
  17. <span class="gf-form-label width-7">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 max-width-21">
  24. <span class="gf-form-label">Default group by time</span>
  25. <input type="text" class="gf-form-input width-6" 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>