portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r499660 - in /portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget: LayoutEditPane.css LayoutEditPane.html LayoutEditPane.js LayoutRootEditPane.css LayoutRootEditPane.html
Date Thu, 25 Jan 2007 04:54:48 GMT
Author: smilek
Date: Wed Jan 24 20:54:44 2007
New Revision: 499660

URL: http://svn.apache.org/viewvc?view=rev&rev=499660
Log:
added 'Add Portlet' button to widgets LayoutRootEditPane and LayoutEditPane

Modified:
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.css
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.css
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.html

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.css?view=diff&rev=499660&r1=499659&r2=499660
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.css (original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.css Wed
Jan 24 20:54:44 2007
@@ -32,6 +32,6 @@
 .layoutEditPane .detail .selectSpacer { float: left; width: 20px; visibility: hidden }
 .layoutEditPane .detail .operationSpacer { float: left; width: 28px; visibility: hidden }
 .layoutEditPane .detail .dojoButton { float: left; margin-right: 5px }
-
+.layoutEditPane .detail .buttonContainerRight .dojoButton { float: right; margin-right: 5px
}
 
 .dojoComboBoxOptions { font-size: xx-small; }

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.html?view=diff&rev=499660&r1=499659&r2=499660
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.html (original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.html Wed
Jan 24 20:54:44 2007
@@ -10,6 +10,7 @@
             <button dojoType="Button" dojoAttachPoint="changeLayoutButton" dojoAttachEvent="onClick:changeLayout">Change
Layout</button>
             <div class="operationSpacer">&nbsp;</div>
             <button dojoType="Button" dojoAttachEvent="onClick:openColumnSizeEditor">Column
Sizes</button>
+            <div class="buttonContainerRight"><button dojoType="Button" dojoAttachEvent="onClick:addPortlet">Add
Portlet</button></div>
         </div>
     </fieldset>
 

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.js?view=diff&rev=499660&r1=499659&r2=499660
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.js (original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutEditPane.js Wed Jan
24 20:54:44 2007
@@ -109,6 +109,10 @@
         openColumnSizeEditor: function()
         {
             this.pageEditorWidget.openColumnSizesEditor( this.layoutId );
+        },
+        addPortlet: function()
+        {
+            jetspeed.page.addPortletInitiate( this.layoutId );
         }
 	}
 );

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.css?view=diff&rev=499660&r1=499659&r2=499660
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.css
(original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.css
Wed Jan 24 20:54:44 2007
@@ -46,6 +46,7 @@
 .layoutRootEditPane .detail .operationSpacer { float: left; width: 28px; visibility: hidden
}
 
 .layoutRootEditPane .detail .dojoButton { float: left; margin-right: 5px }
+.layoutRootEditPane .detail .buttonContainerRight .dojoButton { float: right; margin-right:
5px }
 
 
 .dojoComboBoxOptions { font-size: xx-small; }

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.html?view=diff&rev=499660&r1=499659&r2=499660
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.html
(original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/LayoutRootEditPane.html
Wed Jan 24 20:54:44 2007
@@ -11,6 +11,7 @@
                <button dojoType="Button" dojoAttachPoint="changeLayoutButton" dojoAttachEvent="onClick:changeLayout">Change
Layout</button>
                <div class="operationSpacer">&nbsp;</div>
                <button dojoType="Button" dojoAttachEvent="onClick:openColumnSizeEditor">Column
Sizes</button>
+               <div class="buttonContainerRight"><button dojoType="Button" dojoAttachEvent="onClick:addPortlet">Add
Portlet</button></div>
            </div>
            <div class="rowContainer">
                <div class="layoutDecoratorContainer">



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message