summary.hbs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 service-block">
  19. <div class="span6">
  20. <ul class="nav nav-pills move">
  21. <li class="dropdown">
  22. <a class="dropdown-toggle" data-toggle="dropdown" href="#">Quick Links <b class="caret"></b></a>
  23. <ul class="dropdown-menu">
  24. {{#each controller.content.quickLinks}}
  25. <a href="javascript:void(null)">{{label}}</a>
  26. {{/each}}
  27. </ul>
  28. </li>
  29. </ul>
  30. <h4>Service Summary</h4>
  31. <div class="service-content">
  32. {{#each component in controller.content.components}}
  33. {{#if component.type}}
  34. <div class="service-links">{{component.componentName}}:<a {{action selectHost component.host href=true}} href="javascript:void(null)">{{component.host.hostName}}</a></div>
  35. {{else}}
  36. <div class="service-links">{{component.componentName}}:<a {{action filterHosts component}} href="javascript:void(null)">{{component.componentName}}</a></div>
  37. {{/if}}
  38. {{/each}}
  39. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
  40. industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and
  41. scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into
  42. electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of
  43. Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like
  44. Aldus PageMaker including versions of Lorem Ipsum.
  45. </div>
  46. </div>
  47. <div class="span6">
  48. <div class="box">
  49. <div class="box-header">
  50. <h4>Alerts</h4>
  51. </div>
  52. <ul class="alerts">
  53. {{#each controller.content.alerts}}
  54. <li class="status-{{unbound status}}">
  55. <p><span class="title">{{title}}</span> <a href="javascript:void(null)">{{service.label}}</a><span class="date-time">{{date}}</span></p>
  56. <p><span>{{status}}:</span> <span>{{message}}</span></p>
  57. </li>
  58. {{/each}}
  59. </ul>
  60. <div class="box-footer">
  61. <hr />
  62. <a class="go-to" href="javascript:void(null)">Go to Nagios</a>
  63. </div>
  64. </div>
  65. </div>
  66. </div>