bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/annotate/web/static/partials/create.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  <form class="form-horizontal">
     7  	<div class="form-group">
     8  		<label class="col-sm-2 control-label" ng-click="switch()">StartDate</label>
     9  		<div class="col-sm-6">
    10  			<input type="text" class="form-control" ng-model="annotation.StartDate">
    11  			<p class="help-block">Format: YYYY-MM-DDTHH:mm:ssZ (RFC3339). If StartDate and EndDate are blank, the time is set to now. If one of the two is blank, the blank field will be set to the time of the other. Click the StartDate or EndDate lable to switch between local and UTC time.</p>
    12  		</div>
    13  	</div>
    14  	<div class="form-group">
    15  		<label class="col-sm-2 control-label" ng-click="switch()">EndDate</label>
    16  		<div class="col-sm-6">
    17  			<input type="text" class="form-control" ng-model="annotation.EndDate">
    18  		</div>
    19  	</div>
    20  	<div class="form-group">
    21  		<label class="col-sm-2 control-label">CreationUser</label>
    22  		<div class="col-sm-6">
    23  			<input type="text" class="form-control" ng-model="annotation.CreationUser">
    24  		</div>
    25  	</div>
    26  	<div class="form-group">
    27  		<label class="col-sm-2 control-label">Url</label>
    28  		<div class="col-sm-6">
    29  			<input type="text" class="form-control" ng-model="annotation.Url">
    30  		</div>
    31  	</div>
    32  	<div class="form-group">
    33  		<label class="col-sm-2 control-label">Host</label>
    34  		<div class="col-sm-6">
    35  			<input type="text" class="form-control" ng-model="annotation.Host" ng-options="h for h in hosts" bs-typeahead>
    36  		</div>
    37  	</div>
    38  	<div class="form-group">
    39  		<label class="col-sm-2 control-label">Owner</label>
    40  		<div class="col-sm-6">
    41  			<input type="text" class="form-control" ng-model="annotation.Owner" ng-options="o for o in owners" bs-typeahead>
    42  		</div>
    43  	</div>
    44  		<div class="form-group">
    45  		<label class="col-sm-2 control-label">Category</label>
    46  		<div class="col-sm-6">
    47  			<input type="text" class="form-control" ng-model="annotation.Category" ng-options="c for c in categories" bs-typeahead>
    48  		</div>
    49  	</div>
    50  	<div class="form-group">
    51  		<label class="col-sm-2 control-label">Message</label>
    52  		<div class="col-sm-10">
    53  			<textarea class="form-control" ng-model="annotation.Message"></textarea>
    54  		</div>
    55  	</div>
    56  	<div class="form-group">
    57  		<div class="col-sm-offset-2 col-sm-6">
    58  			<button class="btn btn-default" ng-click="submit()">Submit</button>
    59  		</div>
    60  	</div>
    61  	<div ng-show="annotation.Id != ''">Editing Annotation</div>
    62  </form>