You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2015/02/11 13:57:01 UTC

svn commit: r1658946 - in /openmeetings: branches/3.0.x/src/main/webapp/css/ branches/3.0.x/src/web/java/org/apache/openmeetings/web/pages/ trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/ trunk/singlewebapp/openmeet...

Author: solomax
Date: Wed Feb 11 12:57:00 2015
New Revision: 1658946

URL: http://svn.apache.org/r1658946
Log:
[OPENMEETINGS-1162, OPENMEETINGS-1164, OPENMEETINGS-1165, OPENMEETINGS-1166, OPENMEETINGS-1167] RTL in admin panel is improved

Added:
    openmeetings/branches/3.0.x/src/main/webapp/css/admin-rtl.css
    openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin-rtl.css
Modified:
    openmeetings/branches/3.0.x/src/main/webapp/css/theme-rtl.css
    openmeetings/branches/3.0.x/src/main/webapp/css/theme.css
    openmeetings/branches/3.0.x/src/web/java/org/apache/openmeetings/web/pages/BasePage.java
    openmeetings/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/BasePage.java
    openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin.css
    openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme-rtl.css
    openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme.css

Added: openmeetings/branches/3.0.x/src/main/webapp/css/admin-rtl.css
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/src/main/webapp/css/admin-rtl.css?rev=1658946&view=auto
==============================================================================
--- openmeetings/branches/3.0.x/src/main/webapp/css/admin-rtl.css (added)
+++ openmeetings/branches/3.0.x/src/main/webapp/css/admin-rtl.css Wed Feb 11 12:57:00 2015
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+.adminForm label, .adminForm input, .adminForm select, .adminForm textarea, .adminForm .input {
+	float: right !important;
+}

Modified: openmeetings/branches/3.0.x/src/main/webapp/css/theme-rtl.css
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/src/main/webapp/css/theme-rtl.css?rev=1658946&r1=1658945&r2=1658946&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/src/main/webapp/css/theme-rtl.css (original)
+++ openmeetings/branches/3.0.x/src/main/webapp/css/theme-rtl.css Wed Feb 11 12:57:00 2015
@@ -44,3 +44,8 @@
 .ui-tabs .ui-tabs-nav li {
 	float: right !important;
 }
+.info-text {
+	background-position: right top !important;
+	padding-left: initial !important;
+	padding-right: 20px;
+}
\ No newline at end of file

Modified: openmeetings/branches/3.0.x/src/main/webapp/css/theme.css
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/src/main/webapp/css/theme.css?rev=1658946&r1=1658945&r2=1658946&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/src/main/webapp/css/theme.css (original)
+++ openmeetings/branches/3.0.x/src/main/webapp/css/theme.css Wed Feb 11 12:57:00 2015
@@ -175,6 +175,7 @@ html, body {
 
 .searchForm {
 	display: inline-block;
+	vertical-align: top;
 }
 
 .pagedEntityListPanel select, .adminForm .pagedEntityListPanel select {
@@ -527,7 +528,7 @@ select.messages.selector {
 .info-text {
 	background-image: url(images/information.png);
 	background-repeat: no-repeat;
-	background-position: 2px 2px;
+	background-position: left top;
 	cursor: default;
 	border: none;
 	padding-left: 20px;

Modified: openmeetings/branches/3.0.x/src/web/java/org/apache/openmeetings/web/pages/BasePage.java
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/src/web/java/org/apache/openmeetings/web/pages/BasePage.java?rev=1658946&r1=1658945&r2=1658946&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/src/web/java/org/apache/openmeetings/web/pages/BasePage.java (original)
+++ openmeetings/branches/3.0.x/src/web/java/org/apache/openmeetings/web/pages/BasePage.java Wed Feb 11 12:57:00 2015
@@ -91,6 +91,7 @@ public abstract class BasePage extends A
 		if (rtl) {
 			response.render(CssHeaderItem.forUrl("css/theme-rtl.css"));
 			response.render(CssHeaderItem.forUrl("css/calendar-rtl.css"));
+			response.render(CssHeaderItem.forUrl("css/admin-rtl.css"));
 		}
 	}
 }

Modified: openmeetings/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/BasePage.java
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/BasePage.java?rev=1658946&r1=1658945&r2=1658946&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/BasePage.java (original)
+++ openmeetings/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/BasePage.java Wed Feb 11 12:57:00 2015
@@ -86,6 +86,7 @@ public abstract class BasePage extends A
 		if (isRtl()) {
 			response.render(CssHeaderItem.forUrl("css/theme-rtl.css"));
 			response.render(CssHeaderItem.forUrl("css/calendar-rtl.css"));
+			response.render(CssHeaderItem.forUrl("css/admin-rtl.css"));
 		}
 	}
 }

Added: openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin-rtl.css
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin-rtl.css?rev=1658946&view=auto
==============================================================================
--- openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin-rtl.css (added)
+++ openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin-rtl.css Wed Feb 11 12:57:00 2015
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+.adminForm label, .adminForm input, .adminForm select, .adminForm textarea, .adminForm .input {
+	float: right !important;
+}

Modified: openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin.css
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin.css?rev=1658946&r1=1658945&r2=1658946&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin.css (original)
+++ openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/admin.css Wed Feb 11 12:57:00 2015
@@ -274,6 +274,14 @@ table.adminListTable td div.four_column_
 	height: 20px;
 	margin: 2px 2px;
 }
+.adminForm .input {
+	display: block;
+	float: left;
+	font-size: 14px;
+	padding: 0px 0px;
+	width: 280px;
+	margin: 2px 2px;
+}
 .adminForm input[type=checkbox], .adminForm input[type=radio] {
 	width: auto;
 }

Modified: openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme-rtl.css
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme-rtl.css?rev=1658946&r1=1658945&r2=1658946&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme-rtl.css (original)
+++ openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme-rtl.css Wed Feb 11 12:57:00 2015
@@ -44,3 +44,8 @@
 .ui-tabs .ui-tabs-nav li {
 	float: right !important;
 }
+.info-text {
+	background-position: right top !important;
+	padding-left: initial !important;
+	padding-right: 20px;
+}
\ No newline at end of file

Modified: openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme.css
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme.css?rev=1658946&r1=1658945&r2=1658946&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme.css (original)
+++ openmeetings/trunk/singlewebapp/openmeetings-web/src/main/webapp/css/theme.css Wed Feb 11 12:57:00 2015
@@ -139,6 +139,7 @@ html, body {
 
 .searchForm {
 	display: inline-block;
+	vertical-align: top;
 }
 
 .pagedEntityListPanel select, .adminForm .pagedEntityListPanel select {