enforced file system
This commit is contained in:
parent
bdd4cf2472
commit
6066497a67
26 changed files with 143 additions and 76 deletions
|
|
@ -67,21 +67,17 @@
|
|||
<div class="row @trclass">
|
||||
<div class="col-xs-10">
|
||||
<a asp-action="Title" asp-route-id="@title" >
|
||||
<markdown>@first.Title</markdown>
|
||||
<h3 markdown="@first.Title"></h3>
|
||||
@if (first.Photo==null) { }
|
||||
else {<img src="@first.Photo" class="blogphoto" alt="@first.Title">}
|
||||
</a>
|
||||
|
||||
<markdown>@((first.Content?.Length > 120) ? first.Content.Substring(0, 120) + " ..." : first.Content)</markdown>
|
||||
<span style="font-size:x-small;">(@first.Author.UserName </span>,
|
||||
<span style="font-size:xx-small;">
|
||||
posté le @first.DateCreated.ToString("dddd d MMM yyyy à H:mm")
|
||||
<div class="smalltext" markdown="@((first.Content?.Length > 256) ? first.Content.Substring(0, 256) + "..." : first.Content)"></div>
|
||||
<div class="smalltext"> @first.Author.UserName ,
|
||||
(posté le @first.DateCreated.ToString("dddd d MMM yyyy à H:mm")
|
||||
@if ((first.DateModified - first.DateCreated).Minutes > 0){
|
||||
@:- Modifié le @first.DateModified.ToString("dddd d MMM yyyy à H:mm",System.Globalization.CultureInfo.CurrentUICulture)
|
||||
})
|
||||
</span>
|
||||
|
||||
|
||||
})</div>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<ul class="actiongroup">
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<img src="@item.Photo" class="blogphoto"></a>
|
||||
</td>
|
||||
<td>
|
||||
<markdown>@((item.Content?.Length > 120) ? item.Content.Substring(0, 122) + " ..." : item.Content)</markdown>
|
||||
<markdown>@((item.Content?.Length > 256) ? item.Content.Substring(0, 256) + " ..." : item.Content)</markdown>
|
||||
<span style="font-size:x-small;">(@item.Author.UserName </span>,
|
||||
<span style="font-size:xx-small;">
|
||||
posté le @item.DateCreated.ToString("dddd d MMM yyyy à H:mm")
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@
|
|||
@if (Model.DiskQuota>0)
|
||||
{
|
||||
<text>
|
||||
@((Model.DiskUsage/Model.DiskQuota).ToString("%#0")) :
|
||||
@(((double)Model.DiskUsage/Model.DiskQuota).ToString("%#0")) :
|
||||
</text>
|
||||
}
|
||||
<text>
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
<div class="dirinfo">
|
||||
<strong>@Model.UserName / @Model.SubPath</strong>
|
||||
<div class="subdirs">
|
||||
@foreach (string subdir in Model.SubDirectories) {
|
||||
<a href="@subdir" class="subdir">@subdir</a>
|
||||
@foreach (var subdir in Model.SubDirectories) {
|
||||
<a href="@subdir" class="subdir">@subdir.Name</a>
|
||||
}
|
||||
</div>
|
||||
<style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue