Merged in feature/PMCORE-3805 (pull request #8602)

PMCORE-3805

Approved-by: Rodrigo Quelca
Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Paula Quispe
2022-11-10 15:28:07 +00:00
committed by Julio Cesar Laura Avendaño
41 changed files with 344 additions and 93 deletions

View File

@@ -2,8 +2,8 @@
<div class="container py-2"> <div class="container py-2">
<div class="row"></div> <div class="row"></div>
<div class="comments col-md-12" id="comments"> <div class="comments col-md-12" id="comments">
<p> <p class="commentTitle">
<b>{{ data.title }}</b> {{ data.title }}
</p> </p>
<div v-for="item in data.items" :key="item.date"> <div v-for="item in data.items" :key="item.date">
<case-comment <case-comment
@@ -45,6 +45,7 @@
ref="comment" ref="comment"
cols="80" cols="80"
rows="5" rows="5"
aria-label="comments"
></textarea> ></textarea>
</div> </div>
</div> </div>
@@ -52,7 +53,7 @@
</div> </div>
<div class="comment mb-2 row float-right"> <div class="comment mb-2 row float-right">
<div class="form-check v-check-comment"> <div class="form-check v-check-comment">
<input type="checkbox" class="form-check-input" ref="send" /> <input id="sendEmail" type="checkbox" class="form-check-input" ref="send" />
<label class="form-check-label" for="sendEmail"> <label class="form-check-label" for="sendEmail">
{{ $t("ID_SEND_EMAIL_CASE_PARTICIPANTS") }}</label {{ $t("ID_SEND_EMAIL_CASE_PARTICIPANTS") }}</label
> >
@@ -216,4 +217,7 @@ export default {
font-size: 32px; font-size: 32px;
color: antiquewhite; color: antiquewhite;
} }
.commentTitle {
font-weight: bolder;
}
</style> </style>

View File

@@ -3,6 +3,7 @@
<iframe <iframe
:width="width" :width="width"
ref="IFrameCaseHistory" ref="IFrameCaseHistory"
title="IFrameCaseHistory"
frameborder="0" frameborder="0"
:src="path" :src="path"
:height="height" :height="height"

View File

@@ -3,6 +3,7 @@
<iframe <iframe
:width="width" :width="width"
ref="IFrameChangeLog" ref="IFrameChangeLog"
title="IFrameChangeLog"
frameborder="0" frameborder="0"
:src="path" :src="path"
:height="height" :height="height"

View File

@@ -3,6 +3,7 @@
<iframe <iframe
:width="width" :width="width"
ref="IFrameSummaryForm" ref="IFrameSummaryForm"
title="IFrameSummaryForm"
frameborder="0" frameborder="0"
:src="path" :src="path"
:height="height" :height="height"

View File

@@ -3,6 +3,7 @@
<iframe <iframe
:width="width" :width="width"
ref="IFrameProcessMap" ref="IFrameProcessMap"
title="IFrameProcessMap"
frameborder="0" frameborder="0"
:src="path" :src="path"
:height="height" :height="height"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div id="my-container"> <div :id="`menu-${item.id}`">
<div <div
v-if="item.header && !isItemHidden" v-if="item.header && !isItemHidden"
class="vsm--header" class="vsm--header"

View File

@@ -23,7 +23,7 @@
</div> </div>
</template> </template>
<template v-slot:body> <template v-slot:body>
<b-form-group> <b-form-group label-for="advancedFilter">
<b-form-checkbox-group <b-form-checkbox-group
v-model="selected" v-model="selected"
:options="filterItems" :options="filterItems"
@@ -82,7 +82,9 @@
<b-form-group <b-form-group
:state="caseNumberState" :state="caseNumberState"
:invalid-feedback="$t('ID_INVALID_APPLICATION_NUMBER')" :invalid-feedback="$t('ID_INVALID_APPLICATION_NUMBER')"
label-for="caseNumber"
> >
<label for="case-number-input"></label>
<b-form-input <b-form-input
id="case-number-input" id="case-number-input"
v-model="caseNumber" v-model="caseNumber"
@@ -90,6 +92,7 @@
:placeholder="$t('ID_CASE_NUMBER_CAPITALIZED')" :placeholder="$t('ID_CASE_NUMBER_CAPITALIZED')"
required required
type="number" type="number"
aria-label="case_number"
></b-form-input> ></b-form-input>
</b-form-group> </b-form-group>
</form> </form>
@@ -147,6 +150,7 @@
variant="outline-secondary" variant="outline-secondary"
class="pull-right" class="pull-right"
@click="onSearch" @click="onSearch"
aria-label="search"
> >
<b-icon icon="search"></b-icon> <b-icon icon="search"></b-icon>
</b-button> </b-button>

View File

@@ -6,7 +6,7 @@
:title="addSearchTitle" :title="addSearchTitle"
> >
<template v-slot:body> <template v-slot:body>
<b-form-group> <b-form-group label-for="casesFilter">
<b-form-radio-group <b-form-radio-group
v-model="selected" v-model="selected"
:options="criteriaItems" :options="criteriaItems"
@@ -15,7 +15,7 @@
name="flavour-2a" name="flavour-2a"
stacked stacked
></b-form-radio-group> ></b-form-radio-group>
<b-form-group> </b-form-group> <p></p>
<b-form-checkbox <b-form-checkbox
id="checkbox-2" id="checkbox-2"
v-model="byProcessCategory" v-model="byProcessCategory"

View File

@@ -6,7 +6,7 @@
:title="addSearchTitle" :title="addSearchTitle"
> >
<template v-slot:body> <template v-slot:body>
<b-form-group> <b-form-group label-for="customFilter">
<b-form-radio-group <b-form-radio-group
v-model="selectedRadio" v-model="selectedRadio"
:options="getFilterColletion('radio')" :options="getFilterColletion('radio')"
@@ -15,7 +15,7 @@
name="flavour-2a" name="flavour-2a"
stacked stacked
></b-form-radio-group> ></b-form-radio-group>
<b-form-group> </b-form-group> <p></p>
<b-form-checkbox-group <b-form-checkbox-group
id="checkbox-custom-filter" id="checkbox-custom-filter"
v-model="selectedCheckbox" v-model="selectedCheckbox"

View File

@@ -6,8 +6,7 @@
:title="addSearchTitle" :title="addSearchTitle"
> >
<template v-slot:body> <template v-slot:body>
<b-form-group label-for="myCasesFilter">
<b-form-group>
<b-form-radio-group <b-form-radio-group
v-model="selected" v-model="selected"
:options="filterItems" :options="filterItems"

View File

@@ -11,7 +11,7 @@
> >
<span <span
v-html="tab.header" v-html="tab.header"
:aria-controls="tab.hash" :aria-label="tab.hash"
:aria-selected="tab.isActive" :aria-selected="tab.isActive"
@click="selectTab(tab.hash, $event)" @click="selectTab(tab.hash, $event)"
class="tabs-component-tab-a" class="tabs-component-tab-a"

View File

@@ -16,7 +16,7 @@
<span>{{ item.label }}</span> <span>{{ item.label }}</span>
</span> </span>
</li> </li>
<div <li
v-for="item in settings" v-for="item in settings"
:key="item.id" :key="item.id"
class="vp-bread-crumbs-settings vp-float-right vp-inline-block" class="vp-bread-crumbs-settings vp-float-right vp-inline-block"
@@ -29,7 +29,7 @@
> >
<i :class="formatClass(item)"></i> <i :class="formatClass(item)"></i>
</span> </span>
</div> </li>
</ol> </ol>
</nav> </nav>
</template> </template>

View File

@@ -23,6 +23,7 @@
:key="item.name" :key="item.name"
variant="outline-info" variant="outline-info"
@click="executeFunction(item.fn)" @click="executeFunction(item.fn)"
:aria-label="item.name"
> >
<i class="custom-icon" :class="item.icon" v-bind:style="{color: item.color}"></i> <i class="custom-icon" :class="item.icon" v-bind:style="{color: item.color}"></i>
</b-button> </b-button>

View File

@@ -8,36 +8,32 @@
@show="onshow" @show="onshow"
> >
<template #title>{{ $t("ID_COLUMNS").toUpperCase() }}</template> <template #title>{{ $t("ID_COLUMNS").toUpperCase() }}</template>
<div> <div>
<div class="input-group input-group-sm mb-3"> <div class="input-group input-group-sm mb-3">
<span class="input-group-text" id="inputGroup-sizing-sm" <span class="input-group-text" id="inputGroup-sizing-sm"
><i class="fas fa-search"></i ><i class="fas fa-search"></i
></span> ></span>
<input <input
type="text" type="text"
class="form-control" class="form-control"
aria-describedby="inputGroup-sizing-sm" aria-label="inputGroup-sizing-sm"
@keyup="search" @keyup="search"
v-model="text" v-model="text"
/> />
</div> </div>
<div class="form-check border-bottom"> <div class="form-check border-bottom">
<input <input
class="form-check-input" class="form-check-input"
type="checkbox" type="checkbox"
v-model="allColumns" v-model="allColumns"
@change="toogleAllColumns" @change="toogleAllColumns"
id="flexCheckDefault"
/> />
<label class="form-check-label" for="flexCheckDefault"> <label class="form-check-label" for="flexCheckDefault">
{{ $t("ID_ALL") }} {{ $t("ID_ALL") }}
</label> </label>
</div> </div>
<b-form-group label-for="settingsPopover">
<b-form-group>
<b-form-checkbox-group <b-form-checkbox-group
v-model="localSelected" v-model="localSelected"
:options="options" :options="options"
@@ -48,13 +44,11 @@
stacked stacked
></b-form-checkbox-group> ></b-form-checkbox-group>
</b-form-group> </b-form-group>
<div class="v-popover-footer"> <div class="v-popover-footer">
<div class="float-right"> <div class="float-right">
<b-button @click="onClose" size="sm" variant="danger"> <b-button @click="onClose" size="sm" variant="danger">
{{ $t("ID_CANCEL") }}</b-button {{ $t("ID_CANCEL") }}</b-button
> >
<b-button @click="onSave" size="sm" variant="success">{{ <b-button @click="onSave" size="sm" variant="success">{{
$t("ID_SAVE") $t("ID_SAVE")
}}</b-button> }}</b-button>

View File

@@ -3,6 +3,7 @@
<iframe <iframe
:width="width" :width="width"
ref="xIFrame" ref="xIFrame"
title="xIFrame"
frameborder="0" frameborder="0"
:src="path" :src="path"
:height="height" :height="height"

View File

@@ -2,6 +2,7 @@
<div <div
id="home" id="home"
:class="[{ collapsed: collapsed }, { onmobile: isOnMobile }]" :class="[{ collapsed: collapsed }, { onmobile: isOnMobile }]"
role="main"
> >
<div class="demo"> <div class="demo">
<b-alert <b-alert

View File

@@ -7,6 +7,7 @@
:src="pageUri" :src="pageUri"
:height="height" :height="height"
allowfullscreen allowfullscreen
title="xIFrame"
></iframe> ></iframe>
</div> </div>
</template> </template>

View File

@@ -3,6 +3,7 @@
<iframe <iframe
:width="width" :width="width"
ref="xIFrame" ref="xIFrame"
title="xIFrame"
frameborder="0" frameborder="0"
:src="path" :src="path"
:height="height" :height="height"

View File

@@ -19,6 +19,7 @@
aria-describedby="inputGroup-sizing-sm" aria-describedby="inputGroup-sizing-sm"
@keyup="search" @keyup="search"
v-model="text" v-model="text"
aria-label="search"
/> />
</div> </div>
<div class="form-check border-bottom"> <div class="form-check border-bottom">
@@ -27,12 +28,13 @@
type="checkbox" type="checkbox"
v-model="allColumns" v-model="allColumns"
@change="toogleAllColumns" @change="toogleAllColumns"
id="flexCheckDefault"
/> />
<label class="form-check-label" for="flexCheckDefault"> <label class="form-check-label" for="flexCheckDefault">
{{ $t("ID_ALL") }} {{ $t("ID_ALL") }}
</label> </label>
</div> </div>
<b-form-group> <b-form-group label-for="casesFilter">
<b-form-checkbox-group <b-form-checkbox-group
v-model="localSelected" v-model="localSelected"
:options="results" :options="results"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div id="v-pm-charts" ref="v-pm-charts" class="v-pm-charts vp-inline-block"> <div ref="v-pm-charts" class="v-pm-charts vp-inline-block">
<div class="p-1 v-flex"> <div class="p-1 v-flex">
<h6 class="v-search-title"> <h6 class="v-search-title">
{{ $t("ID_DRILL_DOWN_NUMBER_TASKS_PROCESS") }} {{ $t("ID_DRILL_DOWN_NUMBER_TASKS_PROCESS") }}
@@ -70,13 +70,13 @@
</div> </div>
</b-popover> </b-popover>
<div class="vp-inline-block vp-right vp-padding-r40"> <div class="vp-inline-block vp-right vp-padding-r40">
<h4 <span
class="v-search-title" class="v-search-title"
@click="showProcessesPopover" @click="showProcessesPopover"
id="pm-task-process" id="pm-task-process"
> >
<i class="fas fa-cog"></i> <i class="fas fa-cog"></i>
</h4> </span>
</div> </div>
</div> </div>
<div class="v-search-info"> <div class="v-search-info">

View File

@@ -1,5 +1,5 @@
<template> <template>
<div id="v-pm-charts" ref="v-pm-charts" class="v-pm-charts vp-inline-block"> <div ref="v-pm-charts" class="v-pm-charts vp-inline-block">
<div class="p-1 v-flex"> <div class="p-1 v-flex">
<h6 class="v-search-title"> <h6 class="v-search-title">
{{ $t("ID_DRILL_DOWN_RISK_MATRIX") }} {{ $t("ID_DRILL_DOWN_RISK_MATRIX") }}

View File

@@ -1,5 +1,5 @@
<template> <template>
<div id="v-pm-charts" ref="v-pm-charts" class="v-pm-charts vp-inline-block"> <div ref="v-pm-charts" class="v-pm-charts vp-inline-block">
<div class="p-1 v-flex"> <div class="p-1 v-flex">
<h6 class="v-search-title"> <h6 class="v-search-title">
{{ $t("ID_DRILL_DOWN_NUMBER_TASKS_PROCESS_BY_TASK") }} {{ $t("ID_DRILL_DOWN_NUMBER_TASKS_PROCESS_BY_TASK") }}

View File

@@ -1,5 +1,5 @@
<template> <template>
<div id="v-pm-charts" ref="v-pm-charts" class="v-pm-charts vp-inline-block"> <div ref="v-pm-charts" class="v-pm-charts vp-inline-block">
<div class="p-1 v-flex"> <div class="p-1 v-flex">
<h6 class="v-search-title">{{ $t("ID_DRILL_DOWN_NUMBER_TASKS") }}</h6> <h6 class="v-search-title">{{ $t("ID_DRILL_DOWN_NUMBER_TASKS") }}</h6>
<BreadCrumb :options="dataBreadcrumbs" :settings="settingsBreadcrumbs" /> <BreadCrumb :options="dataBreadcrumbs" :settings="settingsBreadcrumbs" />

View File

@@ -3,6 +3,7 @@
<iframe <iframe
:width="width" :width="width"
ref="xIFrame" ref="xIFrame"
title="xIFrame"
frameborder="0" frameborder="0"
:src="path" :src="path"
:height="height" :height="height"

View File

@@ -3,6 +3,7 @@
<iframe <iframe
:width="width" :width="width"
ref="xIFrame" ref="xIFrame"
title="xIFrame"
frameborder="0" frameborder="0"
:src="path" :src="path"
:height="height" :height="height"

View File

@@ -26,12 +26,13 @@
ref="comment" ref="comment"
cols="80" cols="80"
rows="5" rows="5"
aria-label="commentsCancelCase"
></textarea> ></textarea>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12 ml-auto"> <div class="col-md-12 ml-auto">
<input type="checkbox" class="" ref="send" /> <input id="sendEmailCancelCase" type="checkbox" class="" ref="send" />
<label class="form-check-label" for="sendEmail"> <label class="form-check-label" for="sendEmailCancelCase">
Send email to participants</label Send email to participants</label
> >
</div> </div>

View File

@@ -21,13 +21,14 @@
</b-alert> </b-alert>
<b-row class="my-1"> <b-row class="my-1">
<b-col sm="3"> <b-col sm="3">
<label for="pauseDate">{{ $t('ID_PAUSE_DATE') }}</label> <label aria-label="pauseDate">{{ $t('ID_PAUSE_DATE') }}</label>
</b-col> </b-col>
<b-col sm="5"> <b-col sm="5">
<b-form-datepicker <b-form-datepicker
disabled disabled
id="pauseDate" id="pauseDate"
class="mb-2" class="mb-2"
aria-controls="pauseDate"
v-model="pauseData.pauseDate" v-model="pauseData.pauseDate"
:locale="locale" :locale="locale"
:date-format-options="{ year: 'numeric', month: 'numeric', day: 'numeric' }" :date-format-options="{ year: 'numeric', month: 'numeric', day: 'numeric' }"
@@ -40,12 +41,13 @@
<b-row class="my-1"> <b-row class="my-1">
<b-col sm="3"> <b-col sm="3">
<label for="unpauseDate">{{ $t('ID_UNPAUSE_DATE') }}</label> <label aria-label="unpauseDate">{{ $t('ID_UNPAUSE_DATE') }}</label>
</b-col> </b-col>
<b-col sm="5"> <b-col sm="5">
<b-form-datepicker <b-form-datepicker
id="unpauseDate" id="unpauseDate"
class="mb-2" class="mb-2"
aria-controls="unpauseDate"
v-model="pauseData.unpauseDate" v-model="pauseData.unpauseDate"
:locale="locale" :locale="locale"
:min="minDate" :min="minDate"

View File

@@ -21,10 +21,10 @@
<b-container fluid> <b-container fluid>
<b-row class="my-1"> <b-row class="my-1">
<b-col sm="3"> <b-col sm="3">
<label for="selectUser">{{ $t('ID_SELECT_USER') }}</label> <label aria-label="selectUser">{{ $t('ID_SELECT_USER') }}</label>
</b-col> </b-col>
<b-col sm="9"> <b-col sm="9">
<b-form-select v-model="userSelected" :options="users"></b-form-select> <b-form-select id="selectUser" v-model="userSelected" :options="users" aria-label="selectUser"></b-form-select>
</b-col> </b-col>
</b-row> </b-row>

View File

@@ -1635,14 +1635,16 @@ function newFolder()
$formNewFolder["items"]= array(); $formNewFolder["items"]= array();
$field=array(); $field=array();
$field["xtype"]= "label"; $field["xtype"]= "textfield";
$field["fieldLabel"]= G::LoadTranslation('ID_CREATE_FOLDER_PATH_FOLDER'); $field["fieldLabel"]= G::LoadTranslation('ID_CREATE_FOLDER_PATH_FOLDER');
$field["name"]= "form[FOLDER_PATH]"; $field["name"]= "FOLDER_PATH";
$field["id"]= "form[FOLDER_PATH]"; $field["id"]= "FOLDER_PATH";
$field["width"]=175; $field["width"]=175;
$field["allowBlank"]=false; $field["allowBlank"]=false;
$field["value"]=$folderPath; $field["value"]=$folderPath;
$field["text"]=$folderPath; $field["text"]=$folderPath;
$field["readOnly"]= true;
$field["style"] = "{'border': 'none'}";
$formNewFolder["items"][]= $field; $formNewFolder["items"][]= $field;
$field=array(); $field=array();

View File

@@ -329,6 +329,12 @@ button.x-btn-text:focus,
background-image: url(/skins/neoclassic/images/icons_silk/sprites.png); background-image: url(/skins/neoclassic/images/icons_silk/sprites.png);
height: 18px; height: 18px;
} }
#FOLDER_PATH{
border: none;
background-image: none;
background-color: #f1f1f1;
cursor: default;
}
.ICON_FOLDERS { .ICON_FOLDERS {
/*.ss_folder_explore*/ /*.ss_folder_explore*/

View File

@@ -398,6 +398,7 @@ function newNoteHandler() {
}); });
Ext.getCmp('addCancelBtn').setIcon('/images/comment_add.gif'); Ext.getCmp('addCancelBtn').setIcon('/images/comment_add.gif');
Ext.getCmp('addCancelBtn').btnEl.dom.ariaLabel = _('ID_CASES_NOTES_ADD');
caseNotesWindow.getTopToolbar().hide(); caseNotesWindow.getTopToolbar().hide();
Ext.getCmp("chkSendMail").hide(); Ext.getCmp("chkSendMail").hide();
@@ -411,6 +412,7 @@ function newNoteHandler() {
Ext.getCmp('addCancelBtn').setText(''); Ext.getCmp('addCancelBtn').setText('');
Ext.getCmp('addCancelBtn').setTooltip({ title: _('ID_CASES_NOTES_CANCEL') }); Ext.getCmp('addCancelBtn').setTooltip({ title: _('ID_CASES_NOTES_CANCEL') });
Ext.getCmp('addCancelBtn').setIcon('/images/cancel.png'); Ext.getCmp('addCancelBtn').setIcon('/images/cancel.png');
Ext.getCmp('addCancelBtn').btnEl.dom.ariaLabel = _('ID_CASES_NOTES_CANCEL');
caseNotesWindow.getTopToolbar().show(); caseNotesWindow.getTopToolbar().show();
Ext.getCmp("chkSendMail").show(); Ext.getCmp("chkSendMail").show();

View File

@@ -89,11 +89,18 @@
); );
Ext.onReady(function(){ Ext.onReady(function(){
var i;
Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
Ext.QuickTips.init(); Ext.QuickTips.init();
historyGridList(); historyGridList();
if (document.getElementsByTagName('input')) {
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
}
if (document.getElementsByTagName('button')) {
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
}
}
}); });
//!historyGridList| //!historyGridList|

View File

@@ -223,11 +223,19 @@
); );
Ext.onReady(function() { Ext.onReady(function() {
var i;
Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
Ext.QuickTips.init(); Ext.QuickTips.init();
historyDynaformGrid(); historyDynaformGrid();
if (document.getElementsByTagName('input')) {
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
}
if (document.getElementsByTagName('button')) {
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
}
}
}); });
var historyDynaformGridPreviewGlobal = {}; var historyDynaformGridPreviewGlobal = {};

View File

@@ -217,11 +217,18 @@ var ActionTabFrameGlobal = '';
); );
Ext.onReady(function(){ Ext.onReady(function(){
var i;
Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
Ext.QuickTips.init(); Ext.QuickTips.init();
messageHistoryGridList(); messageHistoryGridList();
if (document.getElementsByTagName('input')) {
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
}
if (document.getElementsByTagName('button')) {
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
}
}
}); });
//!historyGridList| //!historyGridList|

View File

@@ -2092,8 +2092,8 @@ var documentsTab = {
}; };
Ext.onReady(function() { Ext.onReady(function() {
var i,
var viewport = new Ext.Viewport({ viewport = new Ext.Viewport({
layout : 'border', layout : 'border',
items: [treepanelmain, documentsTab] items: [treepanelmain, documentsTab]
}); });
@@ -2108,5 +2108,16 @@ Ext.onReady(function() {
parent.Ext.getCmp('debugPanel').hide(); parent.Ext.getCmp('debugPanel').hide();
parent.Ext.getCmp('debugPanel').ownerCt.doLayout(); parent.Ext.getCmp('debugPanel').ownerCt.doLayout();
} }
if (document.getElementsByTagName('input')) {
document.getElementsByTagName('input')[0].ariaLabel = "filterField";
}
if (document.getElementsByTagName('input')) {
document.getElementsByTagName('input')[1].ariaLabel = "pagination";
}
if (document.getElementsByTagName('button')) {
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].id;
}
}
}); });

View File

@@ -154,11 +154,18 @@
); );
Ext.onReady(function(){ Ext.onReady(function(){
var i;
Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
Ext.QuickTips.init(); Ext.QuickTips.init();
generateDocumentGrid(); generateDocumentGrid();
if (document.getElementsByTagName('input')) {
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
}
if (document.getElementsByTagName('button')) {
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
}
}
}); });

View File

@@ -2784,8 +2784,17 @@ Ext.onReady ( function() {
} }
}); });
// Add the additional 'advanced' VTypes -- [End] // Add the additional 'advanced' VTypes -- [End]
var i;
if (document.getElementsByTagName('input')) {
for (i = 0; i < document.getElementsByTagName('input').length; i+= 1) {
document.getElementsByTagName('input')[i].ariaLabel = document.getElementsByTagName('input')[i].id;
}
}
if (document.getElementsByTagName('button')) {
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].id;
}
}
}); });
function msgBox(title, msg, type){ function msgBox(title, msg, type){

View File

@@ -261,11 +261,18 @@
); );
Ext.onReady(function() { Ext.onReady(function() {
var i;
Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
Ext.QuickTips.init(); Ext.QuickTips.init();
uploadDocumentGrid(); uploadDocumentGrid();
if (document.getElementsByTagName('input')) {
document.getElementsByTagName('input')[0].ariaLabel = "pagination";
}
if (document.getElementsByTagName('button')) {
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
}
}
}); });

View File

@@ -392,7 +392,11 @@ Ext.onReady(function(){
items:[{ items:[{
id: 'casesTab', id: 'casesTab',
title: _('ID_CASE') +' ' + _APP_NUM, title: _('ID_CASE') +' ' + _APP_NUM,
frameConfig:{name:'openCaseFrame', id:'openCaseFrame'}, frameConfig:{
name:'openCaseFrame',
id:'openCaseFrame',
title:'openCaseFrame'
},
defaultSrc : uri, defaultSrc : uri,
loadMask:{msg: _('ID_LOADING_GRID') }, loadMask:{msg: _('ID_LOADING_GRID') },
bodyStyle:{height: (PMExt.getBrowser().screen.height-60) + 'px', overflow:'hidden'}, bodyStyle:{height: (PMExt.getBrowser().screen.height-60) + 'px', overflow:'hidden'},
@@ -680,6 +684,7 @@ Ext.onReady(function(){
} else { } else {
fieldset = { fieldset = {
xtype : 'fieldset', xtype : 'fieldset',
title: _('ID_INFORMATION'),
autoHeight : true, autoHeight : true,
defaults : { defaults : {
width : 170, width : 170,
@@ -688,11 +693,66 @@ Ext.onReady(function(){
style: 'font-weight: bold' style: 'font-weight: bold'
}, },
items : [ items : [
{fieldLabel: _('ID_TITLE'), text: data.PRO_TITLE}, {
{fieldLabel: _('ID_DESCRIPTION'), text: data.PRO_DESCRIPTION}, xtype: 'textfield',
{fieldLabel: _('ID_CATEGORY'), text: data.PRO_CATEGORY_LABEL}, fieldLabel: _('ID_TITLE'),
{fieldLabel: _('ID_AUTHOR'), text: data.PRO_AUTHOR}, value: data.PRO_TITLE,
{fieldLabel: _('ID_CREATE_DATE'), text: data.PRO_CREATE_DATE} readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_DESCRIPTION'),
value: data.PRO_DESCRIPTION,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_CATEGORY'),
value: data.PRO_CATEGORY_LABEL,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_AUTHOR'),
value: data.PRO_AUTHOR,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_CREATE_DATE'),
value: data.PRO_CREATE_DATE,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
}
] ]
} }
@@ -757,6 +817,7 @@ Ext.onReady(function(){
} else { } else {
fieldset = { fieldset = {
xtype : 'fieldset', xtype : 'fieldset',
title: _('ID_INFORMATION'),
autoHeight : true, autoHeight : true,
defaults : { defaults : {
width : 170, width : 170,
@@ -765,12 +826,78 @@ Ext.onReady(function(){
style: 'font-weight: bold' style: 'font-weight: bold'
}, },
items : [ items : [
{fieldLabel: _('ID_TITLE'), text: data.TAS_TITLE}, {
{fieldLabel: _('ID_DESCRIPTION'), text: data.TAS_DESCRIPTION}, xtype: 'textfield',
{fieldLabel: _('ID_INIT_DATE'), text: data.INIT_DATE_LABEL}, fieldLabel: _('ID_TITLE'),
{fieldLabel: _('ID_DUE_DATE'), text: data.DUE_DATE_LABEL}, value: data.TAS_TITLE,
{fieldLabel: _('ID_FINISH_DATE'), text: data.FINISH}, readOnly: true,
{fieldLabel: _('ID_TASK_DURATION'), text: data.DURATION} style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_DESCRIPTION'),
value: data.TAS_DESCRIPTION,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_INIT_DATE'),
value: data.INIT_DATE_LABEL,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_DUE_DATE'),
value: data.DUE_DATE_LABEL,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_FINISH_DATE'),
value: data.FINISH,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_TASK_DURATION'),
value: data.DURATION,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
}
] ]
} }
@@ -1322,7 +1449,8 @@ Ext.onReady(function(){
url : 'ajaxListener' , url : 'ajaxListener' ,
params : {action : 'verifySession'}, params : {action : 'verifySession'},
success: function ( result, request ) { success: function ( result, request ) {
var data = Ext.util.JSON.decode(result.responseText); var data = Ext.util.JSON.decode(result.responseText),
i;
if( data.lostSession ) { if( data.lostSession ) {
Ext.Msg.show({ Ext.Msg.show({
title: _('ID_ERROR'), title: _('ID_ERROR'),
@@ -1355,6 +1483,15 @@ Ext.onReady(function(){
} else { } else {
winReassignInCasesList.show(); winReassignInCasesList.show();
grdpnlUsersToReassign.store.load(); grdpnlUsersToReassign.store.load();
if (document.getElementsByTagName('input')) {
document.getElementsByTagName('input')[1].ariaLabel = "search";
document.getElementsByTagName('input')[2].ariaLabel = "pagination";
}
if (document.getElementsByTagName('button')) {
for (i = 0; i < document.getElementsByTagName('button').length; i+= 1) {
document.getElementsByTagName('button')[i].ariaLabel = document.getElementsByTagName('button')[i].getAttribute('id');
}
}
} }
}, },
failure: function ( result, request) { failure: function ( result, request) {
@@ -1439,8 +1576,30 @@ Ext.onReady(function(){
style: 'font-weight: bold' style: 'font-weight: bold'
}, },
items : [ items : [
{fieldLabel: _("ID_CASE"), text: stringReplace("\\: ", "", _APP_NUM)}, {
{fieldLabel: _("ID_PAUSE_DATE"), text: _ENV_CURRENT_DATE}, xtype: 'textfield',
fieldLabel: _('ID_CASE'),
value: stringReplace("\\: ", "", _APP_NUM),
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
{
xtype: 'textfield',
fieldLabel: _('ID_PAUSE_DATE'),
value: _ENV_CURRENT_DATE,
readOnly: true,
style: {
border: 'none',
backgroundImage: 'none',
fontWeight: 'bold',
width: '170px'
}
},
new Ext.form.DateField({ new Ext.form.DateField({
id: 'unpauseDate', id: 'unpauseDate',
format: 'Y-m-d', format: 'Y-m-d',

View File

@@ -4,7 +4,7 @@
overflow-y: hidden; overflow-y: hidden;
} }
</style> </style>
<iframe name="adminFrame" id="adminFrame" src ="clientSetup" width="99%" height="768" frameborder="0"> <iframe title="adminFrame" name="adminFrame" id="adminFrame" src ="clientSetup" width="99%" height="768" frameborder="0">
<p>Your browser does not support iframes.</p> <p>Your browser does not support iframes.</p>
</iframe> </iframe>
</body> </body>

View File

@@ -26,10 +26,19 @@
<en><![CDATA[Next step]]></en> <en><![CDATA[Next step]]></en>
</NEXT_STEP> </NEXT_STEP>
<JS type="javascript"><![CDATA[ <JS type="javascript"><![CDATA[
var nextStep = function(oForm) var i,
{ span,
nextStep = function(oForm) {
oForm.action = 'cases_NextStep'; oForm.action = 'cases_NextStep';
oForm.submit(); oForm.submit();
}; };
label1 = document.getElementsByTagName('label')[0];
label2 = document.getElementsByTagName('label')[1];
span1 = document.createElement('span');
span1.innerHTML = label1.innerHTML;
span2 = document.createElement('span');
span2.innerHTML = label2.innerHTML;
label1.parentNode.replaceChild(span1, label1);
label2.parentNode.replaceChild(span2, label2);
]]></JS> ]]></JS>
</dynaForm> </dynaForm>