Files
Orchard/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Index.cshtml
Nathan Heskew a60ce2141a A little button cleanup
--HG--
branch : dev
2010-11-04 15:13:15 -07:00

38 lines
1.5 KiB
Plaintext

@model RolesIndexViewModel
@using Orchard.Roles.ViewModels;
<h1>@Html.TitleForPage(T("Manage Roles").ToString())</h1>
@using(Html.BeginFormAntiForgeryPost()) {
Html.ValidationSummary();
<fieldset class="bulk-actions">
<label for="publishActions">@T("Actions:")</label>
<select id="Select1" name="roleActions">
<option value="1">@T("Remove")</option>
</select>
<button type="submit">@T("Apply")</button>
</fieldset>
<div class="manage">@Html.ActionLink(T("Add a role").ToString(), "Create", new { }, new { @class = "button primaryAction" })</div>
<fieldset>
<table class="items" summary="@T("This is a table of the roles currently available for use in your application.")">
<colgroup>
<col id="Col1" />
<col id="Col2" />
<col id="Col3" />
</colgroup>
<thead>
<tr>
<th scope="col">&nbsp;&darr;</th>
<th scope="col">@T("Name")</th>
<th scope="col"></th>
</tr>
</thead>
@foreach (var row in Model.Rows) {
<tr>
<td><input type="checkbox" value="true" name="@("Checkbox." + row.Id)"/></td>
<td>@row.Name</td>
<td>@Html.ActionLink(T("Edit").ToString(), "Edit", new { row.Id })</td>
</tr>
}
</table>
</fieldset>
}