(window.webpackJsonp=window.webpackJsonp||[]).push([[297],{393:function(module,exports){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='\x3c!-- Start editLocation.html --\x3e\n\n<div class="modal-header">\n\t<button type="button" class="close" ng-click="cancel();" aria-hidden="true"></button>\n\t<h3 class="modal-title">{{\'edit.location\' | translate}}</h3>\n</div>\n<div class="modal-body">\n    <form id="addLocationForm" autocomplete="off" name="form">\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="editedLocation.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}}">\n                    <input type="radio" name="authType" ng-model="editedLocation.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="editedLocation.authType" value="signature"/>\n                    {{\'auth.type.signature\' | translate}}\n                </label>\n            </div>\n        </div>\n        <div class="form-group row" ng-if="editedLocation.authType === \'none\'">\n            <div class="col-md-12">{{\'remote.location.no.auth.used.header\' | translate}}</div>\n        </div>\n        <div  ng-if="editedLocation.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="editedLocation.username" name="locationUsername" placeholder="{{\'my.user.placeholder\' | translate}}"\n                           class="form-control" ng-required="editedLocation.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="editedLocation.password" name="locationPassword" placeholder="{{\'my.password.placeholder\' | translate}}"\n                           type="password" class="form-control" ng-required="editedLocation.authType === \'basic\'"/>\n                </div>\n            </div>\n        </div>\n        <div class="form-group row" ng-if="editedLocation.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">{{\'common.cancel.btn\' | translate}}</button>\n    <button ng-click="ok();" form="addLocationForm" class="btn btn-primary" ng-disabled="form.$invalid">{{\'common.save.btn\' | translate}}</button>\n</div>\n\n\x3c!-- End editLocation.html --\x3e\n';return __p}}}]);