dashboard.hbs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {{!
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. }}
  18. <div class="row">
  19. <div class="span6">
  20. <div class="row">
  21. <div class="span6">
  22. <div class="box">
  23. <div class="box-header">
  24. <h4>{{t dashboard.services}}</h4>
  25. </div>
  26. <dl class="dl-horizontal services">
  27. {{#each item in view.content}}
  28. {{view item.viewName serviceBinding="item.model"}}
  29. {{/each}}
  30. </dl>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="span6">
  36. <div class="box">
  37. <div class="box-header">
  38. <h4>Cluster Metrics</h4>
  39. <div class="btn-group">
  40. <a class="btn" href="http://gangliaserver/ganglia/?t=yes" target="_blank" rel="tooltip" title="Go to Ganglia"><i class="icon-link"></i></a>
  41. </div>
  42. </div>
  43. <div class="graphs-container">
  44. <div class="row">
  45. <div class="span6">
  46. <div class="row">
  47. <div class="span3">{{view App.ChartClusterMetricsNetwork}}</div>
  48. <div class="span3">{{view App.ChartClusterMetricsLoad}}</div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="row">
  53. <div class="span6">
  54. <div class="row">
  55. <div class="span3">{{view App.ChartClusterMetricsMemory}}</div>
  56. <div class="span3">{{view App.ChartClusterMetricsCPU}}</div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>