UNPKG

graphdb-workbench

Version:
2 lines 4.66 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{200:function(module,exports){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='\x3c!-- Start addLocation.html --\x3e\n\n<div class="modal-header">\n <button ng-click="cancel();" class="close" aria-hidden="true"></button>\n <h3 class="modal-title">Attach a remote GraphDB instance</h3>\n</div>\n<form id="addLocationForm" novalidate name="form">\n <div class="modal-body">\n <div class="form-group row">\n <label for="sesameLocation" class="col-md-4 col-form-label">Location URL*</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">Enter a URL to a remote GraphDB instance</span>\n </div>\n </div>\n <div ng-show="!isValidLocation()" class="alert alert-warning">\n\t\t\tNote that the location should be a URL that points to a remote GraphDB installation, e.g. http://server.example.com:7200/.\n\t\t</div>\n\n <div class="form-group row">\n <label class="col-md-4 col-form-label">Authentication type</label>\n <div class="col-md-8">\n <label class="col-form-label" uib-tooltip="No authentication used with remote location">\n <input type="radio" name="authType" ng-model="newLocation.authType" value="none"/>\n None\n </label>\n &nbsp;\n <label class="col-form-label" uib-tooltip="Basic authentication with username/password. User must be an admin">\n <input type="radio" name="authType" ng-model="newLocation.authType" value="basic"/>\n Basic auth\n </label>\n &nbsp;\n <label class="col-form-label" uib-tooltip="Signature authentication with shared secret">\n <input type="radio" name="authType" ng-model="newLocation.authType" value="signature"/>\n Signature\n </label>\n </div>\n </div>\n <div class="form-group row" ng-if="newLocation.authType === \'none\'">\n <div class="col-md-12">No authentication will be used with this location.</div>\n </div>\n <div ng-if="newLocation.authType === \'basic\'">\n <div class="form-group row">\n <div class="col-md-12">Basic authentication requires a username and a password.</div>\n </div>\n <div class="form-group row">\n <label for="username" class="col-md-4 col-form-label">Username*</label>\n <div class="col-md-8">\n <input id="username" ng-model="newLocation.username" name="locationUsername" placeholder="my-user"\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*</label>\n <div class="col-md-8">\n <input id="password" ng-model="newLocation.password" name="locationPassword" placeholder="my-password"\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 authentication uses the token secret, which must be the same on both GraphDB instances.\n For more information on configuring the token secret, please refer to <a href="{{docBase}}/access-control.html#gdb-authentication"\n rel="noopener" target="_blank">Access Control / GDB authentication</a> in the documentation.\n </div>\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" ng-click="cancel();" class="btn btn-secondary" data-dismiss="modal">Cancel</button>\n <button type="submit" ng-click="ok();" class="btn btn-primary"\n ng-disabled="form.$invalid"><span class="icon-plus"></span> Attach\n </button>\n </div>\n\n</form>\n\x3c!-- End addLocation.html --\x3e\n';return __p}}}]); //# sourceMappingURL=145.c9ab7d2a56005326406c.bundle.js.map