portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1662792 - in /portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF: min-pages/responsive/ pages/responsive/ templates/layout/html/max-responsive/ templates/layout/html/responsive/
Date Fri, 27 Feb 2015 18:57:03 GMT
Author: taylor
Date: Fri Feb 27 18:57:03 2015
New Revision: 1662792

URL: http://svn.apache.org/r1662792
Log:
JS2-1315: responsive layout examples

Added:
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/folder.metadata
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/four-rows.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/logins.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/my-account2.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/nested.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/registration.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/responsive-blue.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/folder.metadata
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/four-rows.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/iframe.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/logins.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/my-account2.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/nested.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/registration.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/responsive-blue.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.properties
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.vm
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.properties
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.vm
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/responsive.vm

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/folder.metadata
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/folder.metadata?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/folder.metadata (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/folder.metadata Fri Feb 27 18:57:03 2015
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+    http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<folder
+    xmlns="http://portals.apache.org/jetspeed"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://portals.apache.org/jetspeed http://portals.apache.org/jetspeed-2/2.2/schemas/folder-metadata.xsd">
+  <title>Responsive</title>  
+  
+  <defaults
+     layout-decorator="jetspeed"
+     portlet-decorator="jetspeed"
+  />
+
+  <document-order>registration.psml</document-order>
+  <document-order>my-account2.psml</document-order>
+  <document-order>logins.psml</document-order>
+  <document-order>responsive-blue.psml</document-order>
+  <document-order>four-rows.psml</document-order>
+  <document-order>nested.psml</document-order>  
+
+  <security-constraints>
+    <security-constraints-ref>public-view</security-constraints-ref>
+  </security-constraints>
+</folder>

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/four-rows.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/four-rows.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/four-rows.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/four-rows.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/default-page.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>public-view</security-constraints-ref>
+    </security-constraints>
+    <title>Four Rows</title>
+    <short-title>FourRows</short-title>
+    <fragment id="fourrow-2" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="fourrow-3" type="portlet" name="j2-admin::LoginPortlet">
+            <property name="row" value="1"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="fourrow-4" type="portlet" name="j2-admin::LocaleSelector">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="fourrow-5" type="portlet" name="j2-admin::ForgottenPasswordPortlet">
+            <property name="row" value="1"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="fourrow-6" type="portlet" name="j2-admin::ProfilerAdmin">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="fourrow-7" type="portlet" name="j2-admin::UserRegistrationPortlet">
+            <property name="row" value="2"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="fourrow-8" type="portlet" name="j2-admin::PortalLoginPortlet">
+            <property name="row" value="2"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="fourrow-9" type="portlet" name="j2-admin::OpenIDLoginPortlet">
+            <property name="row" value="3"></property>
+            <property name="column" value="1"></property>
+        </fragment>        
+    </fragment>
+    <metadata name="title" xml:lang="fr">Bienvenue a Jetspeed</metadata>
+    <metadata name="title" xml:lang="ja">Jetspeed 2 へようこそ</metadata>
+    <metadata name="title" xml:lang="es">¡Bienvenido a Jetspeed 2!</metadata>
+    <metadata name="title" xml:lang="hu">Köszönti a Jetspeed 2!</metadata>
+    <metadata name="title" xml:lang="zh">欢迎来到Jetspeed 2</metadata>
+    <metadata name="title" xml:lang="zh_TW">歡迎來到Jetspeed 2</metadata>
+    <metadata name="title" xml:lang="ko">Jetspeed 2 에 오신 것을 환영합니다</metadata>
+    <defaults layout-decorator="bootstrap-red" portlet-decorator='bootstrap'></defaults>
+</page>

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/logins.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/logins.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/logins.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/logins.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/test/logins.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>public-view</security-constraints-ref>
+    </security-constraints>
+    <title>Logins Gray</title>
+    <short-title>Logins</short-title>
+    <fragment id="logins-layout" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="logins-0" type="portlet" name="j2-admin::LoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="logins-2" type="portlet" name="j2-admin::OpenIDLoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="logins-3" type="portlet" name="j2-admin::PortalLoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="2"></property>
+        </fragment>
+    </fragment>
+    <defaults layout-decorator="bootstrap-green" portlet-decorator="bootstrap"></defaults>
+
+</page>
\ No newline at end of file

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/my-account2.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/my-account2.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/my-account2.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/my-account2.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<page id="my-account2"
+    xmlns="http://portals.apache.org/jetspeed"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://portals.apache.org/jetspeed http://portals.apache.org/jetspeed-2/2.2/schemas/psml.xsd">
+
+  <title>My Account2</title>
+  <metadata name="title" xml:lang="ja">アカウント</metadata>
+  <metadata name="title" xml:lang="es">Mi cuenta</metadata>
+  <metadata name="title" xml:lang="hu">Személyes beállítások</metadata>
+  <metadata name="title" xml:lang="zh">我的帐户配置</metadata>
+  <metadata name="title" xml:lang="zh-TW">我的帳戶配置</metadata>
+  <metadata name="title" xml:lang="ko">내 계정</metadata>
+
+  <fragment id="xxxpwd-1" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+    <fragment id="xxxpwd-2" type="portlet" name="j2-admin::ChangePasswordPortlet">
+      <property name="row" value="0" />
+      <property name="column" value="0" />
+    </fragment>
+        <fragment id="xxxpwd-34" type="portlet" name="j2-admin::SSOChangePasswordPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>    
+   </fragment>
+    <defaults layout-decorator="bootstrap-red" portlet-decorator="bootstrap"></defaults>
+
+</page>

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/nested.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/nested.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/nested.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/nested.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/nested.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>public-view</security-constraints-ref>
+    </security-constraints>
+    <title>Nested Demo</title>
+    <short-title>Nested</short-title>
+    <fragment id="nested-2" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="nested-6" type="portlet" name="j2-admin::ProfilerAdmin">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="nested-4" type="portlet" name="j2-admin::LocaleSelector">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="nested-22" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+            <property name="row" value="1"></property>
+            <property name="column" value="0"></property>
+            <fragment id="nested-220" type="portlet" name="j2-admin::LoginPortlet">
+                <property name="row" value="0"></property>
+                <property name="column" value="0"></property>
+            </fragment>
+            <fragment id="nested-221" type="portlet" name="j2-admin::ForgottenPasswordPortlet">
+                <property name="row" value="0"></property>
+                <property name="column" value="1"></property>
+            </fragment>
+        </fragment>
+        <fragment id="nested-8" type="portlet" name="j2-admin::PortalLoginPortlet">
+            <property name="row" value="1"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="nested-9" type="portlet" name="j2-admin::OpenIDLoginPortlet">
+            <property name="row" value="2"></property>
+            <property name="column" value="0"></property>
+        </fragment>        
+        <fragment id="nested-7" type="portlet" name="j2-admin::UserRegistrationPortlet">
+            <property name="row" value="2"></property>
+            <property name="column" value="1"></property>
+        </fragment>        
+    </fragment>
+    
+    <defaults layout-decorator="bootstrap-blue" portlet-decorator='bootstrap'></defaults>
+</page>

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/registration.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/registration.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/registration.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/registration.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/registration.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>guest-only</security-constraints-ref>
+    </security-constraints>
+    <title>Registration</title>
+    <short-title>Registration</short-title>
+    <fragment id="jsreg-1" type="layout" name="jetspeed-layouts::VelocityOneColumn">
+        <fragment id="jsreg-2" type="portlet" name="j2-admin::UserRegistrationPortlet">
+            <property name="row" value="1"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+    </fragment>
+    <defaults layout-decorator="bootstrap" portlet-decorator='bootstrap'></defaults>
+</page>
\ No newline at end of file

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/responsive-blue.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/responsive-blue.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/responsive-blue.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/responsive/responsive-blue.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/test/responsive-blue.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>public-view</security-constraints-ref>
+    </security-constraints>
+    <title>Responsive Blue</title>
+    <short-title>ResponsiveBlue</short-title>
+    <fragment id="blue-layout" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="blue-0" type="portlet" name="j2-admin::LoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="blue-2" type="portlet" name="j2-admin::OpenIDLoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="blue-3" type="portlet" name="j2-admin::LocaleSelector">
+            <property name="row" value="0"></property>
+            <property name="column" value="2"></property>
+        </fragment>
+        <fragment id="blue-4" type="portlet" name="j2-admin::ForgottenPasswordPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="3"></property>
+        </fragment>
+    </fragment>
+    <defaults layout-decorator="bootstrap-blue" portlet-decorator="bootstrap"></defaults>
+</page>
\ No newline at end of file

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/folder.metadata
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/folder.metadata?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/folder.metadata (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/folder.metadata Fri Feb 27 18:57:03 2015
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+    http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<folder
+    xmlns="http://portals.apache.org/jetspeed"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://portals.apache.org/jetspeed http://portals.apache.org/jetspeed-2/2.2/schemas/folder-metadata.xsd">
+  <title>Responsive</title>  
+  
+  <defaults
+     layout-decorator="jetspeed"
+     portlet-decorator="jetspeed"
+  />
+
+  <document-order>registration.psml</document-order>
+  <document-order>my-account2.psml</document-order>
+  <document-order>logins.psml</document-order>
+  <document-order>responsive-blue.psml</document-order>
+  <document-order>four-rows.psml</document-order>
+  <document-order>nested.psml</document-order>  
+  <document-order>iframe.psml</document-order>
+
+  <security-constraints>
+    <security-constraints-ref>public-view</security-constraints-ref>
+  </security-constraints>
+</folder>

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/four-rows.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/four-rows.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/four-rows.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/four-rows.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/default-page.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>public-view</security-constraints-ref>
+    </security-constraints>
+    <title>Four Rows</title>
+    <short-title>FourRows</short-title>
+    <fragment id="fourrow-2" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="fourrow-3" type="portlet" name="j2-admin::LoginPortlet">
+            <property name="row" value="1"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="fourrow-4" type="portlet" name="j2-admin::LocaleSelector">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="fourrow-5" type="portlet" name="j2-admin::ForgottenPasswordPortlet">
+            <property name="row" value="1"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="fourrow-6" type="portlet" name="j2-admin::ProfilerAdmin">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="fourrow-7" type="portlet" name="j2-admin::UserRegistrationPortlet">
+            <property name="row" value="2"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="fourrow-8" type="portlet" name="j2-admin::PortalLoginPortlet">
+            <property name="row" value="2"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="fourrow-9" type="portlet" name="j2-admin::OpenIDLoginPortlet">
+            <property name="row" value="3"></property>
+            <property name="column" value="1"></property>
+        </fragment>        
+    </fragment>
+    <metadata name="title" xml:lang="fr">Bienvenue a Jetspeed</metadata>
+    <metadata name="title" xml:lang="ja">Jetspeed 2 へようこそ</metadata>
+    <metadata name="title" xml:lang="es">¡Bienvenido a Jetspeed 2!</metadata>
+    <metadata name="title" xml:lang="hu">Köszönti a Jetspeed 2!</metadata>
+    <metadata name="title" xml:lang="zh">欢迎来到Jetspeed 2</metadata>
+    <metadata name="title" xml:lang="zh_TW">歡迎來到Jetspeed 2</metadata>
+    <metadata name="title" xml:lang="ko">Jetspeed 2 에 오신 것을 환영합니다</metadata>
+    <defaults layout-decorator="bootstrap-red" portlet-decorator='bootstrap'></defaults>
+</page>

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/iframe.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/iframe.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/iframe.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/iframe.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/responsive/iframe.psml" hidden="false">
+    <title>IFrame</title>
+    <short-title>IFrame</short-title>
+    <fragment id="P-14bad0a64bd-10008" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="P-14bad0ae8bb-10009" type="portlet" name="webcontent2::ReverseProxyIFramePortlet2">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+    </fragment>
+    <defaults layout-decorator="bootstrap" portlet-decorator='bootstrap'></defaults>
+</page>
\ No newline at end of file

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/logins.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/logins.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/logins.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/logins.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/test/logins.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>public-view</security-constraints-ref>
+    </security-constraints>
+    <title>Logins Gray</title>
+    <short-title>Logins</short-title>
+    <fragment id="logins-layout" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="logins-0" type="portlet" name="j2-admin::LoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="logins-2" type="portlet" name="j2-admin::OpenIDLoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="logins-3" type="portlet" name="j2-admin::PortalLoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="2"></property>
+        </fragment>
+    </fragment>
+    <defaults layout-decorator="bootstrap-green" portlet-decorator="bootstrap"></defaults>
+
+</page>
\ No newline at end of file

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/my-account2.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/my-account2.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/my-account2.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/my-account2.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<page id="my-account2"
+    xmlns="http://portals.apache.org/jetspeed"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://portals.apache.org/jetspeed http://portals.apache.org/jetspeed-2/2.2/schemas/psml.xsd">
+
+  <title>My Account2</title>
+  <metadata name="title" xml:lang="ja">アカウント</metadata>
+  <metadata name="title" xml:lang="es">Mi cuenta</metadata>
+  <metadata name="title" xml:lang="hu">Személyes beállítások</metadata>
+  <metadata name="title" xml:lang="zh">我的帐户配置</metadata>
+  <metadata name="title" xml:lang="zh-TW">我的帳戶配置</metadata>
+  <metadata name="title" xml:lang="ko">내 계정</metadata>
+
+  <fragment id="xxxpwd-1" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+    <fragment id="xxxpwd-2" type="portlet" name="j2-admin::ChangePasswordPortlet">
+      <property name="row" value="0" />
+      <property name="column" value="0" />
+    </fragment>
+        <fragment id="xxxpwd-34" type="portlet" name="j2-admin::SSOChangePasswordPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>    
+   </fragment>
+    <defaults layout-decorator="bootstrap-red" portlet-decorator="bootstrap"></defaults>
+
+</page>

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/nested.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/nested.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/nested.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/nested.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/nested.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>public-view</security-constraints-ref>
+    </security-constraints>
+    <title>Nested Demo</title>
+    <short-title>Nested</short-title>
+    <fragment id="nested-2" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="nested-6" type="portlet" name="j2-admin::ProfilerAdmin">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="nested-4" type="portlet" name="j2-admin::LocaleSelector">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="nested-22" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+            <property name="row" value="1"></property>
+            <property name="column" value="0"></property>
+            <fragment id="nested-220" type="portlet" name="j2-admin::LoginPortlet">
+                <property name="row" value="0"></property>
+                <property name="column" value="0"></property>
+            </fragment>
+            <fragment id="nested-221" type="portlet" name="j2-admin::ForgottenPasswordPortlet">
+                <property name="row" value="0"></property>
+                <property name="column" value="1"></property>
+            </fragment>
+        </fragment>
+        <fragment id="nested-8" type="portlet" name="j2-admin::PortalLoginPortlet">
+            <property name="row" value="1"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="nested-9" type="portlet" name="j2-admin::OpenIDLoginPortlet">
+            <property name="row" value="2"></property>
+            <property name="column" value="0"></property>
+        </fragment>        
+        <fragment id="nested-7" type="portlet" name="j2-admin::UserRegistrationPortlet">
+            <property name="row" value="2"></property>
+            <property name="column" value="1"></property>
+        </fragment>        
+    </fragment>
+    
+    <defaults layout-decorator="bootstrap-blue" portlet-decorator='bootstrap'></defaults>
+</page>

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/registration.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/registration.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/registration.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/registration.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/registration.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>guest-only</security-constraints-ref>
+    </security-constraints>
+    <title>Registration</title>
+    <short-title>Registration</short-title>
+    <fragment id="jsreg-1" type="layout" name="jetspeed-layouts::VelocityOneColumn">
+        <fragment id="jsreg-2" type="portlet" name="j2-admin::UserRegistrationPortlet">
+            <property name="row" value="1"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+    </fragment>
+    <defaults layout-decorator="bootstrap" portlet-decorator='bootstrap'></defaults>
+</page>
\ No newline at end of file

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/responsive-blue.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/responsive-blue.psml?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/responsive-blue.psml (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/responsive/responsive-blue.psml Fri Feb 27 18:57:03 2015
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<page id="/test/responsive-blue.psml" hidden="false">
+    <security-constraints>
+        <security-constraints-ref>public-view</security-constraints-ref>
+    </security-constraints>
+    <title>Responsive Blue</title>
+    <short-title>ResponsiveBlue</short-title>
+    <fragment id="blue-layout" type="layout" name="jetspeed-layouts::ResponsiveLayout">
+        <fragment id="blue-0" type="portlet" name="j2-admin::LoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="0"></property>
+        </fragment>
+        <fragment id="blue-2" type="portlet" name="j2-admin::OpenIDLoginPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="1"></property>
+        </fragment>
+        <fragment id="blue-3" type="portlet" name="j2-admin::LocaleSelector">
+            <property name="row" value="0"></property>
+            <property name="column" value="2"></property>
+        </fragment>
+        <fragment id="blue-4" type="portlet" name="j2-admin::ForgottenPasswordPortlet">
+            <property name="row" value="0"></property>
+            <property name="column" value="3"></property>
+        </fragment>
+    </fragment>
+    <defaults layout-decorator="bootstrap-blue" portlet-decorator="bootstrap"></defaults>
+</page>
\ No newline at end of file

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.properties?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.properties (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.properties Fri Feb 27 18:57:03 2015
@@ -0,0 +1,27 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+id=max-responsive
+
+#: BEGIN comment for JSP
+template.type=velocity
+template.extension=.vm
+#: END comment for JSP
+
+#: BEGIN uncomment for JSP
+#template.type=JSP
+#template.extension=.jsp
+#: END uncomment for JSP
+

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.vm?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.vm (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/max-responsive/layout.vm Fri Feb 27 18:57:03 2015
@@ -0,0 +1,34 @@
+#*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*#
+#set($myPage = $jetspeed.page)
+#set($f = $request.getAttribute("org.apache.jetspeed.maximized.Fragment"))
+#set($rootFragment = $myPage.rootFragment)
+#set($messages = $portletConfig.getResourceBundle($renderRequest.Locale))
+
+#if ($rootFragment.decoration.header)
+   #parse($rootFragment.decoration.header)
+#end
+
+  ## get the decorated Portlet content
+  <div id="portal-layout-$htmlUtil.getSafeElementId($myPage.id)" class="portal-layout-maxed">
+    $jetspeed.setCurrentFragment($f)    
+    #parse($f.decoration.template)
+  </div>
+  
+#if ($rootFragment.decoration.footer)
+  #parse($rootFragment.decoration.footer)
+#end

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.properties?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.properties (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.properties Fri Feb 27 18:57:03 2015
@@ -0,0 +1,26 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+id=responsive
+
+#: BEGIN comment for JSP
+template.type=velocity
+template.extension=.vm
+#: END comment for JSP
+
+#: BEGIN uncomment for JSP
+#template.type=JSP
+#template.extension=.jsp
+#: END uncomment for JSP

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.vm?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.vm (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/layout.vm Fri Feb 27 18:57:03 2015
@@ -0,0 +1,172 @@
+#*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*#
+#set($theme = $request.getAttribute("org.apache.jetspeed.theme"))
+#set($sizes = $jetspeed.columnSizes)
+#set($myPage = $jetspeed.page)
+#set($myFragment = $jetspeed.currentFragment)
+#set($decorator = $myPage.getDefaultDecorator($myFragment.getType()))
+#set($actions = $myFragment.decoration.actions)
+#set($messages = $portletConfig.getResourceBundle($renderRequest.Locale))
+#set($rootDecorator = $myPage.getRootFragment().decoration)
+
+#if($myFragment.getDecorator())
+  #set($decorator = $myFragment.getDecorator())
+#end
+
+#if($myFragment == $myPage.getRootFragment())
+  #set($isRoot=true)
+#end
+
+#if($request.getAttribute("editing") == true)
+  #set($editing = true)
+  #set($lastColumn = $renderRequest.getAttribute("numberOfColumns") - 1)
+#end
+
+## Decorator  $decorator  ${decoTop} - ${decoBottom}
+#if ($isRoot)
+  #parse($myFragment.decoration.header)
+  #set($layoutClass = "portal-nested-layout")
+#else
+  #defineLayoutObjects()
+  #set($layoutClass = "portal-layout")
+#end
+
+#set($layoutType =$portletConfig.getInitParameter("layoutType"))
+#set($columnLayout = $renderRequest.getAttribute("columnLayout"))
+#set($decorationFactory = $renderRequest.getAttribute("decorationFactory"))
+#set($rc = $renderRequest.getAttribute("org.apache.jetspeed.request.RequestContext"))
+#set($psrc = $rc.getAttribute("org.apache.jetspeed.portalsite.PortalSiteRequestContext"))
+#set($profiledPage = $psrc.PageOrTemplate.Path)
+
+<div id="$renderResponse.namespace" class="container-fluid ${layoutClass} ${layoutClass}-${layoutType}">
+
+  #set ($dcnt = 0)
+  #set ($columnIndex = 0)
+  #set ($columnCounter = 0)
+  #set ($originalColumnNumber = $columnLayout.getNumberOfColumns())
+  #set ($perDesktopColumn = 12 / $originalColumnNumber)
+  #set ($perTabletColumn = 12 / $originalColumnNumber * 2)
+  #set ($perMobileColumn = 12)
+
+<div class="row" rel="$originalColumnNumber">
+  #foreach($column in $columnLayout.columns)
+    #if(($columnCounter == 2) && ($originalColumnNumber > 2))
+        <br class="visible-sm-block" style="clear: both" />
+    #end
+    #if($columnCounter == $originalColumnNumber)
+      #set ($columnCounter = 0)
+    </div><div class="row">
+    #end
+
+      <div id="column_${myFragment.getId()}_${columnIndex}"
+           class="col-xs-$perMobileColumn col-sm-$perTabletColumn col-md-$perDesktopColumn col-lg-$perDesktopColumn portal-layout-column portal-layout-column-${layoutType}-${columnIndex}">
+        #foreach($f in $column)
+        ## Set up coordinates for this fragment
+          #set($coords = $columnLayout.getCoordinate($f))
+          #set($col = $coords.x)
+          #set($lastRow = $columnLayout.getLastRowNumber($col))
+          #set($row = $coords.y)
+
+            <div id='$f.id' name='$f.name' column='${col}' row='${row}' class="portal-layout-cell portal-layout-cell-${layoutType}-${row}-${col}" >
+
+              #if($f.isLocked() == false)
+
+              ## get the decorated Portlet content
+
+              ## editing block
+                #if($editing)
+                    <div class="portlet-edit-bar">
+                      #set ($dcnt = $dcnt + 1)
+                        <form name="$form$dcnt" action="$formAction" method='post'>
+                            <input type="hidden" name="fragment" value="$f.id">
+                            <input type="hidden" name="move" value="">
+                            <input type="hidden" name="remove" value="">
+                          #if($f.type == "portlet")
+                            #set($fragmentType="Portlet")
+                            #if($allowChangePortletDecorator)
+                                <select id='decorator' name='decorator' onChange="$form$dcnt$submit">
+                                <option value=''>
+                                  #set ($fd = "")
+                                  #if ($f.Decorator)
+                                    #set ($fd = $f.Decorator)
+                                  #end
+                                  #foreach($pd in $decorationFactory.getPortletDecorations($rc))
+                                  <option value='$pd' #if ($pd == $fd) SELECTED #end>$pd
+                    #end
+                                </select>
+                            #end
+                          #else
+                            #set($fragmentType="Layout")
+                          #end
+                        ## Move portlet left
+                          #if($lastColumn > 0 && $col > 0)
+                              <a href="#" onClick="${form}${dcnt}.move.value='3';$form$dcnt$submit;return false;" class="move-portlet-left">
+                                  <img src="#GetPageResource('images/movePortletLeft.gif')" border="0" title="$messages.getString("portal.page.editing.move${fragmentType}Left")"/>
+                              </a>
+                          #end
+                        ## Move portlet up
+                          #if($row > 0)
+                              <a href="#" onClick="${form}${dcnt}.move.value='1';$form$dcnt$submit;return false;" class="move-portlet-up">
+                                  <img src="#GetPageResource('images/movePortletUp.gif')" border="0" title="$messages.getString("portal.page.editing.move${fragmentType}Up")"/>
+                              </a>
+                          #end
+                        ## Remove portlet from page
+                            <a href="#" onClick="${form}${dcnt}.remove.value='y';$form$dcnt$submit;return false;" class="remove-portlet-from-apge">
+                                <img src="#GetPageResource('images/close.gif')" border="0" title="$messages.getString("portal.page.editing.remove${fragmentType}")"/>
+                            </a>
+                        ## Move portlet down
+                          #if($row < $lastRow)
+                              <a href="#" onClick="${form}${dcnt}.move.value='2';$form$dcnt$submit;return false;" class="move-portlet-down">
+                                  <img src="#GetPageResource('images/movePortletDown.gif')" border="0" title="$messages.getString("portal.page.editing.move${fragmentType}Down")"/>
+                              </a>
+                          #end
+                        ## Move portlet right
+                          #if($lastColumn > 0 && $col < $lastColumn)
+                              <a href="#" onClick="${form}${dcnt}.move.value='4';$form$dcnt$submit;return false;" class="move-portlet-right">
+                                  <img src="#GetPageResource('images/movePortletRight.gif')" border="0" title="$messages.getString("portal.page.editing.move${fragmentType}Right")"/>
+                              </a>
+                          #end
+                        </form>
+                    </div>
+                #end
+              #end
+            ## Now get the real content
+              $jetspeed.setCurrentFragment($f)
+
+              #if($f.type == "portlet")
+                #parse($f.decoration.template)
+              #else
+                $f.renderedContent
+              #end
+            </div>
+        #end
+
+
+      </div>
+    #set ($columnIndex = $columnIndex + 1)
+    #set ($columnCounter = $columnCounter + 1)
+  #end
+</div>
+</div>
+<br style="clear:both;" class="hidden-xs" />
+#if ($isRoot)
+<form name='portletform' action="" method="post" class="hidden">
+    <input type='hidden' name='portlets'/>
+    <input type='hidden' name='page' value='$myPage'/>
+</form>
+  #parse($myFragment.decoration.footer)
+#end

Added: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/responsive.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/responsive.vm?rev=1662792&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/responsive.vm (added)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/responsive/responsive.vm Fri Feb 27 18:57:03 2015
@@ -0,0 +1,172 @@
+#*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*#
+#set($theme = $request.getAttribute("org.apache.jetspeed.theme"))
+#set($sizes = $jetspeed.columnSizes)
+#set($myPage = $jetspeed.page)
+#set($myFragment = $jetspeed.currentFragment)
+#set($decorator = $myPage.getDefaultDecorator($myFragment.getType()))
+#set($actions = $myFragment.decoration.actions)
+#set($messages = $portletConfig.getResourceBundle($renderRequest.Locale))
+#set($rootDecorator = $myPage.getRootFragment().decoration)
+
+#if($myFragment.getDecorator())
+  #set($decorator = $myFragment.getDecorator())
+#end
+
+#if($myFragment == $myPage.getRootFragment())
+  #set($isRoot=true)
+#end
+
+#if($request.getAttribute("editing") == true)
+  #set($editing = true)
+  #set($lastColumn = $renderRequest.getAttribute("numberOfColumns") - 1)
+#end
+
+## Decorator  $decorator  ${decoTop} - ${decoBottom}
+#if ($isRoot)
+  #parse($myFragment.decoration.header)
+  #set($layoutClass = "portal-nested-layout")
+#else
+  #defineLayoutObjects()
+  #set($layoutClass = "portal-layout")
+#end
+
+#set($layoutType =$portletConfig.getInitParameter("layoutType"))
+#set($columnLayout = $renderRequest.getAttribute("columnLayout"))
+#set($decorationFactory = $renderRequest.getAttribute("decorationFactory"))
+#set($rc = $renderRequest.getAttribute("org.apache.jetspeed.request.RequestContext"))
+#set($psrc = $rc.getAttribute("org.apache.jetspeed.portalsite.PortalSiteRequestContext"))
+#set($profiledPage = $psrc.PageOrTemplate.Path)
+
+<div id="$renderResponse.namespace" class="container-fluid ${layoutClass} ${layoutClass}-${layoutType}">
+
+  #set ($dcnt = 0)
+  #set ($columnIndex = 0)
+  #set ($columnCounter = 0)
+  #set ($originalColumnNumber = $columnLayout.getNumberOfColumns())
+  #set ($perDesktopColumn = 12 / $originalColumnNumber)
+  #set ($perTabletColumn = 12 / $originalColumnNumber * 2)
+  #set ($perMobileColumn = 12)
+
+<div class="row" rel="$originalColumnNumber">
+  #foreach($column in $columnLayout.columns)
+    #if(($columnCounter == 2) && ($originalColumnNumber > 2))
+        <br class="visible-sm-block" style="clear: both" />
+    #end
+    #if($columnCounter == $originalColumnNumber)
+      #set ($columnCounter = 0)
+    </div><div class="row">
+    #end
+
+      <div id="column_${myFragment.getId()}_${columnIndex}"
+           class="col-xs-$perMobileColumn col-sm-$perTabletColumn col-md-$perDesktopColumn col-lg-$perDesktopColumn portal-layout-column portal-layout-column-${layoutType}-${columnIndex}">
+        #foreach($f in $column)
+        ## Set up coordinates for this fragment
+          #set($coords = $columnLayout.getCoordinate($f))
+          #set($col = $coords.x)
+          #set($lastRow = $columnLayout.getLastRowNumber($col))
+          #set($row = $coords.y)
+
+            <div id='$f.id' name='$f.name' column='${col}' row='${row}' class="portal-layout-cell portal-layout-cell-${layoutType}-${row}-${col}" >
+
+              #if($f.isLocked() == false)
+
+              ## get the decorated Portlet content
+
+              ## editing block
+                #if($editing)
+                    <div class="portlet-edit-bar">
+                      #set ($dcnt = $dcnt + 1)
+                        <form name="$form$dcnt" action="$formAction" method='post'>
+                            <input type="hidden" name="fragment" value="$f.id">
+                            <input type="hidden" name="move" value="">
+                            <input type="hidden" name="remove" value="">
+                          #if($f.type == "portlet")
+                            #set($fragmentType="Portlet")
+                            #if($allowChangePortletDecorator)
+                                <select id='decorator' name='decorator' onChange="$form$dcnt$submit">
+                                <option value=''>
+                                  #set ($fd = "")
+                                  #if ($f.Decorator)
+                                    #set ($fd = $f.Decorator)
+                                  #end
+                                  #foreach($pd in $decorationFactory.getPortletDecorations($rc))
+                                  <option value='$pd' #if ($pd == $fd) SELECTED #end>$pd
+                    #end
+                                </select>
+                            #end
+                          #else
+                            #set($fragmentType="Layout")
+                          #end
+                        ## Move portlet left
+                          #if($lastColumn > 0 && $col > 0)
+                              <a href="#" onClick="${form}${dcnt}.move.value='3';$form$dcnt$submit;return false;" class="move-portlet-left">
+                                  <img src="#GetPageResource('images/movePortletLeft.gif')" border="0" title="$messages.getString("portal.page.editing.move${fragmentType}Left")"/>
+                              </a>
+                          #end
+                        ## Move portlet up
+                          #if($row > 0)
+                              <a href="#" onClick="${form}${dcnt}.move.value='1';$form$dcnt$submit;return false;" class="move-portlet-up">
+                                  <img src="#GetPageResource('images/movePortletUp.gif')" border="0" title="$messages.getString("portal.page.editing.move${fragmentType}Up")"/>
+                              </a>
+                          #end
+                        ## Remove portlet from page
+                            <a href="#" onClick="${form}${dcnt}.remove.value='y';$form$dcnt$submit;return false;" class="remove-portlet-from-apge">
+                                <img src="#GetPageResource('images/close.gif')" border="0" title="$messages.getString("portal.page.editing.remove${fragmentType}")"/>
+                            </a>
+                        ## Move portlet down
+                          #if($row < $lastRow)
+                              <a href="#" onClick="${form}${dcnt}.move.value='2';$form$dcnt$submit;return false;" class="move-portlet-down">
+                                  <img src="#GetPageResource('images/movePortletDown.gif')" border="0" title="$messages.getString("portal.page.editing.move${fragmentType}Down")"/>
+                              </a>
+                          #end
+                        ## Move portlet right
+                          #if($lastColumn > 0 && $col < $lastColumn)
+                              <a href="#" onClick="${form}${dcnt}.move.value='4';$form$dcnt$submit;return false;" class="move-portlet-right">
+                                  <img src="#GetPageResource('images/movePortletRight.gif')" border="0" title="$messages.getString("portal.page.editing.move${fragmentType}Right")"/>
+                              </a>
+                          #end
+                        </form>
+                    </div>
+                #end
+              #end
+            ## Now get the real content
+              $jetspeed.setCurrentFragment($f)
+
+              #if($f.type == "portlet")
+                #parse($f.decoration.template)
+              #else
+                $f.renderedContent
+              #end
+            </div>
+        #end
+
+
+      </div>
+    #set ($columnIndex = $columnIndex + 1)
+    #set ($columnCounter = $columnCounter + 1)
+  #end
+</div>
+</div>
+<br style="clear:both;" class="hidden-xs" />
+#if ($isRoot)
+<form name='portletform' action="" method="post" class="hidden">
+    <input type='hidden' name='portlets'/>
+    <input type='hidden' name='page' value='$myPage'/>
+</form>
+  #parse($myFragment.decoration.footer)
+#end



---------------------------------------------------------------------
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