mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Moved install link on modules page.
--HG-- branch : 1.x
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
Layout.Title = T("Modules").ToString();
|
||||
}
|
||||
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost(Url.Action("Index", "Admin"))) {
|
||||
<fieldset class="search-actions">
|
||||
<input type="text" id="searchText" class="text-box single-line" name="@Html.NameOf(m => m.Options.SearchText)" value="@Model.Options.SearchText" />
|
||||
@@ -18,6 +19,10 @@
|
||||
<button type="submit">@T("Search").ToString()</button>
|
||||
</fieldset>
|
||||
|
||||
if (Model.InstallModules) {
|
||||
<span>@Html.ActionLink(T("Install a module from your computer").ToString(), "AddModule", "PackagingServices", new { area = "Orchard.Packaging", returnUrl = HttpContext.Current.Request.RawUrl }, null)</span>
|
||||
}
|
||||
|
||||
if (Model.Modules.Count() > 0) {
|
||||
<ul class="contentItems">
|
||||
@foreach (ModuleEntry module in Model.Modules.OrderBy(m => m.Descriptor.Name)) {
|
||||
@@ -31,6 +36,3 @@
|
||||
@Display(Model.Pager)
|
||||
}
|
||||
|
||||
@if (Model.InstallModules) {
|
||||
<p id="otherActionsBar">@Html.ActionLink(T("Install a module from your computer").ToString(), "AddModule", "PackagingServices", new { area = "Orchard.Packaging", returnUrl = HttpContext.Current.Request.RawUrl }, null)</p>
|
||||
}
|
@@ -1,24 +1,8 @@
|
||||
#main .features h2 {
|
||||
margin-top:0;
|
||||
}
|
||||
#main .features h3 {
|
||||
padding:0 3em 0 0;
|
||||
}
|
||||
html.dyn #main ul.features button
|
||||
{
|
||||
display:none;
|
||||
}
|
||||
#otherActionsBar {
|
||||
clear: both;
|
||||
border-top-width: thin;
|
||||
border-top-style: solid;
|
||||
border-top-color: #E4E5E6;
|
||||
margin: 10px 0 0;
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
.pageStatus {
|
||||
clear: both;
|
||||
}
|
||||
#main .features h2 { margin-top:0; }
|
||||
#main .features h3 { padding:0 3em 0 0; }
|
||||
html.dyn #main ul.features button { display:none; }
|
||||
.pageStatus { clear: both; }
|
||||
|
||||
.features.detail-view .category > ul {
|
||||
border:1px solid #EAEAEA;
|
||||
margin-bottom:2em;
|
||||
@@ -162,8 +146,7 @@ h2.recentlyInstalledModule {padding:0 0 0 40px;}
|
||||
.search-actions {
|
||||
float: right;
|
||||
height: auto;
|
||||
margin: 0 0 16px 0;
|
||||
padding-top: 0;
|
||||
padding:0 0 0 0;
|
||||
}
|
||||
|
||||
.manage {
|
||||
|
Reference in New Issue
Block a user