bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/cmd/bosun/web/static/partials/errors.html (about) 1 <h2> Errors </h2> 2 3 <div class="row" ng-show="error"> 4 <div class="col-lg-12"> 5 <pre class="alert alert-danger" ng-bind="error" style="white-space: pre-wrap;"></pre> 6 </div> 7 </div> 8 <div class="row" ng-show="loading"> 9 <div class="col-lg-12"> 10 <div class="alert alert-info"> 11 Loading... 12 </div> 13 </div> 14 </div> 15 16 <div ng-show="totalLines() > 0"> 17 <div class="row" style="margin-bottom:15px;"> 18 <button class='btn btn-default pull-right' ng-click="clearAll()" ng-disabled="totalLines() == 0">Clear All {{totalLines()}}</button> 19 <button class='btn btn-default pull-right' ng-click="clearSelected()" ng-disabled="selectedLines() == 0">Clear {{selectedLines()}} selected</button> 20 </div> 21 <div class="panel-group"> 22 <div class="panel" ng-repeat="err in errors | orderBy: ['Success','-Sum']" ng-show="err.Sum" ng-class="{'panel-danger': !err.Success, 'panel-success':err.Success}" > 23 <div class="panel-heading" ng-click="err.Shown = !err.Shown"> 24 <h4 class="panel-title">alert {{err.Name}} - ({{err.Sum}} events) 25 <label class="pull-right select"> 26 <input type="checkbox" class="pull-right" ng-model="err.checked" ng-click="click(err, $event)"> 27 </label> 28 </h4> 29 </div> 30 <div class="panel-body" ng-if="err.Shown"> 31 <div class="alert alert-danger" role="alert" ng-repeat="line in err.Errors | orderBy:['-LastTime']" style="margin:0px;"> 32 {{line.Message}} - {{line.Count}} times From <span ts-time="line.FirstTime"></span> To <span ts-time="line.LastTime"></span> 33 - <a ng-href="{{ruleLink(line,err)}}">Rule Page</a> 34 </div> 35 </div> 36 </div> 37 </div> 38 </div> 39 40 <div ng-show="totalLines() == 0"> 41 <div class="alert alert-success"> 42 No errors. This is a good thing. 43 </div> 44 </div>