mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Continuing admin CSS cleanup (mostly messages and buttons)
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042154
This commit is contained in:
@@ -13,5 +13,5 @@ string CssClassName(NotifyType type) {
|
||||
}</script>
|
||||
|
||||
<% foreach (var item in Model) { %>
|
||||
<div class="<%=CssClassName(item.Type) %>"><%=Html.Encode(item.Message) %></div>
|
||||
<div class="<%=CssClassName(item.Type) %> message"><%=Html.Encode(item.Message) %></div>
|
||||
<% } %>
|
||||
|
@@ -16,7 +16,7 @@
|
||||
%><fieldset>
|
||||
<label for="<%="Revision.Contents[" + content.ZoneName + "].Content" %>"><%=_Encoded("Zone Name") %>: <%= content.ZoneName %></label>
|
||||
<% if (Model.Template != null && Model.Template.Zones.Contains(content.ZoneName) == false) {
|
||||
%><span class="warning">These contents are assigned to a zone that does not exist in the current template. Please delete it or copy it to another zone.</span><%
|
||||
%><span class="warning message">These contents are assigned to a zone that does not exist in the current template. Please delete it or copy it to another zone.</span><%
|
||||
} %>
|
||||
<%= Html.TextArea("Revision.Contents[" + content.ZoneName + "].Content", content.Content) %>
|
||||
</fieldset><%
|
||||
@@ -42,7 +42,7 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<input class="button" type="submit" name="submit.Save" value="Save"/>
|
||||
<input class="button" type="submit" name="submit.DeleteDraft" value="Delete Draft" <%=Model.CanDeleteDraft ? "" : "disabled" %>/>
|
||||
<input class="delete button" type="submit" name="submit.DeleteDraft" value="Delete Draft" <%=Model.CanDeleteDraft ? "" : "disabled" %>/>
|
||||
</fieldset>
|
||||
</div>
|
||||
<%}/*EndForm*/%>
|
||||
|
Reference in New Issue
Block a user