You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by vd...@apache.org on 2013/07/04 13:45:40 UTC

svn commit: r1499728 - in /openmeetings/trunk/singlewebapp: WebContent/openmeetings/css/theme.css src/org/apache/openmeetings/web/admin/labels/LangPanel.html

Author: vdegtyarev
Date: Thu Jul  4 11:45:40 2013
New Revision: 1499728

URL: http://svn.apache.org/r1499728
Log:
OPENMEETINGS-642 : Style of Import button is changed

Modified:
    openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css
    openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/admin/labels/LangPanel.html

Modified: openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css?rev=1499728&r1=1499727&r2=1499728&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css (original)
+++ openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css Thu Jul  4 11:45:40 2013
@@ -642,7 +642,6 @@ div.tableWrapperSmall {
 	margin-left: 60px;
 }
 .profile {
-	display: inline-block;
 	position: relative;
 }
 .profile .upload, .profile .uploadtext {
@@ -659,6 +658,13 @@ div.tableWrapperSmall {
 	font-weight: bold;
 	color: blue;
 }
+
+.profile .uploadlang {
+	text-align: center;
+	font-size: 16px;
+	padding: 0.4em 1em;
+}
+
 .profile .upload {
 	z-index: 100;
 	cursor: pointer;

Modified: openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/admin/labels/LangPanel.html
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/admin/labels/LangPanel.html?rev=1499728&r1=1499727&r2=1499728&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/admin/labels/LangPanel.html (original)
+++ openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/admin/labels/LangPanel.html Thu Jul  4 11:45:40 2013
@@ -34,6 +34,9 @@
                 $('#adminForm').height(documentHeight-114);
                 $('#adminTable').height(documentHeight-164);
 			};
+			function fileDialog() {
+				$('#fileInput').click();
+			}
 		</script>
 		<div class="adminPanel">
 			<div class="adminPanelColumnTable">
@@ -54,8 +57,8 @@
 								<input wicket:id="export" type="button" wicket:ommessage="value:360"/>
 							</td>
 							<td class="profile">
-								<div 
-									class="uploadtext"><wicket:ommessage key="387"/></div><div class="upload"><input type="file"
+								<div id="fileLangBtn" onclick="fileDialog();"
+									class="uploadlang ui-button ui-widget ui-state-default ui-corner-all"><wicket:ommessage key="387"/></div><div class="upload"><input id="fileInput" type="file"
 										accept="text/xml" wicket:id="fileInput"/><span wicket:id="progress">[progressbar]</span>
 								</div>
 							</td>