38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
<li class="filters__item filters__item--downtime" data-mover="true">
|
|
<button class="filters__button" type="button" ng-click="switchDowntimeFormShown()">
|
|
<span class="visuallyhidden">Downtime</span>
|
|
<i class="ico-clock"></i>
|
|
</button>
|
|
</li>
|
|
|
|
<div data-ng-show="isDowntimeFormShown">
|
|
<h4>Downtime</h4>
|
|
<form ng-submit="sendDowntime()">
|
|
<div>
|
|
<label for="author">Author :</label>
|
|
<input type="text" id="author" ng-model="attrs.author">
|
|
</div>
|
|
<div>
|
|
<label for="comment">Comment :</label>
|
|
<input type="message-text" id="comment" ng-model="attrs.comment">
|
|
</div>
|
|
<div>
|
|
<label for="duration">Duration :</label>
|
|
<input type="number" id="duration" ng-model="attrs.duration">
|
|
</div>
|
|
<div>
|
|
<label for="start_time">Start time :</label>
|
|
<input type="number" id="start_time" ng-model="attrs.start_time">
|
|
</div>
|
|
<div>
|
|
<label for="end_time">End time :</label>
|
|
<input type="number" id="end_time" ng-model="attrs.end_time">
|
|
</div>
|
|
<div>
|
|
<button type="button" ng-click="switchDowntimeFormShown()">Close</button>
|
|
<button type="submit">Send</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|