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

Loading…
Cancel
Save