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

     1  <div class="row" ng-show="running">
     2  	<div class="col-lg-12">
     3  		<div class="alert alert-info" ng-bind="running"></div>
     4  	</div>
     5  </div>
     6  <div class="row" ng-show="success">
     7  	<div class="col-lg-12">
     8  		<div class="alert alert-success" ng-bind="success"></div>
     9  	</div>
    10  </div>
    11  <div class="row" ng-show="error">
    12  	<div class="col-lg-12">
    13  		<div class="alert alert-danger" ng-bind="error"></div>
    14  	</div>
    15  </div>
    16  <div class="row">
    17  	<div class="col-sm-12">
    18  		<form class="form-horizontal">
    19  			<div class="col-sm-6">
    20  				<div class="form-group">
    21  					<label class="control-label col-sm-2">Metric</label>
    22  					<div class="col-sm-10">
    23  						<input type="text" class="form-control" ng-model="metric" bs-options="m for m in metrics" ng-change="GetTagKByMetric()" limit="30" bs-typeahead>
    24  					</div>
    25  				</div>
    26  			</div>
    27  			<div class="col-sm-6">
    28  				<button class="btn btn-primary" ng-click="Submit()">Submit</button>
    29  			</div>
    30  		</form>
    31  	</div>
    32  </div>
    33  <div class="row">
    34  	<div class="col-sm-12">
    35  		<div class="col-sm-6">
    36  			<h3>Datapoints</h3>
    37  			<div class="form-horizontal" ng-repeat="(k, v) in dps">
    38  				<div class="col-sm-6">
    39  					<div class="form-group">
    40  						<label class="col-sm-2 control-label">Time</label>
    41  						<div class="col-sm-10">
    42  							<input class="form-control" type="text" ng-model="dps[k].k" ng-change="AddDP()">
    43  						</div>
    44  					</div>
    45  				</div>
    46  				<div class="col-sm-6">
    47  					<div class="form-group">
    48  						<label class="col-sm-2 control-label">Value</label>
    49  						<div class="col-sm-10">
    50  							<input type="text" class="form-control" ng-model="dps[k].v" ng-change="AddDP()">
    51  						</div>
    52  					</div>
    53  				</div>
    54  			</div>
    55  		</div>
    56  		<div class="col-sm-6">
    57  			<h3>Tags</h3>
    58  			<div class="form-horizontal" ng-repeat="t in tags">
    59  				<div class="col-sm-6">
    60  					<div class="form-group">
    61  						<label class="col-sm-2 control-label">Key</label>
    62  						<div class="col-sm-10">
    63  							<input type="text" class="form-control" ng-model="tags[$index].k" ng-change="AddTag()">
    64  						</div>
    65  					</div>
    66  				</div>
    67  				<div class="col-sm-6">
    68  					<div class="form-group">
    69  						<label class="col-sm-2 control-label">Value</label>
    70  						<div class="col-sm-10">
    71  							<input type="text" class="form-control" ng-model="tags[$index].v" ng-change="AddTag()">
    72  						</div>
    73  					</div><div class="col-sm-10"></div>
    74  				</div>
    75  			</div>
    76  		</div>
    77  	</div>
    78  </div>