zoneminder/web/views/tab-monitor-remote.html

35 lines
1.7 KiB
HTML

<div ng-show="monitor.Type == 'Remote'">
<div class="form-group">
<label for="newMonitor[Protocol]">Remote Protocol</label>
<select class="form-control" ng-model="monitor.Protocol" id="newMonitor[Protocol]" ng-required="monitor.Type == 'Remote'">
<option value="http">HTTP</option>
<option value="rtsp">RTSP</option>
</select>
</div>
<div class="form-group">
<label for="newMonitor[Method]">Remote Method</label>
<select class="form-control" ng-model="monitor.Method" id="newMonitor[Method]" ng-required="monitor.Type == 'Remote'" ng-show="monitor.Protocol == 'http'">
<option value="simple">Simple</option>
<option value="regexp">Regexp</option>
</select>
<select class="form-control" ng-model="monitor.Method" id="newMonitor[Method]" ng-required="monitor.Type == 'Remote'" ng-show="monitor.Protocol == 'rtsp'">
<option value="rtpUni">RTP/Unicast</option>
<option value="rtpMulti">RTP/Multicast</option>
<option value="rtpRtsp">RTP/RTSP</option>
<option value="rtpRtspHttp">RTP/RTSP/HTTP</option>
</select>
</div>
<div class="form-group">
<label>Remote Host Name</label>
<input type="text" class="form-control" ng-model="monitor.Host" placeholder="HostName or ip.add.re.ss" ng-required="monitor.Type == 'Remote'" />
</div>
<div class="form-group">
<label for="">Remote Host Port</label>
<input type="text" class="form-control" ng-model="monitor.Port" placeholder="Usually 80 for http, 554 for rtsp" ng-required="monitor.Type == 'Remote'" />
</div>
<div class="form-group">
<label>Remote Host Path</label>
<input type="text" class="form-control" ng-model="monitor.Path" placeholder="/path/to/stream.mpg" ng-required="monitor.Type == 'Remote'" />
</div>
</div> <!-- End Remote -->