From 8602e9a7131152b537139cec39ce9e28c1d1b674 Mon Sep 17 00:00:00 2001 From: owen Date: Tue, 12 Jul 2011 09:55:12 +0000 Subject: [PATCH] Added: wflow-consoleweb - RTL support (#252) git-svn-id: http://dev.joget.org/svn/jw-community/trunk@33 1bff935d-2fe2-40b7-b00f-c2aca69a7612 --- .../WEB-INF/jsp/client/app/formView.jsp | 10 + .../WEB-INF/jsp/console/apps/appTitle.jsp | 2 +- .../WEB-INF/jsp/console/apps/processView.jsp | 12 +- .../jsp/console/plugin/pluginConfig.jsp | 9 + .../WEB-INF/jsp/console/setting/general.jsp | 18 +- .../webapp/WEB-INF/jsp/dbuilder/builder.jsp | 13 +- .../WEB-INF/jsp/fbuilder/formBuilder.jsp | 15 +- .../WEB-INF/jsp/fbuilder/previewForm.jsp | 11 + .../main/webapp/WEB-INF/jsp/includes/rtl.jsp | 4 +- .../webapp/WEB-INF/jsp/ubuilder/builder.jsp | 14 +- .../webapp/WEB-INF/jsp/ubuilder/login.jsp | 13 +- .../webapp/WEB-INF/jsp/ubuilder/preview.jsp | 12 +- .../main/webapp/WEB-INF/jsp/ubuilder/view.jsp | 13 +- .../webapp/WEB-INF/tags/commons/header.tag | 3 +- .../src/main/webapp/css/builder_rtl.css | 170 +++++++++++++++ .../src/main/webapp/css/form_rtl.css | 18 ++ .../webapp/css/jquery.propertyeditor_rtl.css | 49 +++++ wflow-consoleweb/src/main/webapp/css/rtl.css | 203 ++++++++++++++++++ .../src/main/webapp/css/userview.css | 23 ++ .../v3/builder/steps_active_next_rtl.gif | Bin 0 -> 2430 bytes .../v3/builder/steps_arrow_active_rtl.gif | Bin 0 -> 2084 bytes .../v3/builder/steps_arrow_inactive_rtl.gif | Bin 0 -> 2415 bytes .../console/menu_arrow_end_selected_rtl.png | Bin 0 -> 2332 bytes .../console/menu_arrow_front_selected_rtl.png | Bin 0 -> 2385 bytes .../images/v3/console/menu_arrow_rtl.png | Bin 0 -> 2217 bytes .../images/v3/console/menu_first_rtl.png | Bin 0 -> 1357 bytes .../images/v3/console/menu_last_rtl.png | Bin 0 -> 1326 bytes .../v3/console/menu_selected_first_rtl.png | Bin 0 -> 1352 bytes .../v3/console/menu_selected_last_rtl.png | Bin 0 -> 1348 bytes .../v3/console/right-next-selected_rtl.png | Bin 0 -> 2301 bytes .../images/v3/console/right-selected_rtl.png | Bin 0 -> 2287 bytes .../images/v3/console/right_nav_activebar.png | Bin 0 -> 1586 bytes .../webapp/images/v3/right-selected_rtl.png | 0 33 files changed, 579 insertions(+), 33 deletions(-) create mode 100644 wflow-consoleweb/src/main/webapp/css/builder_rtl.css create mode 100644 wflow-consoleweb/src/main/webapp/css/form_rtl.css create mode 100755 wflow-consoleweb/src/main/webapp/css/jquery.propertyeditor_rtl.css create mode 100644 wflow-consoleweb/src/main/webapp/css/rtl.css create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/builder/steps_active_next_rtl.gif create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/builder/steps_arrow_active_rtl.gif create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/builder/steps_arrow_inactive_rtl.gif create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/menu_arrow_end_selected_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/menu_arrow_front_selected_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/menu_arrow_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/menu_first_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/menu_last_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/menu_selected_first_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/menu_selected_last_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/right-next-selected_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/right-selected_rtl.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/console/right_nav_activebar.png create mode 100644 wflow-consoleweb/src/main/webapp/images/v3/right-selected_rtl.png diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/client/app/formView.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/client/app/formView.jsp index 2403aa23f..563ee1524 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/client/app/formView.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/client/app/formView.jsp @@ -1,9 +1,19 @@ <%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page import="org.joget.workflow.util.WorkflowUtil"%> + +<% + String rightToLeft = WorkflowUtil.getSystemSetupValue("rightToLeft"); + pageContext.setAttribute("rightToLeft", rightToLeft); +%> + + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/processView.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/processView.jsp index 0298468ac..b27ea348d 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/processView.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/processView.jsp @@ -28,7 +28,7 @@
-

:    ${process.name} 

+

:    ${process.name} 

@@ -86,7 +86,7 @@ ${participant.name} - : ${participant.id} + : ${participant.id} " onclick="addEditParticipant('${participant.id}')"/> @@ -130,13 +130,13 @@ ${participantDisplayName} - :
+ :
- : + : ${participantMap[participantUid].value} @@ -195,7 +195,7 @@ ${activityDisplayName} (${activity.type})
- : ${activity.id} + : ${activity.id} " onclick="addEditForm('${activity.id}')"/> @@ -258,7 +258,7 @@ ${activityDisplayName} - : ${activity.id} + : ${activity.id} " onclick="addEditPlugin('${activity.id}')"/> diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/plugin/pluginConfig.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/plugin/pluginConfig.jsp index ef687f189..0aea1264c 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/plugin/pluginConfig.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/plugin/pluginConfig.jsp @@ -1,4 +1,10 @@ <%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page import="org.joget.workflow.util.WorkflowUtil"%> + +<% + String rightToLeft = WorkflowUtil.getSystemSetupValue("rightToLeft"); + pageContext.setAttribute("rightToLeft", rightToLeft); +%> @@ -8,6 +14,9 @@ + + +
diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/general.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/general.jsp index f8b90e676..bba33c301 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/general.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/general.jsp @@ -47,7 +47,7 @@ - ${pageContext.request.contextPath}/css/new.css + ${pageContext.request.contextPath}/css/new.css
@@ -75,7 +75,7 @@
- en_US + en_US
@@ -101,7 +101,7 @@ - 0 + 0
@@ -112,7 +112,7 @@ - 3 + 3 @@ -136,7 +136,7 @@ - - + - @@ -147,7 +147,7 @@ - <%= new java.io.File(SetupManager.getBaseDirectory()).getAbsolutePath() %> + <%= new java.io.File(SetupManager.getBaseDirectory()).getAbsolutePath() %> @@ -158,7 +158,7 @@ - http://${pageContext.request.serverName}:${pageContext.request.serverPort} + http://${pageContext.request.serverName}:${pageContext.request.serverPort} @@ -181,7 +181,7 @@ - 20 + 20 @@ -192,7 +192,7 @@ - 50 + 50 diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/dbuilder/builder.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/dbuilder/builder.jsp index 6ba9535be..01cfa90e4 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/dbuilder/builder.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/dbuilder/builder.jsp @@ -1,4 +1,11 @@ <%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page import="org.joget.workflow.util.WorkflowUtil"%> + +<% + String rightToLeft = WorkflowUtil.getSystemSetupValue("rightToLeft"); + pageContext.setAttribute("rightToLeft", rightToLeft); +%> + @@ -18,6 +25,10 @@ + + + + - +
diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/formBuilder.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/formBuilder.jsp index d56454f52..2030a7f38 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/formBuilder.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/formBuilder.jsp @@ -1,4 +1,11 @@ <%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page import="org.joget.workflow.util.WorkflowUtil"%> + +<% + String rightToLeft = WorkflowUtil.getSystemSetupValue("rightToLeft"); + pageContext.setAttribute("rightToLeft", rightToLeft); +%> + @@ -16,6 +23,12 @@ + + + + + + - +
diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/previewForm.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/previewForm.jsp index f8c0dab70..94c263fc9 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/previewForm.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/previewForm.jsp @@ -1,9 +1,20 @@ <%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page import="org.joget.workflow.util.WorkflowUtil"%> + +<% + String rightToLeft = WorkflowUtil.getSystemSetupValue("rightToLeft"); + pageContext.setAttribute("rightToLeft", rightToLeft); +%> + + + + + - +
logo
diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/ubuilder/login.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/ubuilder/login.jsp index 9f91da3ce..37d78208f 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/ubuilder/login.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/ubuilder/login.jsp @@ -1,10 +1,15 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page import="org.joget.workflow.util.WorkflowUtil"%> <%@page contentType="text/html" pageEncoding="windows-1252"%> + +<% + String rightToLeft = WorkflowUtil.getSystemSetupValue("rightToLeft"); + pageContext.setAttribute("rightToLeft", rightToLeft); +%> + -<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> -<%@ page import="org.joget.workflow.util.WorkflowUtil"%> - @@ -40,7 +45,7 @@ - class="embeded"> + embeded rtl">