Wrapping up cleanup pass on the media package's admin UI

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043004
This commit is contained in:
skewed
2009-12-03 02:17:50 +00:00
parent 3a3c34bf90
commit 6e36ef09b2
8 changed files with 232 additions and 277 deletions

View File

@@ -388,6 +388,7 @@ button:focus, .button:focus {
#main .manage a.button {
float:right;
height:inherit;
margin-left:.3em;
padding-bottom:.3em;
padding-top:.3em;
}

View File

@@ -4,30 +4,24 @@
<%@ Import Namespace="Orchard.Media.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<% Html.Include("AdminHead"); %>
<div class="yui-g">
<h2 class="separator">Add Media </h2>
<p class="bottomSpacer">
<%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Add Media</p>
<div id="dialog" title="Upload files">
<% using (Html.BeginForm("Add", "Admin", FormMethod.Post, new { enctype = "multipart/form-data" })) {%>
<ol>
<li><label for="pageTitle">File Path - Multiple files must be in a zipped folder:</label>
<input id="FolderName" name="FolderName" type="hidden" value="<%= Model.FolderName %>" />
<input id="MediaPath" name="MediaPath" type="hidden" value="<%= Model.MediaPath %>" />
<input id="MediaItemPath" name="MediaItemPath" type="file" class="button" value="Browse" size="64"/>
<p class="helperText">After your files have been uploaded, you can edit the titles and descriptions.</p>
</li>
<li>
<input type="submit" class="button" value="Upload" />
</li>
</ol>
<% } %>
</div>
</div>
<h2>Add Media </h2>
<p>
<%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Add Media</p>
<% using (Html.BeginForm("Add", "Admin", FormMethod.Post, new { enctype = "multipart/form-data" })) {%>
<%= Html.ValidationSummary() %>
<fieldset>
<label for="pageTitle">File Path - Multiple files must be in a zipped folder:</label>
<input id="FolderName" name="FolderName" type="hidden" value="<%= Model.FolderName %>" />
<input id="MediaPath" name="MediaPath" type="hidden" value="<%= Model.MediaPath %>" />
<input id="MediaItemPath" name="MediaItemPath" type="file" class="text" value="Browse" size="64"/>
<input type="submit" class="button" value="Upload" /><br />
<span>After your files have been uploaded, you can edit the titles and descriptions.</span>
</fieldset>
<% } %>
<% Html.Include("AdminFoot"); %>

View File

@@ -4,27 +4,20 @@
<%@ Import Namespace="Orchard.Media.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<% Html.Include("AdminHead"); %>
<div class="yui-g">
<h2 class="separator">Add a New Folder</h2>
<p class="bottomSpacer">
<%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Add a new Folder</p>
<%using (Html.BeginForm()) { %>
<%= Html.ValidationSummary() %>
<ol>
<li><label for="Name">Folder Name:</label>
<input id="Name" class="inputText inputTextLarge roundCorners" name="Name" type="text" />
<input id="MediaPath" name="MediaPath" type="hidden" value="<%= Model.MediaPath %>" />
</li>
<li>
<input type="submit" class="button buttonFocus roundCorners" value="Save" />
</li>
</ol>
<%}%>
</div>
<h2>Add a Folder</h2>
<p><%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Add a Folder</p>
<%using (Html.BeginForm()) { %>
<%= Html.ValidationSummary() %>
<fieldset>
<label for="Name">Folder Name:</label>
<input id="Name" class="text" name="Name" type="text" />
<input id="MediaPath" name="MediaPath" type="hidden" value="<%= Model.MediaPath %>" />
<input type="submit" class="button" value="Save" />
</fieldset>
<% } %>
<% Html.Include("AdminFoot"); %>

View File

@@ -4,92 +4,90 @@
<%@ Import Namespace="Orchard.Media.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html"%>
<% Html.Include("AdminHead"); %>
<h2 class="separator">Manage Folder</h2>
<div class="manage"><%=Html.ActionLink("Folder Properties", "EditProperties", new { folderName = Model.FolderName, mediaPath = Model.MediaPath }, new { @class = "button"})%></div>
<p><%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Manage Folder</p>
<% Html.BeginForm(); %>
<div class="yui-g">
<h2 class="separator">Manage Folder</h2>
<span class="filterActions">
<%=Html.ActionLink("Folder Properties", "EditProperties", new { folderName = Model.FolderName, mediaPath = Model.MediaPath })%>
</span>
<p class="bottomSpacer">
<%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Manage Folder</p>
<ol class="horizontal actions floatLeft">
<li><label class="floatLeft" for="bulkActions">Actions:</label>
<select id="Select1" name="publishActions">
<option value="1">Delete</option>
</select> </li>
<li>
<input class="button roundCorners" type="submit" value="Apply" />
</li>
</ol>
<span class="filterActions">
<%=Html.ActionLink("Add media", "Add", new { folderName = Model.FolderName, mediaPath = Model.MediaPath })%>
|
<%=Html.ActionLink("Add a new folder", "Create", new { Model.MediaPath }) %>
</span>
<table id="Table1" cellspacing="0" class="roundCorners clearLayout" summary="This is a table of the pages currently available for use in your application.">
<colgroup>
<col id="Col1" />
<col id="Col2" />
<col id="Col3" />
<col id="Col4" />
<col id="Col5" />
<col id="Col6" />
</colgroup>
<thead>
<tr>
<th scope="col"><%--<input type="checkbox" value="" />--%></th>
<th scope="col">Name</th>
<th scope="col">Author</th>
<th scope="col">Last Updated</th>
<th scope="col">Type</th>
<th scope="col">Size</th>
</tr>
</thead>
<%foreach (var mediaFile in Model.MediaFiles) {
%>
<tr>
<td>
<input type="checkbox" value="true" name="<%= "Checkbox.File." + mediaFile.Name %>"/>
<input type="hidden" value="<%= Model.MediaPath %>" name="<%= mediaFile.Name %>" />
</td>
<td>
<%=Html.ActionLink(mediaFile.Name, "EditMedia", new { name = mediaFile.Name,
lastUpdated = mediaFile.LastUpdated,
size = mediaFile.Size,
folderName = mediaFile.FolderName,
mediaPath = Model.MediaPath })%>
</td>
<td>Orchard User</td>
<td><%= mediaFile.LastUpdated %></td>
<td><%= mediaFile.Type %></td>
<td><%= mediaFile.Size %></td>
</tr>
<%}%>
<%foreach (var mediaFolder in Model.MediaFolders) {
%>
<tr>
<td>
<input type="checkbox" value="true" name="<%= "Checkbox.Folder." + mediaFolder.Name %>"/>
<input type="hidden" value="<%= mediaFolder.MediaPath %>" name="<%= mediaFolder.Name %>" />
</td>
<td>
<img src="<%=ResolveUrl("~/Packages/Orchard.Media/Content/Admin/images/folder.gif")%>" height="16px" width="16px" class="mediaTypeIcon" alt="Folder" />
<%=Html.ActionLink(mediaFolder.Name, "Edit", new { name = mediaFolder.Name,
mediaPath = mediaFolder.MediaPath})%>
</td>
<td>Orchard User</td>
<td><%= mediaFolder.LastUpdated %></td>
<td>Folder</td>
<td><%= mediaFolder.Size %></td>
</tr>
<%}%>
</table>
</div>
<fieldset class="actions bulk">
<label for="publishActions">Actions: </label>
<select id="Select1" name="publishActions">
<option value="1">Delete</option>
</select>
<input class="button roundCorners" type="submit" value="Apply" />
</fieldset>
<div class="manage">
<%=Html.ActionLink("Add media", "Add", new { folderName = Model.FolderName, mediaPath = Model.MediaPath }, new { @class = "button" })%>
<%=Html.ActionLink("Add a folder", "Create", new { Model.MediaPath }, new { @class = "button" })%>
</div>
<fieldset>
<table summary="This is a table of the pages currently available for use in your application.">
<colgroup>
<col id="Col1" />
<col id="Col2" />
<col id="Col3" />
<col id="Col4" />
<col id="Col5" />
<col id="Col6" />
</colgroup>
<thead>
<tr>
<th scope="col">&nbsp;&darr;<%-- todo: (heskew) something more appropriate for "this applies to the bulk actions --%></th>
<th scope="col">Name</th>
<th scope="col">Author</th>
<th scope="col">Last Updated</th>
<th scope="col">Type</th>
<th scope="col">Size</th>
</tr>
</thead>
<%foreach (var mediaFile in Model.MediaFiles) {
%>
<tr>
<td>
<input type="checkbox" value="true" name="<%= "Checkbox.File." + mediaFile.Name %>"/>
<input type="hidden" value="<%= Model.MediaPath %>" name="<%= mediaFile.Name %>" />
</td>
<td>
<%=Html.ActionLink(mediaFile.Name, "EditMedia", new { name = mediaFile.Name,
lastUpdated = mediaFile.LastUpdated,
size = mediaFile.Size,
folderName = mediaFile.FolderName,
mediaPath = Model.MediaPath })%>
</td>
<td>Orchard User</td>
<td><%= mediaFile.LastUpdated %></td>
<td><%= mediaFile.Type %></td>
<td><%= mediaFile.Size %></td>
</tr>
<%}%>
<%foreach (var mediaFolder in Model.MediaFolders) {
%>
<tr>
<td>
<input type="checkbox" value="true" name="<%= "Checkbox.Folder." + mediaFolder.Name %>"/>
<input type="hidden" value="<%= mediaFolder.MediaPath %>" name="<%= mediaFolder.Name %>" />
</td>
<td>
<img src="<%=ResolveUrl("~/Packages/Orchard.Media/Content/Admin/images/folder.gif")%>" height="16px" width="16px" class="mediaTypeIcon" alt="Folder" />
<%=Html.ActionLink(mediaFolder.Name, "Edit", new { name = mediaFolder.Name,
mediaPath = mediaFolder.MediaPath})%>
</td>
<td>Orchard User</td>
<td><%= mediaFolder.LastUpdated %></td>
<td>Folder</td>
<td><%= mediaFolder.Size %></td>
</tr>
<%}%>
</table>
</fieldset>
<div class="manage">
<%=Html.ActionLink("Add media", "Add", new { folderName = Model.FolderName, mediaPath = Model.MediaPath }, new { @class = "button" })%>
<%=Html.ActionLink("Add a folder", "Create", new { Model.MediaPath }, new { @class = "button" })%>
</div>
<% Html.EndForm(); %>
<% Html.Include("AdminFoot"); %>

View File

@@ -4,74 +4,51 @@
<%@ Import Namespace="Orchard.Media.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<% Html.Include("AdminHead"); %>
<div class="yui-g">
<h2 class="separator">Edit Media - <%= Model.Name %></h2>
<p class="bottomSpacer">
<%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Edit Media </p>
</div>
<div class="yui-gc">
<div class="yui-u first">
<h3>About this media</h3>
<%using (Html.BeginForm()) { %>
<ol>
<%-- <li><label for="imageTitle">Title:</label>
<input id="imageTitle" class="inputText inputTextLarge" name="imageTitle" type="text" />
</li>--%>
<li><label for="Name">Name:</label>
<input id="Name" class="inputText inputTextLarge" name="Name" type="hidden" value="<%= Model.Name %>"/>
<input id="NewName" class="inputText inputTextLarge" name="NewName" type="text" value="<%= Model.Name %>"/>
</li>
<li><label for="Caption">Caption:</label>
<input id="Caption" class="inputText" name="Caption" type="text" value="<%= Model.Caption %>"/>
<input id="LastUpdated" class="inputText" name="LastUpdated" type="hidden" value="<%= Model.LastUpdated %>"/>
<input id="Size" class="inputText" name="Size" type="hidden" value="<%= Model.Size %>"/>
<input id="FolderName" class="inputText" name="FolderName" type="hidden" value="<%= Model.FolderName %>"/>
<input id="MediaPath" class="inputText" name="MediaPath" type="hidden" value="<%= Model.MediaPath %>"
<p class="helperText">This will be used for the image alt tag.</p>
</li>
<%-- <li><label for="tags">Tags:</label>
<input id="tags" class="inputText" name="tags" type="text" />
<p class="helperText">Seperate each tag with a comma. Example: Lorem, Ipsum, Dolor</p>
</li>--%>
<%-- <li><label for="description">Description:</label>
<textarea id="description" name="description"></textarea>
</li>--%>
<li>
<input type="submit" class="button" name="submit.Save" value="Save" />
<input type="submit" class="button" name="submit.Delete" value="Delete" />
</li>
</ol>
<%}%>
</div>
<div class="yui-u sideBar">
<h3>Preview</h3>
<fieldset>
<ol>
<li>
<img src="<%=ResolveUrl("~/Media/" + Model.RelativePath + "/" + Model.Name)%>" class="previewImage" alt="<%= Model.Caption %>" />
</li>
<li>
<strong>Dimensions:</strong> 500 x 375 pixels
</li>
<li>
<strong>Size:</strong> <%= Model.Size %>
</li>
<li>
<strong>Added on:</strong> <%= Model.LastUpdated %> by Orchard User
</li>
<li>
<label for="embedPath">Embed:</label>
<input id="embedPath" class="inputText" name="embedPath" type="text" readonly="readonly" value="&lt;img src=&quot;<%=ResolveUrl("~/Media/" + Model.RelativePath + "/" + Model.Name)%>&quot; width=&quot;500&quot; height=&quot;375&quot; alt=&quot;<%= Model.Caption %>&quot; /&gt;" />
<p class="helperText">Copy this html to add this image to your site.</p>
</li>
</ol>
</fieldset>
</div>
</div>
<h2>Edit Media - <%= Model.Name %></h2>
<p>
<%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Edit Media </p>
<div class="sections">
<%using (Html.BeginForm()) { %>
<%= Html.ValidationSummary() %>
<div class="primary">
<h3>About this media</h3>
<fieldset>
<label for="Name">Name:</label>
<input id="Name" name="Name" type="hidden" value="<%= Model.Name %>"/>
<input id="NewName" class="text" name="NewName" type="text" value="<%= Model.Name %>"/>
<label for="Caption">Caption:</label>
<input id="Caption" class="text" name="Caption" type="text" value="<%= Model.Caption %>"/>
<input id="LastUpdated" name="LastUpdated" type="hidden" value="<%= Model.LastUpdated %>"/>
<input id="Size" name="Size" type="hidden" value="<%= Model.Size %>"/>
<input id="FolderName" name="FolderName" type="hidden" value="<%= Model.FolderName %>"/>
<input id="MediaPath" name="MediaPath" type="hidden" value="<%= Model.MediaPath %>" />
<span>This will be used for the image alt tag.</span>
</fieldset>
<fieldset>
<input type="submit" class="button" name="submit.Save" value="Save" />
<%--<input type="submit" class="button" name="submit.Delete" value="Delete" />--%>
</fieldset>
</div>
<div class="secondary">
<h3>Preview</h3>
<div><img src="<%=ResolveUrl("~/Media/" + Model.RelativePath + "/" + Model.Name)%>" class="previewImage" alt="<%= Model.Caption %>" /></div>
<ul>
<li><strong>Dimensions:</strong> 500 x 375 pixels</li>
<li><strong>Size:</strong> <%= Model.Size %></li>
<li><strong>Added on:</strong> <%= Model.LastUpdated %> by Orchard User</li>
<li>
<label for="embedPath">Embed:</label>
<input id="embedPath" class="inputText" name="embedPath" type="text" readonly="readonly" value="&lt;img src=&quot;<%=ResolveUrl("~/Media/" + Model.RelativePath + "/" + Model.Name)%>&quot; width=&quot;500&quot; height=&quot;375&quot; alt=&quot;<%= Model.Caption %>&quot; /&gt;" />
<p class="helperText">Copy this html to add this image to your site.</p>
</li>
</ul>
</div>
<% } %>
</div>
<% Html.Include("AdminFoot"); %>

View File

@@ -4,29 +4,22 @@
<%@ Import Namespace="Orchard.Media.ViewModels"%>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<% Html.Include("AdminHead"); %>
<div class="yui-g">
<h2 class="separator">Folder Properties</h2>
<p class="bottomSpacer">
<%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Folder Properties
</p>
<%using (Html.BeginForm()) { %>
<%= Html.ValidationSummary() %>
<ol>
<li><label for="Name">Folder Name:</label>
<input id="Name" class="inputText inputTextLarge roundCorners" name="Name" type="text" value="<%= Model.Name %>" />
<input id="MediaPath" name="MediaPath" type="hidden" value="<%=Model.MediaPath %>" />
</li>
<li>
<input type="submit" class="button buttonFocus roundCorners" name="submit.Save" value="Save" />
<input type="submit" class="button buttonFocus roundCorners" name="submit.Delete" value="Delete" />
</li>
</ol>
<%}%>
</div>
<h2>Folder Properties</h2>
<p><%=Html.ActionLink("Media Folders", "Index")%> &#62;
<%foreach (FolderNavigation navigation in MediaHelpers.GetFolderNavigationHierarchy(Model.MediaPath)) {%>
<%=Html.ActionLink(navigation.FolderName, "Edit",
new {name = navigation.FolderName, mediaPath = navigation.FolderPath})%> &#62;
<% } %>
Folder Properties</p>
<%using (Html.BeginForm()) { %>
<%= Html.ValidationSummary() %>
<fieldset>
<label for="Name">Folder Name:</label>
<input id="MediaPath" name="MediaPath" type="hidden" value="<%=Model.MediaPath %>" />
<input id="Name" class="text" name="Name" type="text" value="<%= Model.Name %>" />
<input type="submit" class="button buttonFocus roundCorners" name="submit.Save" value="Save" />
<%--<input type="submit" class="button buttonFocus roundCorners" name="submit.Delete" value="Delete" />--%>
</fieldset>
<%}%>
<% Html.Include("AdminFoot"); %>

View File

@@ -3,54 +3,52 @@
<%@ Import Namespace="Orchard.Mvc.Html"%>
<% Html.Include("AdminHead"); %>
<h2>Manage Media Folders</h2>
<p><%=Html.ActionLink("Media Folders", "Index")%> &#62; Manage Media Folders</p>
<% Html.BeginForm(); %>
<p><%=Html.ActionLink("Media Folders", "Index")%> &#62; Manage Media Folders</p>
<%=Html.ValidationSummary() %>
<ol class="horizontal actions floatLeft">
<li><label class="floatLeft" for="bulkActions">Actions:</label>
<select id="Select1" name="publishActions">
<option value="1">Delete</option>
</select> </li>
<li>
<input class="button roundCorners" type="submit" value="Apply" />
</li>
</ol>
<span class="filterActions">
<%=Html.ActionLink("Add a new folder", "Create") %>
</span>
<table id="Table1" cellspacing="0" class="roundCorners clearLayout" summary="This is a table of the media folders currently available for use in your application.">
<colgroup>
<col id="Col1" />
<col id="Col2" />
<col id="Col3" />
<col id="Col4" />
<col id="Col5" />
<col id="Col6" />
</colgroup>
<thead>
<tr>
<th scope="col"><%--<input type="checkbox" value="" />--%></th>
<th scope="col">Name</th>
<th scope="col">Author</th>
<th scope="col">Last Updated</th>
<th scope="col">Type</th>
<th scope="col">Size</th>
</tr>
</thead>
<%foreach (var mediaFolder in Model.MediaFolders) {
%>
<tr>
<td><input type="checkbox" value="true" name="<%= "Checkbox." + mediaFolder.Name %>"/></td>
<td><img src="<%=ResolveUrl("~/Packages/Orchard.Media/Content/Admin/images/folder.gif")%>" height="16px" width="16px" class="mediaTypeIcon" alt="Folder" />
<%=Html.ActionLink(mediaFolder.Name, "Edit", new { name = mediaFolder.Name, mediaPath = mediaFolder.MediaPath })%>
</td>
<td>Orchard User</td>
<td><%=mediaFolder.LastUpdated %></td>
<td>Folder</td>
<td><%=mediaFolder.Size %></td>
</tr>
<%}%>
</table>
</div>
<fieldset class="actions bulk">
<label for="publishActions">Actions: </label>
<select id="Select1" name="publishActions">
<option value="1">Delete</option>
</select>
<input class="button roundCorners" type="submit" value="Apply" />
</fieldset>
<div class="manage"><%=Html.ActionLink("Add a folder", "Create", new {}, new { @class = "button"}) %></div>
<fieldset>
<table summary="This is a table of the media folders currently available for use in your application.">
<colgroup>
<col id="Col1" />
<col id="Col2" />
<col id="Col3" />
<col id="Col4" />
<col id="Col5" />
<col id="Col6" />
</colgroup>
<thead>
<tr>
<th scope="col">&nbsp;&darr;<%-- todo: (heskew) something more appropriate for "this applies to the bulk actions --%></th>
<th scope="col">Name</th>
<th scope="col">Author</th>
<th scope="col">Last Updated</th>
<th scope="col">Type</th>
<th scope="col">Size</th>
</tr>
</thead>
<%foreach (var mediaFolder in Model.MediaFolders) {
%>
<tr>
<td><input type="checkbox" value="true" name="<%= "Checkbox." + mediaFolder.Name %>"/></td>
<td><img src="<%=ResolveUrl("~/Packages/Orchard.Media/Content/Admin/images/folder.gif")%>" height="16px" width="16px" class="mediaTypeIcon" alt="Folder" />
<%=Html.ActionLink(mediaFolder.Name, "Edit", new { name = mediaFolder.Name, mediaPath = mediaFolder.MediaPath })%>
</td>
<td>Orchard User</td>
<td><%=mediaFolder.LastUpdated %></td>
<td>Folder</td>
<td><%=mediaFolder.Size %></td>
</tr>
<%}%>
</table>
</fieldset>
<div class="manage"><%=Html.ActionLink("Add a folder", "Create", new {}, new { @class = "button"}) %></div>
<% Html.EndForm(); %>
<% Html.Include("AdminFoot"); %>

View File

@@ -3,6 +3,7 @@
<%@ Import Namespace="Orchard.Mvc.Html" %>
<% Html.Include("AdminHead"); %>
<h2>Add a Tag</h2>
<%-- todo: (heskew) change all of the explicit begin/end forms to using blocks --%>
<% Html.BeginForm(); %>
<%= Html.ValidationSummary() %>
<fieldset>