Optimised home page UI

pull/76/MERGE
kl 2 years ago
parent 784eec99de
commit 058ebd8274

@ -84,28 +84,35 @@
<#-- -->
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title"></h3>
<h3 class="panel-title"></h3>
</div>
<div class="panel-body">
<form>
<div class="form-group">
<label></label>
<input type="url" class="form-control" id="_url" placeholder="请输入下载地址">
<div class="row">
<div class="col-md-10">
<div class="form-group">
<input type="url" class="form-control" id="_url" placeholder="请输入预览文件 url">
</div>
</div>
<div class="col-md-2">
<button id="previewByUrl" type="button" class="btn btn-success"></button>
</div>
</div>
<div class="alert alert-danger alert-dismissable hide" role="alert" id="previewCheckAlert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<strong>url</strong>
</div>
<button id="previewByUrl" type="button" class="btn btn-success"></button>
</form>
</div>
</div>
<#-- -->
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title"></h3>
<h3 class="panel-title"></h3>
</div>
<div class="panel-body">
<#if fileUploadDisable == false>
@ -113,9 +120,19 @@
<form enctype="multipart/form-data" id="fileUpload">
<div class="form-group">
<p id="fileName"></p>
<button type="button" class="btn btn-default" id="fileSelectBtn" style="margin-bottom:8px">
<span class="glyphicon glyphicon-cloud-upload" aria-hidden="true"></span>
</button>
<div class="row">
<div class="col-md-2">
<button type="button" class="btn btn-default" id="fileSelectBtn" style="margin-bottom:8px">
<span class="glyphicon glyphicon-cloud-upload" aria-hidden="true"></span>
</button>
</div>
<div class="col-md-1">
<button id="btnSubmit" type="button" class="btn btn-success"> </button>
</div>
<div class="col-md-9">
</div>
</div>
<input type="file" name="file" style="display: none" id="fileSelect"
onchange="onFileSelected()"/>
<div class="alert alert-danger alert-dismissable hide" role="alert" id="postFileAlert">
@ -125,7 +142,7 @@
<strong></strong>
</div>
</div>
<button id="btnSubmit" type="button" class="btn btn-success"> </button>
</form>
</div>
</#if>

Loading…
Cancel
Save