cloud upload files
This commit is contained in:
50
src/views/cloud.ejs
Normal file
50
src/views/cloud.ejs
Normal file
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Cloud SIGMA</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
|
||||
<link href="./css/tipografias.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="./css/cloud.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="img/favicon_sigma/android-chrome-192x192.png" alt="" width="36" height="36"></a>
|
||||
<form class="d-flex">
|
||||
<input class="form-control me-2" type="search" placeholder="Buscar Archivo" aria-label="Search">
|
||||
<button class="btn btn-outline-success" type="submit">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- formulario para subir archivos --->
|
||||
</br>
|
||||
<div class="row upload">
|
||||
<label for="basic-url" class="form-label info">SIGMA Cloud</label>
|
||||
<form class="d-flex" method="POST" action="/upload" enctype="multipart/form-data">
|
||||
<div class="input-group mb-3">
|
||||
<input type="file" name="file_toUpload" class="form-control"/>
|
||||
<input type="submit" class="btn btn-outline-secondary"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- formulario para subir archivos --->
|
||||
</br>
|
||||
<div class="row mb-3 files">
|
||||
<div><a href="">.. retornar</a></div>
|
||||
<% for (i in data) { %>
|
||||
<div>
|
||||
<span>#<%= data[i].indice%> </span>
|
||||
<a href=""><%= data[i].archivo%></a>
|
||||
</div>
|
||||
</br>
|
||||
<% } %>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var files=[];
|
||||
files = <%= data %>;
|
||||
console.log(data);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user