getting some interface to fs
This commit is contained in:
parent
f04a316860
commit
77128e1a7e
11 changed files with 144 additions and 36 deletions
|
|
@ -1,6 +1,6 @@
|
|||
@using Yavsc.ViewModels.UserFiles
|
||||
@model UserDirectoryInfo
|
||||
<div class="dirinfo">
|
||||
<div class="dirinfo" data-owner="@Model.UserName" data-path="@Model.SubPath">
|
||||
<strong>@Model.UserName / @Model.SubPath</strong>
|
||||
<div class="subdirs">
|
||||
@foreach (var subdir in Model.SubDirectories) {
|
||||
|
|
@ -20,7 +20,7 @@ tr.fileinfo td {
|
|||
tr.fileinfo:hover {background-color: #f5f5f5}
|
||||
|
||||
</style>
|
||||
<table >
|
||||
<table>
|
||||
<tr class="fileheaders">
|
||||
<th>Nom
|
||||
</th>
|
||||
|
|
|
|||
1
src/Yavsc/Views/Shared/_FSScriptsPartial.cshtml
Normal file
1
src/Yavsc/Views/Shared/_FSScriptsPartial.cshtml
Normal file
|
|
@ -0,0 +1 @@
|
|||
<script src="/js/fs.js" asp-append-version="true"></script>
|
||||
6
src/Yavsc/Views/Shared/_PostFilesPartial.cshtml
Normal file
6
src/Yavsc/Views/Shared/_PostFilesPartial.cshtml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<form id="postfiles" class="dropzone" method="post" enctype="multipart/form-data">
|
||||
<div class="fallback">
|
||||
<input name="File[]" type="file" id="filesinput"/>
|
||||
</div>
|
||||
@Html.AntiForgeryToken()
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue