(window.webpackJsonp=window.webpackJsonp||[]).push([[296],{392:function(module,exports){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='<div class="modal-header">\n    <button ng-click="cancel();" class="close" aria-hidden="true"></button>\n    <h3 class="modal-title">{{\'attach.remote.gdb.instance\' | translate}}</h3>\n</div>\n<div class="modal-body">\n    <form id="addLocationForm" novalidate name="form">\n        <div class="form-group row">\n            <label for="sesameLocation" class="col-md-4 col-form-label">{{\'remote.location.url\' | translate}}</label>\n            <div class="col-md-8">\n                <input id="sesameLocation" ng-model="newLocation.uri" required name="sesameLocation" class="form-control"\n                       placeholder="http://my-hostname:7200" ng-blur="isValidLocation()"/>\n\n                <span class="form-text text-muted">{{\'remote.location.enter.url.msg\' | translate}}</span>\n            </div>\n        </div>\n        <div ng-show="!isValidLocation()" class="alert alert-warning">\n            {{\'valid.remote.location.warning\' | translate}} http://server.example.com:7200/.\n        </div>\n\n        <div class="form-group row">\n            <label class="col-md-4 col-form-label">{{\'auth.type.header\' | translate}}</label>\n            <div class="col-md-8">\n                <label class="col-form-label" gdb-tooltip="{{\'remote.location.no.auth.used.tooltip\' | translate}}">\n                    <input type="radio" name="authType" ng-model="newLocation.authType" value="none"/>\n                    {{\'auth.type.none\' | translate}}\n                </label>\n                &nbsp;\n                <label class="col-form-label" gdb-tooltip="{{\'basic.auth.type.tooltip\' | translate}}. {{\'basic.auth.type.admin.constraint.tooltip\' | translate}}">\n                    <input type="radio" name="authType" ng-model="newLocation.authType" value="basic"/>\n                    {{\'auth.type.basic\' | translate}}\n                </label>\n                &nbsp;\n                <label class="col-form-label" gdb-tooltip="{{\'signature.auth.type.tooltip\' | translate}}">\n                    <input type="radio" name="authType" ng-model="newLocation.authType" value="signature"/>\n                    {{\'auth.type.signature\' | translate}}\n                </label>\n            </div>\n        </div>\n        <div class="form-group row" ng-if="newLocation.authType === \'none\'">\n            <div class="col-md-12">{{\'remote.location.no.auth.used.header\' | translate}}</div>\n        </div>\n        <div  ng-if="newLocation.authType === \'basic\'">\n            <div class="form-group row">\n                <div class="col-md-12">{{\'basic.auth.type.constraint\' | translate}}</div>\n            </div>\n            <div class="form-group row">\n                <label for="username" class="col-md-4 col-form-label">{{\'username.required\' | translate}}</label>\n                <div class="col-md-8">\n                    <input id="username" ng-model="newLocation.username" name="locationUsername" placeholder="{{\'my.user.placeholder\' | translate}}"\n                           class="form-control" ng-required="newLocation.authType === \'basic\'"/>\n                </div>\n            </div>\n            <div class="form-group row">\n                <label for="password" class="col-md-4 col-form-label">{{\'password.required\' | translate}}</label>\n                <div class="col-md-8">\n                    <input id="password" ng-model="newLocation.password" name="locationPassword" placeholder="{{\'my.password.placeholder\' | translate}}"\n                           type="password" class="form-control" ng-required="newLocation.authType === \'basic\'"/>\n                </div>\n            </div>\n        </div>\n        <div class="form-group row" ng-if="newLocation.authType === \'signature\'">\n            <div class="col-md-12">\n            {{\'signature.auth.info\' | translate}}<a href="{{docBase}}/access-control.html#gdb-authentication"\n                                                    rel="noopener" target="_blank">Access Control / GDB authentication</a>{{\'signature.auth.info.last\' | translate}}\n        </div>\n        </div>\n    </form>\n</div>\n<div class="modal-footer">\n    <button type="button" ng-click="cancel();" class="btn btn-secondary" data-dismiss="modal">{{\'common.cancel.btn\' | translate}}</button>\n    <button type="submit" ng-click="ok();" class="btn btn-primary add-location-btn" form="addLocationForm"\n            ng-disabled="form.$invalid"><span class="icon-plus"></span> {{\'common.attach\' | translate}}\n    </button>\n</div>\n';return __p}}}]);