You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocr/htmlweb/modeler/views/popup/casemodel-import.html

81 lines
3.8 KiB

<div class="modal" ng-controller="ImportCaseModelCtrl">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header-wrapper">
<div class="modal-header">
<div class="pull-right">
<a class="action" ng-click="cancel()">&times; {{'GENERAL.ACTION.CANCEL' | translate}}</a>
</div>
<h2>{{'CASE.POPUP.IMPORT-TITLE' | translate}}</h2>
</div>
</div>
<div class="modal-body">
<p>
<i class="glyphicon glyphicon-info-sign"></i>
{{'CASE.POPUP.IMPORT-DESCRIPTION' | translate}}
</p>
<!--[if IE 9]>
<div class="import-case-form">
<input type="file" ngf-select="" ngf-change="onFileSelect($files, true)" style="font-size: smaller; padding-top:6px;" >
<div class="import-process-dropbox"
ngf-drop="onFileSelect($files)"
ngf-drag-over-class="dragover"
ng-show="dropSupported">
{{'CASE.POPUP.IMPORT.DROPZONE' | translate}}
</div>
<div ngf-drop-available="dropSupported=true"
ng-show="!dropSupported">{{'CASE.POPUP.IMPORT.NO-DROP' | translate}}</div>
<div class="graph-wrapper" ng-show="status.loading" style="margin: 10px 0 10px 0">
<div class="graph-bar" ng-style="{width: model.uploadProgress + '%'}"></div>
</div>
<button class="btn btn-danger btn-sm"
ng-click="upload.abort()"
ng-disabled="!status.loading"
style="margin-bottom: 20px">
{{'CASE.POPUP.IMPORT.CANCEL-UPLOAD' | translate}}
</button>
</div>
<![endif]-->
<!--[if gt IE 9]> <!-- -->
<div class="import-case-form">
<input type="file" ngf-select="" ngf-change="onFileSelect($files)" style="font-size: smaller; padding-top:6px;" >
<div class="import-process-dropbox"
ngf-drop ngf-change="onFileSelect($files)"
ngf-drag-over-class="dragover"
ng-show="dropSupported">
{{'CASE.POPUP.IMPORT.DROPZONE' | translate}}
</div>
<div ngf-drop-available="dropSupported=true"
ng-show="!dropSupported">{{'CASE.POPUP.IMPORT.NO-DROP' | translate}}</div>
<div class="graph-wrapper" ng-show="status.loading" style="margin: 10px 0 10px 0">
<div class="graph-bar" ng-style="{width: model.uploadProgress + '%'}"></div>
</div>
<button class="btn btn-danger btn-sm"
ng-click="upload.abort()"
ng-disabled="!status.loading"
style="margin-bottom: 20px">
{{'CASE.POPUP.IMPORT.CANCEL-UPLOAD' | translate}}
</button>
</div>
<!-- <![endif]-->
</div>
<div class="modal-footer-wrapper">
<div class="modal-footer">
<loading></loading>
<div class="pull-right modeler-processes-error" ng-if="model.error">
<span>{{'CASE.POPUP.IMPORT.ERROR' | translate}} <span ng-if="model.errorMessage"> : </span>{{model.errorMessage}}</span>
</div>
</div>
</div>
</div>
</div>
</div>