add file upload
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<li><a><i class="fa fa-edit"></i> Volume <span class="fa fa-chevron-down"></span></a>
|
||||
|
||||
<ul class="nav child_menu" style="display: none">
|
||||
<li><a href="/volumn/info">Info</a>
|
||||
<li><a href="/volume/info">Info</a>
|
||||
</li>
|
||||
<li><a href="#">Create</a>
|
||||
</li>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<%@volumes.each do |t|%>
|
||||
|
||||
<div class="col-md-12 col-sm-1 col-xs-12">
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<div class="x_panel">
|
||||
<div class="x_title">
|
||||
<h2>Infomation <small><%=t["Volume Name"]%></small></h2>
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
<div class="x_content">
|
||||
|
||||
<div class="col-md-4 col-sm-1 col-xs-4">
|
||||
<div class="col-md-4 col-sm-4 col-xs-4">
|
||||
Type : <%=t["Type"]%> <br>
|
||||
Volume ID : <%=t["Volume ID"]%> <br>
|
||||
Status : <%=t["Status"]%> <br>
|
||||
@@ -61,14 +61,11 @@
|
||||
performance.readdir-ahead : <%=t["performance.readdir-ahead"]%> <br>
|
||||
</div>
|
||||
|
||||
<div class="col-md-8 col-sm-1 col-xs-8">
|
||||
<div class="col-md-8 col-sm-8 col-xs-8">
|
||||
<p>Drag multiple files to the box below for multi upload or click to select files. This is for demonstration purposes only, the files are not uploaded to any server.</p>
|
||||
<form action="choices/form_upload.html" class="dropzone" style="border: 1px solid #e5e5e5; height: 300px; ">
|
||||
<button type="submit" style="position: absolute; right: 20px; bottom: -10px;">
|
||||
Upload
|
||||
</button>
|
||||
<form action="/file_upload" method="post" enctype="multipart/form-data" class="dropzone" style="border: 1px solid #e5e5e5; height: 300px; overflow:scroll;">
|
||||
</form>
|
||||
<br />
|
||||
<br/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user