graphdb-workbench
Version:
The web application for GraphDB APIs
2 lines • 10.4 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[129],{182:function(module,exports){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='<div class="ot-loader ot-main-loader" onto-loader size="50" ng-show="loader"></div>\n<div ng-hide="loader">\n\n <div ng-show="showTable()" class="mb-1 clearfix">\n <div class="pull-right form-inline">\n <div class="btn-group d-inline mr-1" ng-show="viewType === \'server\'">\n <button type="button" class="btn btn-secondary" ng-model="showItems" uib-btn-radio="\'file\'" uib-tooltip="Show files only">\n <em class="icon-file"></em>\n </button>\n <button type="button" class="btn btn-secondary" ng-model="showItems" uib-btn-radio="\'all\'" uib-tooltip="Show both files and directories">\n <em class="icon-file"></em>\n <em class="icon-folder"></em>\n </button>\n <button type="button" class="btn btn-secondary" ng-model="showItems" uib-btn-radio="\'directory\'" uib-tooltip="Show directories only">\n <em class="icon-folder"></em>\n </button>\n </div>\n <div class="input-group">\n <label class="input-group-addon" for="fileQuery"><span\n class="icon-search icon-lg text-muted"></span></label>\n <input id="fileQuery" class="form-control" type="text" name="fileQuery" ng-model="fileQuery"\n placeholder="Type to filter">\n </div>\n </div>\n <form class="form-inline">\n <div class="btn btn-link">\n <input class="form-check-input select-all-files" type="checkbox" ng-click="selectAllFiles()" ng-model="checkAll"\n ng-disabled="!hasImportable()" ng-change="switchBatch(true)" uib-tooltip="Select all">\n </div>\n <div class="btn-group" uib-dropdown ng-hide="!hasImportable() || !batch"\n uib-popover="Import the selected items"\n popover-trigger="mouseenter"\n popover-placement="top">\n <button type="button" class="btn btn-primary import-btn" ng-click="setSettingsFor(\'\')"><span class="icon-import"></span> Import</button>\n <button type="button" class="btn btn-primary dropdown-toggle-split dropdown-toggle import-dropdown-btn" uib-dropdown-toggle>\n <span class="sr-only"></span>\n </button>\n <ul class="dropdown-menu" role="menu">\n <li><button type="button" class="dropdown-item import-without-change-btn" ng-click="importSelected(true)">Import without changing settings</button></li>\n </ul>\n </div>\n <button id="wb-import-clearStatuses"\n ng-show="batch && showClearStatuses"\n class="btn btn-secondary" type="button" ng-click="resetStatusSelected()"\n uib-popover="Reset the last imported status of the selected items"\n popover-trigger="mouseenter"\n popover-placement="top">\n Reset status\n </button>\n <button id="wb-import-removeEntries"\n ng-show="batch && viewType === \'user\'"\n class="btn btn-secondary" type="button" ng-click="removeEntrySelected()"\n uib-popover="Remove the selected items from the list"\n popover-trigger="mouseenter"\n popover-placement="top">\n Remove\n </button>\n </form>\n </div>\n\n <script type="text/ng-template" id="settingsPopoverTemplate.html">\n <h4>Last import settings</h4>\n <table class="table table-sm m-0" ng-init="settings = filterSettings(file.name)">\n <tr ng-repeat="setting in settings">\n <td><strong>{{setting[0]}}</strong></td>\n <td ng-show="setting[0] == \'parserSettings\' || setting[0] == \'requestIdHeadersToForward\'">\n <pre>{{pritifySettings(setting[1])}}</pre>\n </td>\n <td class="break-word" ng-show="!(setting[0] == \'parserSettings\' || setting[0] == \'requestIdHeadersToForward\')">{{setting[1]}}</td>\n </tr>\n </table>\n <\/script>\n\n <table id="wb-import-fileInFiles" class="table table-striped table-hover" aria-describedby="table rendering available for import files">\n <tbody>\n <tr class="import-file-row"\n ng-repeat="file in files | filter: {name: fileQuery, type: getTypeFilter()}"\n ng-show="files.length > 0">\n <td width="25">\n <label class="m-0 d-inline-block">\n <input type="checkbox" class="import-file-checkbox" ng-model="fileChecked[file.name]"\n ng-disabled="!importable(file)" ng-change="switchBatch()">\n </label>\n </td>\n <td>\n <div class="d-inline-block" style="overflow: hidden; text-overflow: ellipsis;">\n <div class="import-file-header">\n \x3c!-- no icon for server files --\x3e\n <em class="icon-file" ng-show="viewType === \'server\' && file.type === \'file\'"></em>\n <em class="icon-folder" ng-show="file.type === \'directory\'"></em>\n <em class="icon-upload" ng-show="viewType === \'user\' && file.type === \'file\'"></em>\n <em class="icon-link" ng-show="file.type === \'url\'"></em>\n <em class="icon-edit" ng-show="file.type === \'text\'"></em>\n <strong ng-show="file.type !== \'text\'">{{file.name}}</strong>\n <strong ng-show="file.type === \'text\'"><a href="#" ng-click="pasteData(file)">{{file.name}}</a></strong>\n </div>\n <div class="import-status">\n <button role="button" class="btn btn-link btn-inline secondary b-0 p-0 import-status-reset"\n ng-click="resetStatus([file.name])"\n ng-show="file.status === \'DONE\' || file.status === \'ERROR\'"\n ng-disabled="batch"\n uib-tooltip="Reset status" tooltip-trigger="mouseenter">\n <span class="icon-close"></span>\n </button>\n <span class="icon-info text-secondary import-status-info"\n popover-class="impex-popover"\n uib-popover-template="popoverTemplateUrl"\n popover-trigger="mouseenter"\n popover-placement="right"\n popover-append-to-body="true"\n ng-show="file.status === \'DONE\' || file.status === \'ERROR\'">\n </span>\n <span class="import-status-message">\n <span ng-show="file.status == \'NONE\' && file.message" class="text-info">\n <small>{{file.message}}</small>\n </span>\n <span ng-show="file.status == \'DONE\'" class="text-success">\n <em class="icon-check"></em>\n <small>{{file.message}}</small>\n </span>\n <span ng-show="file.status == \'ERROR\'" class="text-danger">\n <em class="icon-warning"></em>\n <small>{{file.message}}</small>\n </span>\n <span class="text-secondary import-status-loader"\n ng-show="file.status === \'IMPORTING\' || file.status === \'UPLOADING\' || file.status === \'PENDING\' || file.status === \'INTERRUPTING\'">\n <em class="icon-reload loader"></em>\n <small>{{toTitleCase(file.status)}}...</small>\n </span>\n </span>\n </div>\n </div>\n </td>\n <td width="25" ng-show="viewType === \'user\'">\n <button class="btn btn-link secondary" ng-click="removeEntry([file.name])" ng-disabled="batch || file.status === \'IMPORTING\' || file.status === \'UPLOADING\' || file.status === \'PENDING\' || file.status === \'INTERRUPTING\'">\n <em class="icon-trash"></em>\n </button>\n </td>\n <td width="100">\n <button class="btn btn-primary btn-sm pull-right"\n ng-click="setSettingsFor(file.name)"\n ng-disabled="batch"\n ng-cloak\n ng-hide="!importable(file) || file.status === \'IMPORTING\' || file.status === \'UPLOADING\' || file.status === \'PENDING\' || file.status === \'INTERRUPTING\'"\n data-target="#{{viewType}}Modal">\n <span class="icon-import"></span>\n Import\n </button>\n <button class="btn btn-sm pull-right"\n ng-click="stopImport(file)"\n ng-disabled="file.status === \'INTERRUPTING\'"\n ng-cloak\n ng-show="file.status === \'IMPORTING\' || file.status === \'UPLOADING\' || file.status === \'PENDING\' || file.status === \'INTERRUPTING\'"\n uib-tooltip="Interrupt import" tooltip-trigger="mouseenter"\n tooltip-append-to-body="true">\n <span class="icon-close"></span>\n Abort\n </button>\n </td>\n </tr>\n </tbody>\n <tbody ng-show="files.length == 0 && viewType == \'server\'">\n <tr>\n <td>No files found</td>\n </tr>\n </tbody>\n </table>\n</div>\n';return __p}}}]);
//# sourceMappingURL=129.5d023d0fbbb2c517932c.bundle.js.map