From 3aa9873db9a3557cbd96c13231f7ea1ae2e8e10e Mon Sep 17 00:00:00 2001 From: perploug Date: Tue, 10 Sep 2013 23:33:26 +0200 Subject: [PATCH] legacy Editmacro editor tweaks --- .../umbraco/developer/Macros/editMacro.aspx | 256 +++++++----------- .../developer/Macros/editMacro.aspx.cs | 11 +- src/umbraco.controls/pane.cs | 9 + 3 files changed, 115 insertions(+), 161 deletions(-) diff --git a/src/Umbraco.Web.UI/umbraco/developer/Macros/editMacro.aspx b/src/Umbraco.Web.UI/umbraco/developer/Macros/editMacro.aspx index 7018375a65..115acbc0ae 100644 --- a/src/Umbraco.Web.UI/umbraco/developer/Macros/editMacro.aspx +++ b/src/Umbraco.Web.UI/umbraco/developer/Macros/editMacro.aspx @@ -17,14 +17,14 @@ (function($) { $(document).ready(function () { //on drop down change, update the text box and clear other text boxes - $("#Table2 td.propertyContent select").change(function() { + $(".fileChooser select").change(function () { //update the txt box var txt = $(this).prev("input[type='text']"); txt.val($(this).val()); //clear other text boxes - $("#Table2 td.propertyContent input[type='text']").not(txt).val(""); + $(".fileChooser input[type='text']").not(txt).val(""); //reset other drop downs - $("#Table2 td.propertyContent select").not($(this)).val(""); + $(".fileChooser select").not($(this)).val(""); }); }); })(jQuery); @@ -32,197 +32,145 @@ - + + - - - - - - - - - -
- Name - - -
- Alias - - -
+ + + + + +
- - - - - - - - - - - - - - - - - - - - - - -
- python Icon - Use MVC Partial View - - + + + + + + -
- Xslt Icon - or XSLT file - - + + + + -
- User control Icon - or .NET User Control - - + + + + -
- Custom Control Icon - or .NET Custom Control - - + + + + + + + + + + (Assembly)
(Type) - -
- python Icon - or script file - - - - -
+ +
- - - - - - - - - - -
- Use in editor - - -
- Render content in editor - - -
+ + + + + + + + + + - - - - - - - - - - - - - - -
- Cache Period - -  Seconds -
- Cache By Page - - -
- Cache Personalized - - -
+ + + +  Seconds + + + + + + + + + + - - - - - - +
- <%=umbraco.ui.Text("general", "alias",this.getUser())%> - - <%=umbraco.ui.Text("general", "name",this.getUser())%> - - <%=umbraco.ui.Text("general", "type",this.getUser())%> - -
+ + + + + + + + + - - - - - - - - - - + + + + + + + + +
+ <%=umbraco.ui.Text("general", "alias",this.getUser())%> + + <%=umbraco.ui.Text("general", "name",this.getUser())%> + + <%=umbraco.ui.Text("general", "type",this.getUser())%> +
+ + + - + +
- - - - - - - - -
+ + + + + + + + +
+