<div ng-controller="UploadRukuPaperFilesCtrl">
<div cg-busy="{promise:loading,message:'正在加载...'}">
	<div class="panel no-border" >
		
		<div class="panel-body">
			<div class="wrapper-xs">
				<input type="file" style="display:inline;" nv-file-select="" uploader="uploader" accept=".zip"/>
				<button ng-show="files.length > 0" class="btn btn-default" ng-click="upload()"><i class="icon icon-share-alt"></i>&nbsp;上传</button>
			</div>
			<p class="m-t help-block">请上传zip格式的文件</p>
			
			<table class="table table-striped">
				<thead>
					<tr>
						<th></th>
						<th>网评卷</th>
						<th>标答</th>
						<th>分卷</th>
						<th>专卡</th>
						<th>转印说明</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<th>应导入</th>
		        		<td>{{model.allCount}}</td>
		        		<td>{{model.allCount}}</td>
		        		<td>-</td>
		        		<td>-</td>
		        		<td>-</td>
					</tr>
					<tr>
						<th>已导入</th>
		        		<td class="text-success">{{model.successWPaperCount}}</td>
		        		<td class="text-success">{{model.successAnswerCount}}</td>
		        		<td class="text-success">{{model.successSeparatePaperCount}}</td>
		        		<td class="text-success">{{model.successAnswerCardCount}}</td>
		        		<td class="text-success">{{model.successZyCount}}</td>
					</tr>
					<tr>
						<th>导入失败</th>
		        		<td class="text-danger">{{model.failWPaperCount}}</td>
		        		<td class="text-danger">{{model.failAnswerCount}}</td>
		        		<td class="text-danger">{{model.failSeparatePaperCount}}</td>
		        		<td class="text-danger">{{model.failAnswerCardCount}}</td>
		        		<td class="text-danger">{{model.failZyCount}}</td>
					</tr>
				</tbody>
			</table>
			<div ng-show="!result">
				导入失败文件存放路径：{{model.folderName}}
			</div>
		</div>
	</div>
</div>
</div>