Authored by Targaryen

Merge branches 'feature/upload' and 'feature/upload' of git.yoho.cn:OPENTECH/yoh…

…o-node-ci into feature/upload
... ... @@ -17,7 +17,7 @@
<div class="contentpanel">
<div class="row">
<div class="col-sm-12">
<form class="form-horizontal" method='post' action='/files/upload' enctype="multipart/form-data">
<div class="form-horizontal">
<div class="form-group col-sm-12">
<label class="control-label col-sm-1">上传地址:</label>
<div class="input-group col-sm-5">
... ... @@ -28,7 +28,8 @@
<div class="form-group col-sm-12">
<label class="control-label col-sm-1">上传文件:</label>
<div class="input-group col-sm-3">
<input type="file" name="file" id="fileInput" class="btn btn-default btn-block">
<input type="file" accept="application/x-zip-compressed" name="file" id="fileInput" class="btn btn-default btn-block">
<p class="form-control-static">注:仅支持zip格式</p>
<button id="upload" class="btn btn-primary btn-block">上传</button>
</div>
</div>
... ... @@ -37,51 +38,25 @@
<div class="input-group col-sm-11">
<table class="table table-bordered table-hover">
<tr>
<th>文件名</th>
<th>文件大小</th>
<th>上传时间</th>
<th>上传人</th>
<th style="text-align:center;">文件路径</th>
<th style="text-align:center;">文件大小</th>
<th style="text-align:center;">文件格式</th>
<th style="text-align:center;">上传时间</th>
</tr>
{{#if fileList}}
{{#fileList.items}}
<tr>
<td>你懂的HD1080p.avi</td>
<td>3.7G</td>
<td>2017-10-19</td>
<td>迪迦奥特曼</td>
</tr>
<tr>
<td>你懂的HD1080p.avi</td>
<td>3.7G</td>
<td>2017-10-19</td>
<td>迪迦奥特曼</td>
</tr>
<tr>
<td>你懂的HD1080p.avi</td>
<td>3.7G</td>
<td>2017-10-19</td>
<td>迪迦奥特曼</td>
</tr>
<tr>
<td>你懂的HD1080p.avi</td>
<td>3.7G</td>
<td>2017-10-19</td>
<td>迪迦奥特曼</td>
</tr>
<tr>
<td>你懂的HD1080p.avi</td>
<td>3.7G</td>
<td>2017-10-19</td>
<td>迪迦奥特曼</td>
</tr>
<tr>
<td>你懂的HD1080p.avi</td>
<td>3.7G</td>
<td>2017-10-19</td>
<td>迪迦奥特曼</td>
<td>{{key}}</td>
<td>{{fsize}}</td>
<td>{{mimeType}}</td>
<td>{{putTime}}</td>
</tr>
{{/fileList.items}}
{{/if}}
</table>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
... ...