graphdb-workbench
Version:
The web application for GraphDB APIs
28 lines (25 loc) • 1.28 kB
HTML
<!-- Start editLocation.html -->
<div class="modal-header">
<button class="close" ng-click="cancel();" aria-hidden="true"></button>
<h3 class="modal-title">Upload Repository Configuration</h3>
</div>
<div class="modal-body">
<div class="btn btn-outline-primary btn-lg btn-block" ng-if="!editRepoPage">
<a ngf-select ngf-change="upload($files)" ngf-multiple="false" class="selectFiles pointer clearfix"
accept=".ttl" uib-tooltip="Click to select a configuration file from which to create a new repository." tooltip-trigger="mouseenter">
<em class="icon-upload icon-lg pull-left" uib-tooltip="Select files" tooltip-trigger="mouseenter" tooltip-append-to-body="true"></em>
<div class="pull-left">
<span>Click here to upload a .ttl file</span>
<br>
<small ng-hide="uploadFile" class="text-muted">No file selected</small>
<small ng-show="uploadFile" class="text-muted">Selected: {{uploadFile.name}}</small>
</div>
<div ng-show="uploadFileLoader" onto-loader size="48" class="ot-loader pull-right"></div>
</a>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" ng-click="cancel()">Cancel</button>
<button class="btn btn-primary" ng-click="ok()">Create</button>
</div>
<!-- End editLocation.html -->