13 lines
527 B
Plaintext
13 lines
527 B
Plaintext
<%@ Page Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage<Yavsc.Model.FileSystem.FileInfoCollection>" %>
|
|
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
|
<h1> Index of <%= Model.Owner %>'s files (<%= Html.Encode(Model.Count) %>)
|
|
</h1>
|
|
<ul>
|
|
<% foreach (System.IO.FileInfo fi in Model) { %>
|
|
<li> <%= Html.ActionLink(fi.Name,"Details",new {id = fi.Name}) %> </li>
|
|
<% } %>
|
|
</ul>
|
|
|
|
<%= Html.ActionLink("Ajouter des fichiers","Create") %>
|
|
</asp:Content>
|