1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 09:46:17 +00:00

Closes #157: Deskew before OCR

This commit is contained in:
Benjamin Gamard
2017-11-12 14:49:52 +01:00
parent 46079393d5
commit dca8c28b84
5 changed files with 273 additions and 21 deletions

View File

@@ -1,11 +1,6 @@
<img src="img/loader.gif" ng-show="!document && isEdit()" />
<div ng-show="document || !isEdit()">
<div class="row" ng-show="fileIsUploading">
<h4>{{ 'document.edit.uploading_files' | translate }}</h4>
<div class="col-md-6"><uib-progressbar value="fileProgress" class="progress-info active"></uib-progressbar></div>
</div>
<form name="documentForm" class="form-horizontal">
<div class="pull-right btn-group" ng-init="form = documentForm">
<button type="submit" class="btn btn-primary" ng-disabled="!documentForm.$valid || fileIsUploading" ng-click="edit()">
@@ -17,6 +12,11 @@
<div uib-alert ng-class="'alert-' + alert.type" ng-repeat="alert in alerts" type="alert.type" close="closeAlert($index)">{{ alert.msg }}</div>
<div class="row" ng-show="fileIsUploading">
<h4>{{ 'document.edit.uploading_files' | translate }}</h4>
<div class="col-md-6"><uib-progressbar value="fileProgress" class="progress-info active"></uib-progressbar></div>
</div>
<fieldset>
<legend>{{ 'document.edit.primary_metadata' | translate }}</legend>
<div class="form-group" ng-class="{ 'has-error': !documentForm.title.$valid && documentForm.$dirty }">