<div class="modal center"
	cg-busy="{promise:mark,backdrop:true,message:'正在加载...'}">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" aria-label="Close" ng-click="$hide()">
					<span aria-hidden="true">×</span>
				</button>
				<h4 class="modal-title">{{uploadParams.title}}</h4>
			</div>
			<div class="modal-body">
				<div class="wrapper-xs">
					<input type="file" style="display:inline;" nv-file-select="" uploader="uploader" accept="{{uploadParams.accept}}"/>
					
					<button ng-show="files.length > 0" class="btn btn-default" ng-click="upload()"><i class="icon icon-share-alt"></i>&nbsp;上传</button>
				</div>
				<button class="btn btn-default" ng-if="uploadParams.template != null"><a target="_blank" href="resources/downloads/{{uploadParams.template}}">下载数据模板 《{{uploadParams.template}}》</a></button>
			</div>
			<div class="modal-footer">
				<button type="submit" ng-click="$hide()" class="btn btn-default" >取消</button>
			</div>
		</div>
	</div>
</div>
