diff --git a/workflow/config/WorkflowUiLabels.xml b/workflow/config/WorkflowUiLabels.xml new file mode 100644 index 000000000..b34baefa7 --- /dev/null +++ b/workflow/config/WorkflowUiLabels.xml @@ -0,0 +1,141 @@ + + + + + Workflow Engine Tools + Outils du moteur de Workflow + Strumenti per Engine Flussi di Lavoro + Instrumente pentru Engine Fluxuri de Lucru + เครื่องมือ Workflow Engine + 工作流引擎工具 + + + Read XPDL File + Lire le fichier XPDL + Leggi File XPDL + Citeste File XPDL + อ่านไฟล์ XPDL + 读取XPDL文件 + + + Activity ID + Réf. d'activité + Attività + รหัสการทำงาน + + + Activity list for + Liste d'activité pour + Lista Actività per + รายการทำงานสำหรับ + + + Actual Complete Date + Date réelle de fin + Data Fine Attuale + วันที่เสร็จจริง + + + Assignation(s) + Tâche (s) + Assegnato(i) + งานที่ได้รับมอบหมาย + + + Current Status + Statut "Current" + Stato attuale + สถานะทั่ว ๆ ไป + + + Workflow Monitor + Moniteur de Workflow + Monitor dei Flussi di Lavoro + Monitorul Fluxurilor de Lucru + Workflow Monitor + 工作流监控程序 + + + Package/Version + Package/Version + Pacchetto/Versione + แพ็คเกจ/เวอร์ชั่น + + + This page is used to view the status of running workflows. + Cette page est utilisée pour voir le statut du déroulement des opérations du workflow + Questa pagina è usata per mostrare lo stato del flussi di lavoro in esecuzione. + หน้านี้ใช้ตรวจสอบค่าสถานะของการดำเนินงานโครงสร้าง + + + Process/Version + Processus/Version + Processo/Versione + โปรเซส/เวอร์ชั่น + + + Source Reference ID + Réf. de référence de source + Riferimento Origine + รหัสอ้างอิงที่มา + + + Workflows + Workflows + Flussi di Lavoro + ขั้นตอนการทำงาน + + + Import/Update to DB? + Import/ Mise à jour vers DB ? + Importa/Aggiorna sul DB? + นำเข้า/เปลี่ยนแปลง ฐานข้อมูล? + + + This page is used to read and import XPDL files into the workflow process repository. + Cette page est utilisée pour lire et importer des fichiers XPDL dans le dépôt de processus du workflow. + Questa pagina è usata per leggere e importare files XPDL nel repository processi flussi di lavoro. + หน้านี้ใช้อ่านและนำเข้าไฟล์ XPDL เข้าสู่ที่เก็บขั้นตอนการทำงาน + + + XPDL Filename or URL + Nom de fichier XPDL ou URL + Nome file XPDL o URL + ชื่อไฟล์ XPDL หรือ URL + + + You do not have permission to use this page (WORKFLOW_MAINT needed) + Vous n'avez pas l'autorisation d'utiliser cette page (WORKFLOW_MAINT est nécessaire) + Tu non hai il permesso di usare questa pagina (necessario WORKFLOW_MAINT) + คุณไม่ได้รับอนุญาตให้ใช้งานในหน้านี้ (WORKFLOW_MAINT ที่ต้องการ) + + + Active Workflow Monitor + Moniteur actif du Workflow + Monitor Flussi di Lavoro Attivi + ตรวจสอบขั้นตอนการทำงาน + + + No steps found for running workflow process: ${workflow} + Aucune étape trouvée pour exécuter une opération de workflow: ${workflow} + Nessun passo trovato per l'esecuzione del processo flusso di lavoro: ${workflow} + ไม่พบขั้นตอนการดำเนินงาน: ${workflow} + + diff --git a/workflow/webapp/workflow/WEB-INF/controller.xml b/workflow/webapp/workflow/WEB-INF/controller.xml new file mode 100644 index 000000000..cb5c131a2 --- /dev/null +++ b/workflow/webapp/workflow/WEB-INF/controller.xml @@ -0,0 +1,57 @@ + + + + + + + Workflow Site Configuration File + Copyright 2001-2009 The Apache Software Foundation + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/workflow/webapp/workflow/main.ftl b/workflow/webapp/workflow/main.ftl new file mode 100644 index 000000000..90a780bc6 --- /dev/null +++ b/workflow/webapp/workflow/main.ftl @@ -0,0 +1,64 @@ +<#-- +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. +--> + +<#-- TODO: Remove embedded style during UI refactor --> + + +
+
+ +
+
+
+ <#if !userLogin?has_content> + + <#if userLogin?has_content> + + +
+
+ diff --git a/workflow/webapp/workflow/workflow/readxpdl.ftl b/workflow/webapp/workflow/workflow/readxpdl.ftl new file mode 100644 index 000000000..95889e25c --- /dev/null +++ b/workflow/webapp/workflow/workflow/readxpdl.ftl @@ -0,0 +1,68 @@ +<#-- +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. +--> + +

${uiLabelMap.WorkflowReadXPDLFile}

+
+

${uiLabelMap.WorkflowImportXPDLPageDescription}

+
+<#if security.hasPermission("WORKFLOW_MAINT", session)> +
+ + + + + + + + + + + + + + + + +
${uiLabelMap.WorkflowXpdlFilenameOrUrl}${uiLabelMap.WorkflowDataIsUrl} checked="checked">
${uiLabelMap.WorkflowImportUpdateToDB} 
  
+
+ + <#if parameters.XPDL_LOCATION?has_content> + <#if messages?has_content> +
+

${uiLabelMap.CommonErrorMessage3}:

+
+ <#list messages as message> +

${message}

+ +
+ + + <#if toBeStored?has_content> + <#list toBeStored as entity> +
${entity}
+ +
+
${uiLabelMap.WorkflowReadAndPrintedNEntities}
+ <#else> +
${uiLabelMap.WorkflowNoEntitiesRead}.
+ + +<#else> +

${uiLabelMap.WorkflowPermissionWorkflow}

+ diff --git a/workflow/webapp/workflow/workflow/workflowMonitor.ftl b/workflow/webapp/workflow/workflow/workflowMonitor.ftl new file mode 100644 index 000000000..805e6f193 --- /dev/null +++ b/workflow/webapp/workflow/workflow/workflowMonitor.ftl @@ -0,0 +1,100 @@ +<#-- +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. +--> + +

${uiLabelMap.WorkflowActiveWorkflowMonitor}

+
+<#if security.hasPermission("WORKFLOW_MAINT", session)> + + <#-- list all running processes --> + <#if !parameters.workflow?exists> + <#if runningProcesses?exists> +

${uiLabelMap.WorkflowWorkflowPageDescription}

+ + + + + + + + + + + <#list runningProcesses as runningProcess> + + + + + + + + + + +
${uiLabelMap.WorkflowWorkflowPackageVersion}${uiLabelMap.WorkflowWorkflowProcessVersion}${uiLabelMap.WorkflowWorkflowCurrentStatus}${uiLabelMap.WorkflowPriority}${uiLabelMap.CommonActualStartDate}${uiLabelMap.WorkflowWorkflowSourceReferenceId} 
${runningProcess.workflowPackageId} / ${runningProcess.workflowPackageVersion}${runningProcess.workflowProcessId} / ${runningProcess.workflowProcessVersion}${WfUtil.getOMGStatus(runningProcess.getString("currentStatusId"))}${runningProcess.priority?default(" ")}${runningProcess.actualStartDate?default("N/A")}${runningProcess.sourceReferenceId?default(" ")}${uiLabelMap.CommonView}
+ +

${uiLabelMap.WorkflowNoRunningProcesses}

+ + <#else> + <#-- list all steps in the process --> + <#if activities?exists> +
${uiLabelMap.WorkflowWorkflows}
+
+
+
+

${uiLabelMap.WorkflowWorkflowActivityListFor}: ${workflowDefworkflowPackageId} / ${workflowDef.workflowProcessId}

+
+ + + + + + + + + + <#list activities as step> + <#assign assignments = step.getRelated("WorkEffortPartyAssignment")> + <#assign assignments = EntityUtil.filterByDate(assignments)> + + <#-- TODO: add external login ID to external links --> + + + + + + + + +
${uiLabelMap.WorkflowWorkflowActivityId}${uiLabelMap.WorkflowPriority}${uiLabelMap.WorkflowWorkflowCurrentStatus}${uiLabelMap.CommonActualStartDate}${uiLabelMap.WorkflowWorkflowActualCompleteDate}${uiLabelMap.WorkflowWorkflowAssignments}
${step.workflowActivityId}${step.priority?default(" ")}${WfUtil.getOMGStatus(step.getString("currentStatusId"))}${step.actualStartDate?default("N/A")}${step.actualCompletionDate?default("N/A")} + <#if assignments?has_content> + <#list assignments as assignment> + ${assignment.partyId} + + <#else> + N/A + +
+
+ <#else> +

${uiLabelMap.WorkflowNoStepsFoundForRunningWorkflow}

+ + +<#else> +

${uiLabelMap.WorkflowPermissionWorkflow}

+ diff --git a/workflow/widget/MiscScreens.xml b/workflow/widget/MiscScreens.xml new file mode 100644 index 000000000..148064f28 --- /dev/null +++ b/workflow/widget/MiscScreens.xml @@ -0,0 +1,91 @@ + + + + + +
+ + + +