mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Merge
--HG-- branch : dev
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 123 B |
Binary file not shown.
After Width: | Height: | Size: 714 B |
@@ -1,11 +1,20 @@
|
|||||||
#main #widgets h2
|
#main #widgets h2 {
|
||||||
{
|
|
||||||
border-bottom:none;
|
border-bottom:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h4.widgets-layer-header, h4.widgets-zone-header {
|
||||||
|
font-weight:600;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4.widgets-layer-header {
|
||||||
|
float:left;
|
||||||
|
width:40%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.widgetsbag-editor h5 {
|
.widgetsbag-editor h5 {
|
||||||
color:#4c4c4c;
|
color:#4c4c4c;
|
||||||
font-weight:bold;
|
font-weight:600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widgets-availableWidgets {
|
.widgets-availableWidgets {
|
||||||
@@ -15,6 +24,13 @@
|
|||||||
margin: 0 0 0 2em;
|
margin: 0 0 0 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widgets-availableWidgets table.items th
|
||||||
|
{
|
||||||
|
background: #f1f1f1;
|
||||||
|
font-size:1.6em;
|
||||||
|
padding:.5em 0 .3em .2em;
|
||||||
|
}
|
||||||
|
|
||||||
.widgets-availableLayers {
|
.widgets-availableLayers {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0 0 0 2em;
|
margin: 0 0 0 2em;
|
||||||
@@ -50,6 +66,7 @@
|
|||||||
.widgets-availableLayers fieldset
|
.widgets-availableLayers fieldset
|
||||||
{
|
{
|
||||||
border: 1px solid #eaeaea;
|
border: 1px solid #eaeaea;
|
||||||
|
background: #f1f1f1;
|
||||||
background: -moz-linear-gradient(center top, #f1f1f1, #fcfcfc);
|
background: -moz-linear-gradient(center top, #f1f1f1, #fcfcfc);
|
||||||
padding: .6em;
|
padding: .6em;
|
||||||
}
|
}
|
||||||
|
@@ -13,12 +13,12 @@
|
|||||||
|
|
||||||
<div id="widgets">
|
<div id="widgets">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="widgets-availableLayers">
|
<div class="widgets-availableLayers">
|
||||||
<h2>Widget Zones</h2>
|
<h2>Widgets</h2>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
<h4 class="widgets-layer-header">Layers</h4>
|
||||||
|
<h4 class="widgets-zone-header">Zones</h4>
|
||||||
<div>
|
<div>
|
||||||
<ul class="widgets-layerZones">
|
<ul class="widgets-layerZones">
|
||||||
@foreach (string zone in Model.Zones) {
|
@foreach (string zone in Model.Zones) {
|
||||||
@@ -55,14 +55,14 @@
|
|||||||
if (layer.Id == Model.CurrentLayer.Id) {
|
if (layer.Id == Model.CurrentLayer.Id) {
|
||||||
<li class="widgets-currentLayer widgets-editLayer">
|
<li class="widgets-currentLayer widgets-editLayer">
|
||||||
<a href="@Url.Action("EditLayer", new { @layer.Id })">
|
<a href="@Url.Action("EditLayer", new { @layer.Id })">
|
||||||
<img width="15" height="15" src="@Url.Content("~/modules/orchard.widgets/Content/Admin/images/edit.gif")" />
|
<img width="15" height="15" src="@Url.Content("~/modules/orchard.widgets/Content/Admin/images/edit.png")" />
|
||||||
</a>
|
</a>
|
||||||
@Html.ActionLink(@layer.Name, "Index", new { @layer.Id })
|
@Html.ActionLink(@layer.Name, "Index", new { @layer.Id })
|
||||||
</li>
|
</li>
|
||||||
} else {
|
} else {
|
||||||
<li class="widgets-editLayer">
|
<li class="widgets-editLayer">
|
||||||
<a href="@Url.Action("EditLayer", new { @layer.Id })">
|
<a href="@Url.Action("EditLayer", new { @layer.Id })">
|
||||||
<img width="15" height="15" src="@Url.Content("~/modules/orchard.widgets/Content/Admin/images/edit.gif")" />
|
<img width="15" height="15" src="@Url.Content("~/modules/orchard.widgets/Content/Admin/images/edit.png")" />
|
||||||
</a>
|
</a>
|
||||||
@Html.ActionLink(@layer.Name, "Index", new { @layer.Id })
|
@Html.ActionLink(@layer.Name, "Index", new { @layer.Id })
|
||||||
</li>
|
</li>
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
@foreach (string widget in Model.WidgetTypes) {
|
@foreach (string widget in Model.WidgetTypes) {
|
||||||
<tr>
|
<tr>
|
||||||
<td>@widget</td>
|
<td>@widget</td>
|
||||||
<td>@Html.ActionLink(T("Add").ToString(), "AddWidget", new { layerId = Model.CurrentLayer.Id, widgetType = widget })</td>
|
<td>@Html.ActionLink(T("Add to zone").ToString(), "AddWidget", new { layerId = Model.CurrentLayer.Id, widgetType = widget })</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</table>
|
</table>
|
||||||
|
Reference in New Issue
Block a user