Advertisement
Guest User

Untitled

a guest
Jun 29th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. [@Html.ActionLink("Download", "Download", "File")]
  2. [@Html.ActionLink("Share", "Share", "File")]
  3. [@Html.ActionLink("Move", "Move", "File")]
  4. [@Html.ActionLink("Rename", "Rename", "File")]
  5. [@Html.ActionLink("Delete","Delete","File")]
  6. [@Html.ActionLink("Copy", "Copy", "File")]
  7.  
  8.  
  9. <ul>
  10.  
  11. @foreach (UserLoginApp.Models.FolderModel dir in Model.FolderList)
  12. {
  13. <li>
  14. <input type="checkbox" name="SelectedFolders" value="@dir.Name" />
  15. <img src="~/Content/Images/Folder-icon.png" alt="Folder Logo" align="top" style="width: 20px;
  16. height: 20px; border: none" />
  17. <a href="@dir.Name/" id="FolderName" title="@dir.Name">@dir.Name</a>
  18.  
  19. </li>
  20.  
  21. }
  22.  
  23. @foreach (UserLoginApp.Models.FileModel file in Model.FileList)
  24. {
  25. <li>
  26. <input type="checkbox" name="SelectedFiles" value="@file.Name" />
  27. @if (file.Name.EndsWith(".jpg") || file.Name.EndsWith(".jpeg") || file.Name.EndsWith(".png"))
  28. {
  29. <img src="~/Content/Images/image.png" alt="File Logo" align="top" style="width: 20px;
  30. height: 20px; border: none" />
  31. }
  32. else
  33. {
  34. <img src="~/Content/Images/file.png" alt="File Logo" align="top" style="width: 20px;
  35. height: 20px; border: none" />
  36. }
  37. <a href="@(uri.AbsolutePath + file.Name)" title="@file.Name" target="_blank">@file.Name</a>
  38.  
  39.  
  40. </li>
  41. }
  42. </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement