bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/cmd/bosun/web/static/partials/results.html (about)

     1  <div class="row" ng-show="error">
     2  	<div class="col-lg-12">
     3  		<div class="alert alert-danger" ng-bind="error"></div>
     4  	</div>
     5  </div>
     6  <div class="row" ng-show="running">
     7  	<div class="col-lg-12">
     8  		<div class="alert alert-info">Executing: {{running}}</div>
     9  	</div>
    10  </div>
    11  <div class="row" ng-show="queries">
    12  	<div class="col-lg-12">
    13  		<h4>Queries</h4>
    14  	</div>
    15  	<div class="col-lg-12" ng-repeat="(s, q) in queries">
    16  		<a href="/graph?b64={{btoa(json(q))}}" ng-bind="s"></a>
    17  	</div>
    18  </div>
    19  <div class="row" ng-show="result">
    20  	<div class="col-sm-12">
    21  		<table class="table">
    22  			<thead>
    23  				<tr>
    24  					<th>group</th>
    25  					<th>result</th>
    26  					<th>computations</th>
    27  				</tr>
    28  			</thead>
    29  			<tbody>
    30  				<tr ng-repeat="r in result">
    31  					<td>
    32  						{
    33  						<span ng-repeat="(k, v) in r.Group">
    34  							{{k}}={{v}}<span ng-hide="$last">,</span>
    35  						</span>
    36  						}
    37  					</td>
    38  					<td>
    39  						<button class="btn btn-default btn-xs" ng-hide="show || !isSeries(r.Value)" ng-click="show = true">show</button>
    40  						<pre ng-if="show || !isSeries(r.Value)" ng-bind="json(r.Value)"></pre>
    41  					</td>
    42  					<td ts-computations="r.Computations"></td>
    43  				</tr>
    44  			</tbody>
    45  		</table>
    46  	</div>
    47  </div>