Authored by Targaryen

Merge branch 'feature/upload' of git.yoho.cn:OPENTECH/yoho-node-ci into feature/upload

... ... @@ -16,10 +16,71 @@
<!-- pageheader -->
<div class="contentpanel">
<div class="row">
<div class="col-md-12">
<form enctype="multipart/form-data">
<input type="file" name="file" id="fileInput">
<button id="upload">上传</button>
<div class="col-sm-12">
<form class="form-horizontal" method='post' action='/files/upload' enctype="multipart/form-data">
<div class="form-group col-sm-12">
<label class="control-label col-sm-1">上传地址:</label>
<div class="input-group col-sm-5">
<span class="input-group-addon">http://localhost:9000/</span>
<input type="text" class="form-control col-sm-10" placeholder="例:files/page">
</div>
</div>
<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">
<button id="upload" class="btn btn-primary btn-block">上传</button>
</div>
</div>
<div class="form-group col-sm-12">
<label class="control-label col-sm-1">上传记录:</label>
<div class="input-group col-sm-11">
<table class="table table-bordered table-hover">
<tr>
<th>文件名</th>
<th>文件大小</th>
<th>上传时间</th>
<th>上传人</th>
</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>
</tr>
<tr>
<td>你懂的HD1080p.avi</td>
<td>3.7G</td>
<td>2017-10-19</td>
<td>迪迦奥特曼</td>
</tr>
</table>
</div>
</div>
</form>
</div>
</div>
... ...