NIFI-27:
- Upgrading jQuery, jQuery UI, jqGrid.
- Replacing deprecated functionality.

Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/d7b1113a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/d7b1113a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/d7b1113a

Branch: refs/heads/NIFI-169
Commit: d7b1113a86a8ed52aa2a7f907d89ab8b8a730c73
Parents: a016bf4
Author: Matt Gilman <matt.c.gil...@gmail.com>
Authored: Tue Dec 16 11:25:25 2014 -0500
Committer: Matt Gilman <matt.c.gil...@gmail.com>
Committed: Tue Dec 16 11:25:25 2014 -0500

----------------------------------------------------------------------
 .../ui/src/main/webapp/WEB-INF/jsp/index.jsp    |   6 +-
 .../js/jquery/jqgrid/css/ellipsis-xbl.xml       |  29 -
 .../webapp/js/jquery/jqgrid/css/ui.jqgrid.css   | 251 ++---
 .../js/jquery/jqgrid/js/i18n/grid.locale-en.js  | 175 +++-
 .../js/jquery/jqgrid/js/jquery.jqGrid.min.js    | 959 +++++++++++--------
 .../ui/src/main/webapp/js/nf-common.js          |   7 +-
 6 files changed, 826 insertions(+), 601 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d7b1113a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/WEB-INF/jsp/index.jsp
----------------------------------------------------------------------
diff --git 
a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/WEB-INF/jsp/index.jsp 
b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/WEB-INF/jsp/index.jsp
index 8470f61..e39ccc3 100644
--- 
a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/WEB-INF/jsp/index.jsp
+++ 
b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/WEB-INF/jsp/index.jsp
@@ -23,7 +23,7 @@
         <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
         <link rel="shortcut icon" href="images/nifi16.ico"/>
 
-        <link rel="stylesheet" 
href="../nifi/js/jquery/css/smoothness/jquery-ui-1.8.10.custom.css" 
type="text/css" />
+        <link rel="stylesheet" 
href="../nifi/js/jquery/ui-smoothness/jquery-ui-1.10.4.min.css" type="text/css" 
/>
         <link rel="stylesheet" href="../nifi/js/jquery/modal/jquery.modal.css" 
type="text/css" />
 
         <link rel="stylesheet" href="js/jquery/jqgrid/css/ui.jqgrid.css" 
type="text/css" />
@@ -33,8 +33,8 @@
 
         <link rel="stylesheet" href="css/threshold_styles.css" type="text/css" 
/>
 
-        <script type="text/javascript" 
src="../nifi/js/jquery/jquery-1.7.min.js"></script>
-        <script type="text/javascript" 
src="../nifi/js/jquery/jquery-ui-1.8.10.custom.min.js"></script>
+        <script type="text/javascript" 
src="../nifi/js/jquery/jquery-2.1.1.min.js"></script>
+        <script type="text/javascript" 
src="../nifi/js/jquery/ui-smoothness/jquery-ui-1.10.4.min.js"></script>
         <script type="text/javascript" 
src="../nifi/js/jquery/jquery.center.js"></script>
         <script type="text/javascript" 
src="../nifi/js/jquery/modal/jquery.modal.js"></script>
 

http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d7b1113a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ellipsis-xbl.xml
----------------------------------------------------------------------
diff --git 
a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ellipsis-xbl.xml
 
b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ellipsis-xbl.xml
deleted file mode 100644
index ea0bdf8..0000000
--- 
a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ellipsis-xbl.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  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.
--->
-<bindings
-    xmlns="http://www.mozilla.org/xbl";
-    xmlns:xbl="http://www.mozilla.org/xbl";
-    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";>
-    <binding id="ellipsis">
-        <content>
-            <xul:window><!-- xul:window tag required for FF2 -->
-                <xul:description crop="end" xbl:inherits="value=xbl:text">
-                    <children/>
-                </xul:description>
-            </xul:window>
-        </content>
-    </binding>
-</bindings>

http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d7b1113a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ui.jqgrid.css
----------------------------------------------------------------------
diff --git 
a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ui.jqgrid.css
 
b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ui.jqgrid.css
old mode 100755
new mode 100644
index a3baeed..11594b1
--- 
a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ui.jqgrid.css
+++ 
b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/css/ui.jqgrid.css
@@ -1,181 +1,120 @@
 /*Grid*/
-.ui-jqgrid {position: relative; font-size:11px;}
-.ui-jqgrid .ui-jqgrid-view {position: relative;left:0px; top: 0px; padding: 
.0em;}
-
+.ui-jqgrid {position: relative;}
+.ui-jqgrid .ui-jqgrid-view {position: relative;left:0; top: 0; padding: 0; 
font-size:11px;}
 /* caption*/
-.ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: 
relative; border-left: 0px none;border-right: 0px none; border-top: 0px none;}
-.ui-jqgrid .ui-jqgrid-title { float: left; margin: .1em 0 .2em; }
-.ui-jqgrid .ui-jqgrid-titlebar-close { position: absolute;top: 50%; width: 
19px; margin: -10px 0 0 0; padding: 1px; height:18px;}.ui-jqgrid 
.ui-jqgrid-titlebar-close span { display: block; margin: 1px; }
+.ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: 
relative; font-size: 12px; border-left: 0 none;border-right: 0 none; 
border-top: 0 none;}
+.ui-jqgrid .ui-jqgrid-caption {text-align: left;}
+.ui-jqgrid .ui-jqgrid-title { margin: .1em 0 .2em; }
+.ui-jqgrid .ui-jqgrid-titlebar-close { position: absolute;top: 50%; width: 
19px; margin: -10px 0 0 0; padding: 1px; height:18px; cursor:pointer;}
+.ui-jqgrid .ui-jqgrid-titlebar-close span { display: block; margin: 1px; }
 .ui-jqgrid .ui-jqgrid-titlebar-close:hover { padding: 0; }
-
 /* header*/
-/*.ui-jqgrid .ui-jqgrid-hdiv {position: relative; margin: 0em;padding: 0em; 
overflow-x: hidden; overflow-y: auto; border-left: 0px none !important; 
border-top : 0px none !important; border-right : 0px none !important;}*/
-.ui-jqgrid .ui-jqgrid-hdiv {
-    position: relative;
-    margin: 0em;
-    padding: 0em;
-    overflow-x: hidden;
-    overflow-y: auto;
-    border-left: 0px none !important;
-    border-top : 0px none !important;
-    border-right : 0px none !important;
-    border-bottom: 1px solid #666;
-    background-image: url(../../../../images/bgTableHeader.png);
-    background-repeat: repeat-x;
-}
-
+.ui-jqgrid .ui-jqgrid-hdiv {position: relative; margin: 0;padding: 0; 
overflow-x: hidden; border-left: 0 none !important; border-top : 0 none 
!important; border-right : 0 none !important;}
 .ui-jqgrid .ui-jqgrid-hbox {float: left; padding-right: 20px;}
-.ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;margin:0em;}
-/*.ui-jqgrid .ui-jqgrid-htable th {height:22px;padding: 0 2px 0 2px;}*/
-.ui-jqgrid .ui-jqgrid-htable th {
-    height: 26px;
-    padding: 0 2px;
-    border-right: 1px solid #172B31;
-    border-bottom: 1px solid #365C6A;
-    background-image: url(../../../../images/bgTableHeader.png);
-    background-repeat: repeat-x;
-}
-/*.ui-jqgrid .ui-jqgrid-htable th div {overflow: hidden; position:relative; 
height:17px;}*/
-.ui-jqgrid .ui-jqgrid-htable th div {
-    overflow: hidden;
-    position: relative;
-    padding-top: 8px;
-    left: 4px;
-    height: 17px;
-    color: #fff;
-    font-weight: bold;
-}
-/*.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {overflow: 
hidden;white-space: nowrap;text-align:center;border-top : 0px 
none;border-bottom : 0px none;}*/
-.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {
-    overflow: hidden;
-    white-space: nowrap;
-    border-top: 0px none;
-    border-bottom: 0px none;
-}
-.ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {border-left : 0px none;}
-.ui-th-rtl, .ui-jqgrid .ui-jqgrid-htable th.ui-th-rtl {border-right : 0px 
none;}
+.ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;margin:0;}
+.ui-jqgrid .ui-jqgrid-htable th {height:22px;padding: 0 2px 0 2px;}
+.ui-jqgrid .ui-jqgrid-htable th div {overflow: hidden; position:relative; 
height:17px;}
+.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {overflow: 
hidden;white-space: nowrap;text-align:center;border-top : 0 none;border-bottom 
: 0 none;}
+.ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {border-left : 0 none;}
+.ui-th-rtl, .ui-jqgrid .ui-jqgrid-htable th.ui-th-rtl {border-right : 0 none;}
+.ui-first-th-ltr {border-right: 1px solid; }
+.ui-first-th-rtl {border-left: 1px solid; }
 .ui-jqgrid .ui-th-div-ie {white-space: nowrap; zoom :1; height:17px;}
-/*.ui-jqgrid .ui-jqgrid-resize {height:20px !important;position: relative; 
cursor :e-resize;display: inline;overflow: hidden;}*/
-.ui-jqgrid .ui-jqgrid-resize {
-    height: 26px !important;
-    position: relative; 
-    cursor: e-resize;
-    display: inline;
-    overflow: hidden;
-    z-index: 1;
-}
+.ui-jqgrid .ui-jqgrid-resize {height:20px !important;position: relative; 
cursor :e-resize;display: inline;overflow: hidden;}
 .ui-jqgrid .ui-grid-ico-sort 
{overflow:hidden;position:absolute;display:inline; cursor: pointer !important;}
-/*.ui-jqgrid .ui-icon-asc {margin-top:-3px; height:12px;}*/
-.ui-jqgrid .ui-icon-asc {
-    margin-left: 5px;
-    margin-top: -5px;
-    height: 12px;
-}
-/*.ui-jqgrid .ui-icon-desc {margin-top:3px;height:12px;}*/
-.ui-jqgrid .ui-icon-desc {
-    height: 12px;
-    margin-top: 2px;
-    margin-left: 4px;
-}
-.ui-jqgrid .ui-i-asc {margin-top:0px;height:16px;}
-.ui-jqgrid .ui-i-desc {margin-top:0px;margin-left:13px;height:16px;}
+.ui-jqgrid .ui-icon-asc {margin-top:-3px; height:12px;}
+.ui-jqgrid .ui-icon-desc {margin-top:3px;height:12px;}
+.ui-jqgrid .ui-i-asc {margin-top:0;height:16px;}
+.ui-jqgrid .ui-i-desc {margin-top:0;margin-left:13px;height:16px;}
 .ui-jqgrid .ui-jqgrid-sortable {cursor:pointer;}
 .ui-jqgrid tr.ui-search-toolbar th { border-top-width: 1px !important; 
border-top-color: inherit !important; border-top-style: ridge !important }
-tr.ui-search-toolbar input {margin: 1px 0px 0px 0px}
-tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}
-
+tr.ui-search-toolbar input {margin: 1px 0 0 0}
+tr.ui-search-toolbar select {margin: 1px 0 0 0}
 /* body */ 
-.ui-jqgrid .ui-jqgrid-bdiv {position: relative; margin: 0em; padding:0; 
overflow: auto; text-align:left;}
-.ui-jqgrid .ui-jqgrid-btable {table-layout:fixed; margin:0em;}
-/*.ui-jqgrid tr.jqgrow td {font-weight: normal; overflow: hidden; white-space: 
pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; 
border-bottom-color: inherit; border-bottom-style: solid;}*/
-.ui-jqgrid tr.jqgrow td {
-    font-weight: normal;
-    overflow: hidden;
-    padding: 2px;
-    border-bottom-width: 1px;
-    border-bottom-color: #aaa;
-    border-bottom-style: solid;
-}
-/*.ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 1px; 
border-right-color: inherit; border-right-style: solid;}*/
-.ui-jqgrid tr.ui-row-ltr td {
-    vertical-align: middle;
-    padding: 6px 3px 4px 2px;
-    text-align: left;
-}
+.ui-jqgrid .ui-jqgrid-bdiv {position: relative; margin: 0; padding:0; 
overflow: auto; text-align:left;}
+.ui-jqgrid .ui-jqgrid-btable {table-layout:fixed; margin:0; outline-style: 
none; }
+.ui-jqgrid tr.jqgrow { outline-style: none; }
+.ui-jqgrid tr.jqgroup { outline-style: none; }
+.ui-jqgrid tr.jqgrow td {font-weight: normal; overflow: hidden; white-space: 
pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; 
border-bottom-color: inherit; border-bottom-style: solid;}
+.ui-jqgrid tr.jqgfirstrow td {padding: 0 2px 0 2px;border-right-width: 1px; 
border-right-style: solid;}
+.ui-jqgrid tr.jqgroup td {font-weight: normal; overflow: hidden; white-space: 
pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; 
border-bottom-color: inherit; border-bottom-style: solid;}
+.ui-jqgrid tr.jqfoot td {font-weight: bold; overflow: hidden; white-space: 
pre; height: 22px;padding: 0 2px 0 2px;border-bottom-width: 1px; 
border-bottom-color: inherit; border-bottom-style: solid;}
+.ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 1px; 
border-right-color: inherit; border-right-style: solid;}
 .ui-jqgrid tr.ui-row-rtl td {text-align:right;border-left-width: 1px; 
border-left-color: inherit; border-left-style: solid;}
-.ui-jqgrid td.jqgrid-rownum { padding: 0 2px 0 2px; margin: 0px; border: 0px 
none;}
-.ui-jqgrid .ui-jqgrid-resize-mark { width:2px; left:0; background-color:#777; 
cursor: e-resize; cursor: col-resize; position:absolute; top:0; height:100px; 
overflow:hidden; display:none;     border:0 none;}
-
+.ui-jqgrid td.jqgrid-rownum { padding: 0 2px 0 2px; margin: 0; border: 0 none;}
+.ui-jqgrid .ui-jqgrid-resize-mark { width:2px; left:0; background-color:#777; 
cursor: e-resize; cursor: col-resize; position:absolute; top:0; height:100px; 
overflow:hidden; display:none; border:0 none; z-index: 99999;}
 /* footer */
-.ui-jqgrid .ui-jqgrid-sdiv {position: relative; margin: 0em;padding: 0em; 
overflow: hidden; border-left: 0px none !important; border-top : 0px none 
!important; border-right : 0px none !important;}
-.ui-jqgrid .ui-jqgrid-ftable {table-layout:fixed; margin-bottom:0em;}
+.ui-jqgrid .ui-jqgrid-sdiv {position: relative; margin: 0;padding: 0; 
overflow: hidden; border-left: 0 none !important; border-top : 0 none 
!important; border-right : 0 none !important;}
+.ui-jqgrid .ui-jqgrid-ftable {table-layout:fixed; margin-bottom:0;}
 .ui-jqgrid tr.footrow td {font-weight: bold; overflow: hidden; 
white-space:nowrap; height: 21px;padding: 0 2px 0 2px;border-top-width: 1px; 
border-top-color: inherit; border-top-style: solid;}
 .ui-jqgrid tr.footrow-ltr td {text-align:left;border-right-width: 1px; 
border-right-color: inherit; border-right-style: solid;}
 .ui-jqgrid tr.footrow-rtl td {text-align:right;border-left-width: 1px; 
border-left-color: inherit; border-left-style: solid;}
-
 /* Pager*/
-.ui-jqgrid .ui-jqgrid-pager { border-left: 0px none !important;border-right: 
0px none !important; border-bottom: 0px none !important; margin: 0px 
!important; padding: 0px !important; position: relative; height: 
25px;white-space: nowrap;overflow: hidden;}
+.ui-jqgrid .ui-jqgrid-pager { border-left: 0 none !important;border-right: 0 
none !important; border-bottom: 0 none !important; margin: 0 !important; 
padding: 0 !important; position: relative; height: 25px;white-space: 
nowrap;overflow: hidden;font-size:11px;}
 .ui-jqgrid .ui-pager-control {position: relative;}
-.ui-jqgrid .ui-pg-table {position: relative; padding-bottom:2px; width:auto; 
margin: 0em;}
+.ui-jqgrid .ui-pg-table {position: relative; padding-bottom:2px; width:auto; 
margin: 0;}
 .ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle; 
padding:1px;}
 .ui-jqgrid .ui-pg-button  { height:19px !important;}
 .ui-jqgrid .ui-pg-button span { display: block; margin: 1px; float:left;}
-/*.ui-jqgrid .ui-pg-button:hover { padding: 0px; }*/
-.ui-jqgrid .ui-pg-button:hover { 
-    padding: 1px; 
-}
+.ui-jqgrid .ui-pg-button:hover { padding: 0; }
 .ui-jqgrid .ui-state-disabled:hover {padding:1px;}
-.ui-jqgrid .ui-pg-input { height:13px;font-size:.8em; margin: 0em;}
-.ui-jqgrid .ui-pg-selbox {font-size:.8em; line-height:18px; display:block; 
height:18px; margin: 0em;}
+.ui-jqgrid .ui-pg-input { height:13px;font-size:.8em; margin: 0;}
+.ui-jqgrid .ui-pg-selbox {font-size:.8em; line-height:18px; display:block; 
height:18px; margin: 0;}
 .ui-jqgrid .ui-separator {height: 18px; border-left: 1px solid #ccc ; 
border-right: 1px solid #ccc ; margin: 1px; float: right;}
 .ui-jqgrid .ui-paging-info {font-weight: normal;height:19px; 
margin-top:3px;margin-right:4px;}
-.ui-jqgrid .ui-jqgrid-pager .ui-pg-div {padding:1px 
0;float:left;list-style-image:none;list-style-position:outside;list-style-type:none;position:relative;}
+.ui-jqgrid .ui-jqgrid-pager .ui-pg-div {padding:1px 
0;float:left;position:relative;}
 .ui-jqgrid .ui-jqgrid-pager .ui-pg-button { cursor:pointer; }
 .ui-jqgrid .ui-jqgrid-pager .ui-pg-div  span.ui-icon {float:left;margin:0 2px;}
-.ui-jqgrid td input, .ui-jqgrid td select .ui-jqgrid td textarea { margin: 
0em;}
+.ui-jqgrid td input, .ui-jqgrid td select .ui-jqgrid td textarea { margin: 0;}
 .ui-jqgrid td textarea {width:auto;height:auto;}
-.ui-jqgrid .ui-jqgrid-toppager {border-left: 0px none !important;border-right: 
0px none !important; border-top: 0px none !important; margin: 0px !important; 
padding: 0px !important; position: relative; height: 25px 
!important;white-space: nowrap;overflow: hidden;}
-
-/* subgrid */
+.ui-jqgrid .ui-jqgrid-toppager {border-left: 0 none !important;border-right: 0 
none !important; border-top: 0 none !important; margin: 0 !important; padding: 
0 !important; position: relative; height: 25px !important;white-space: 
nowrap;overflow: hidden;}
+.ui-jqgrid .ui-jqgrid-toppager .ui-pg-div {padding:1px 
0;float:left;position:relative;}
+.ui-jqgrid .ui-jqgrid-toppager .ui-pg-button { cursor:pointer; }
+.ui-jqgrid .ui-jqgrid-toppager .ui-pg-div  span.ui-icon {float:left;margin:0 
2px;}
+/*subgrid*/
 .ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span {display: block;}
-.ui-jqgrid .ui-subgrid {margin:0em;padding:0em; width:100%;}
+.ui-jqgrid .ui-subgrid {margin:0;padding:0; width:100%;}
 .ui-jqgrid .ui-subgrid table {table-layout: fixed;}
 .ui-jqgrid .ui-subgrid tr.ui-subtblcell td {height:18px;border-right-width: 
1px; border-right-color: inherit; border-right-style: 
solid;border-bottom-width: 1px; border-bottom-color: inherit; 
border-bottom-style: solid;}
-.ui-jqgrid .ui-subgrid td.subgrid-data {border-top:  0px none !important;}
-.ui-jqgrid .ui-subgrid td.subgrid-cell {border-width: 0px 0px 1px 0px;}
+.ui-jqgrid .ui-subgrid td.subgrid-data {border-top:  0 none !important;}
+.ui-jqgrid .ui-subgrid td.subgrid-cell {border-width: 0 0 1px 0;}
 .ui-jqgrid .ui-th-subgrid {height:20px;}
-
 /* loading */
-.ui-jqgrid .loading {position: absolute; top: 45%;left: 45%;width: 
auto;z-index:101;padding: 6px; margin: 5px;text-align: center;font-weight: 
bold;display: none;border-width: 2px !important;}
+.ui-jqgrid .loading {position: absolute; top: 45%;left: 45%;width: 
auto;z-index:101;padding: 6px; margin: 5px;text-align: center;font-weight: 
bold;display: none;border-width: 2px !important; font-size:11px;}
 .ui-jqgrid .jqgrid-overlay {display:none;z-index:100;}
-* html .jqgrid-overlay {width: 
expression(this.parentNode.offsetWidth+'px');height: 
expression(this.parentNode.offsetHeight+'px');}
-* .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;width: 
expression(this.parentNode.offsetWidth+'px');height: 
expression(this.parentNode.offsetHeight+'px');}
+/* IE * html .jqgrid-overlay {width: 
expression(this.parentNode.offsetWidth+'px');height: 
expression(this.parentNode.offsetHeight+'px');} */
+* .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;}
+/* IE width: expression(this.parentNode.offsetWidth+'px');height: 
expression(this.parentNode.offsetHeight+'px');}*/
 /* end loading div */
-
 /* toolbar */
-.ui-jqgrid .ui-userdata {border-left: 0px none;        border-right: 0px none; 
height : 21px;overflow: hidden; }
-
+.ui-jqgrid .ui-userdata {border-left: 0 none;    border-right: 0 none; height 
: 21px;overflow: hidden; }
 /*Modal Window */
 .ui-jqdialog { display: none; width: 300px; position: absolute; padding: .2em; 
font-size:11px; overflow:visible;}
 .ui-jqdialog .ui-jqdialog-titlebar { padding: .3em .2em; position: relative;  }
 .ui-jqdialog .ui-jqdialog-title { margin: .1em 0 .2em; } 
-.ui-jqdialog .ui-jqdialog-titlebar-close { position: absolute;  top: 50%; 
width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
+.ui-jqdialog .ui-jqdialog-titlebar-close { position: absolute;  top: 50%; 
width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; cursor:pointer;}
+
 .ui-jqdialog .ui-jqdialog-titlebar-close span { display: block; margin: 1px; }
 .ui-jqdialog .ui-jqdialog-titlebar-close:hover, .ui-jqdialog 
.ui-jqdialog-titlebar-close:focus { padding: 0; }
 .ui-jqdialog-content, .ui-jqdialog .ui-jqdialog-content { border: 0; padding: 
.3em .2em; background: none; height:auto;}
 .ui-jqdialog .ui-jqconfirm {padding: .4em 1em; 
border-width:3px;position:absolute;bottom:10px;right:10px;overflow:visible;display:none;height:80px;width:220px;text-align:center;}
+.ui-jqdialog>.ui-resizable-se { bottom: -3px; right: -3px}
+.ui-jqgrid>.ui-resizable-se { bottom: -3px; right: -3px }
 /* end Modal window*/
-
 /* Form edit */
-.ui-jqdialog-content .FormGrid {margin: 0px;}
-.ui-jqdialog-content .EditTable { width: 100%; margin-bottom:0em;}
-.ui-jqdialog-content .DelTable { width: 100%; margin-bottom:0em;}
-.EditTable td input, .EditTable td select, .EditTable td textarea {margin: 
0em;}
+.ui-jqdialog-content .FormGrid {margin: 0;}
+.ui-jqdialog-content .EditTable { width: 100%; margin-bottom:0;}
+.ui-jqdialog-content .DelTable { width: 100%; margin-bottom:0;}
+.EditTable td input, .EditTable td select, .EditTable td textarea {margin: 0;}
 .EditTable td textarea { width:auto; height:auto;}
-.ui-jqdialog-content td.EditButton {text-align: right;border-top: 0px 
none;border-left: 0px none;border-right: 0px none; padding-bottom:5px; 
padding-top:5px;}
-.ui-jqdialog-content td.navButton {text-align: center; border-left: 0px 
none;border-top: 0px none;border-right: 0px none; padding-bottom:5px; 
padding-top:5px;}
-.ui-jqdialog-content .CaptionTD {text-align: left; vertical-align: 
top;border-left: 0px none;border-right: 0px none; border-bottom: 0px none; 
padding: 1px;white-space: nowrap;}
-.ui-jqdialog-content .DataTD {padding: 1px;border-left: 0px none;border-right: 
0px none; border-bottom: 0px none; vertical-align: top;}
+.ui-jqdialog-content td.EditButton {text-align: right;border-top: 0 
none;border-left: 0 none;border-right: 0 none; padding-bottom:5px; 
padding-top:5px;}
+.ui-jqdialog-content td.navButton {text-align: center; border-left: 0 
none;border-top: 0 none;border-right: 0 none; padding-bottom:5px; 
padding-top:5px;}
+.ui-jqdialog-content input.FormElement {padding:.3em}
+.ui-jqdialog-content select.FormElement {padding:.3em}
+.ui-jqdialog-content .data-line {padding-top:.1em;border: 0 none;}
+
+.ui-jqdialog-content .CaptionTD {vertical-align: middle;border: 0 none; 
padding: 2px;white-space: nowrap;}
+.ui-jqdialog-content .DataTD {padding: 2px; border: 0 none; vertical-align: 
top;}
 .ui-jqdialog-content .form-view-data {white-space:pre}
 .fm-button { display: inline-block; margin:0 4px 0 0; padding: .4em .5em; 
text-decoration:none !important; cursor:pointer; position: relative; 
text-align: center; zoom: 1; }
 .fm-button-icon-left { padding-left: 1.9em; }
@@ -184,29 +123,49 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}
 .fm-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; 
position: absolute; top: 50%; margin-top: -8px;}
 #nData, #pData { float: left; margin:3px;padding: 0; width: 15px; }
 /* End Eorm edit */
-
 /*.ui-jqgrid .edit-cell {}*/
-.ui-jqgrid .selected-row, div.ui-jqgrid .selected-row td {font-style : 
normal;border-left: 0px none;}
-
+.ui-jqgrid .selected-row, div.ui-jqgrid .selected-row td {font-style : 
normal;border-left: 0 none;}
+/* inline edit actions button*/
+.ui-inline-del.ui-state-hover span, .ui-inline-edit.ui-state-hover span,
+.ui-inline-save.ui-state-hover span, .ui-inline-cancel.ui-state-hover span {
+    margin: -1px;
+}
 /* Tree Grid */
 .ui-jqgrid .tree-wrap {float: left; position: relative;height: 
18px;white-space: nowrap;overflow: hidden;}
 .ui-jqgrid .tree-minus {position: absolute; height: 18px; width: 18px; 
overflow: hidden;}
 .ui-jqgrid .tree-plus {position: absolute;     height: 18px; width: 18px;      
overflow: hidden;}
 .ui-jqgrid .tree-leaf {position: absolute;     height: 18px; width: 
18px;overflow: hidden;}
 .ui-jqgrid .treeclick {cursor: pointer;}
-
 /* moda dialog */
-.jqmOverlay { background-color: #000; }
-* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;width: 
expression(this.parentNode.offsetWidth+'px');height: 
expression(this.parentNode.offsetHeight+'px');}
+* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;}
+/*      width: expression(this.parentNode.offsetWidth+'px');height: 
expression(this.parentNode.offsetHeight+'px');}*/
 .ui-jqgrid-dnd tr td {border-right-width: 1px; border-right-color: inherit; 
border-right-style: solid; height:20px}
-
 /* RTL Support */
-.ui-jqgrid .ui-jqgrid-title-rtl {float:right;margin: .1em 0 .2em; }
+.ui-jqgrid .ui-jqgrid-caption-rtl {text-align: right;}
 .ui-jqgrid .ui-jqgrid-hbox-rtl {float: right; padding-left: 20px;}
-.ui-jqgrid .ui-jqgrid-resize-ltr {float: right;margin: -2px -2px -2px 0px;}
-.ui-jqgrid .ui-jqgrid-resize-rtl {float: left;margin: -2px 0px -1px -3px;}
-.ui-jqgrid .ui-sort-rtl {left:0px;}
+.ui-jqgrid .ui-jqgrid-resize-ltr {float: right;margin: -2px -2px -2px 0;}
+.ui-jqgrid .ui-jqgrid-resize-rtl {float: left;margin: -2px 0 -1px -3px;}
+.ui-jqgrid .ui-sort-rtl {left:0;}
 .ui-jqgrid .tree-wrap-ltr {float: left;}
 .ui-jqgrid .tree-wrap-rtl {float: right;}
-.ui-jqgrid .ui-ellipsis {text-overflow:ellipsis; 
-moz-binding:url('ellipsis-xbl.xml#ellipsis');}
-
+.ui-jqgrid .ui-ellipsis {-moz-text-overflow:ellipsis;text-overflow:ellipsis;}
+
+/* Toolbar Search Menu */
+.ui-search-menu { position: absolute; padding: 2px 5px;}
+.ui-jqgrid .ui-search-table { padding: 0; border: 0 none; height:20px; 
width:100%;}
+.ui-jqgrid .ui-search-table .ui-search-oper { width:20px; }
+a.g-menu-item, a.soptclass, a.clearsearchclass { cursor: pointer; }
+.ui-jqgrid .ui-search-table .ui-search-input>input,
+.ui-jqgrid .ui-search-table .ui-search-input>select
+{
+    display: block;
+    -moz-box-sizing: border-box;
+    -webkit-box-sizing: border-box;
+    box-sizing: border-box;
+} 
+.ui-jqgrid .ui-jqgrid-view input,
+.ui-jqgrid .ui-jqgrid-view select,
+.ui-jqgrid .ui-jqgrid-view textarea,
+.ui-jqgrid .ui-jqgrid-view button {
+    font-size: 11px
+}

http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d7b1113a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/js/i18n/grid.locale-en.js
----------------------------------------------------------------------
diff --git 
a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/js/i18n/grid.locale-en.js
 
b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/js/i18n/grid.locale-en.js
old mode 100755
new mode 100644
index 7b12acf..6929885
--- 
a/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/js/i18n/grid.locale-en.js
+++ 
b/nar-bundles/monitor-threshold-bundle/ui/src/main/webapp/js/jquery/jqgrid/js/i18n/grid.locale-en.js
@@ -1,5 +1,170 @@
-(function (a) {
-    a.jgrid = {defaults: {recordtext: "View {0} - {1} of {2}", emptyrecords: 
"No records to view", loadtext: "Loading...", pgtext: "Page {0} of {1}"}, 
search: {caption: "Search...", Find: "Find", Reset: "Reset", odata: ["equal", 
"not equal", "less", "less or equal", "greater", "greater or equal", "begins 
with", "does not begin with", "is in", "is not in", "ends with", "does not end 
with", "contains", "does not contain"], groupOps: [{op: "AND", text: "all"}, 
{op: "OR", text: "any"}], matchText: " match", rulesText: " rules"}, edit: 
{addCaption: "Add Record", editCaption: "Edit Record", bSubmit: "Submit", 
bCancel: "Cancel", bClose: "Close", saveData: "Data has been changed! Save 
changes?", bYes: "Yes", bNo: "No", bExit: "Cancel", msg: {required: "Field is 
required", number: "Please, enter valid number", minValue: "value must be 
greater than or equal to ", maxValue: "value must be less than or equal to", 
email: "is not a valid e-mail", integer: "Please, enter valid integer value", 
date
 : "Please, enter valid date value", url: "is not a valid URL. Prefix required 
('http://' or 'https://')", nodefined: " is not defined!", novalue: " return 
value is required!", customarray: "Custom function should return array!", 
customfcheck: "Custom function should be present in case of custom 
checking!"}}, view: {caption: "View Record", bClose: "Close"}, del: {caption: 
"Delete", msg: "Delete selected record(s)?", bSubmit: "Delete", bCancel: 
"Cancel"}, nav: {edittext: "", edittitle: "Edit selected row", addtext: "", 
addtitle: "Add new row", deltext: "", deltitle: "Delete selected row", 
searchtext: "", searchtitle: "Find records", refreshtext: "", refreshtitle: 
"Reload Grid", alertcap: "Warning", alerttext: "Please, select row", viewtext: 
"", viewtitle: "View selected row"}, col: {caption: "Select columns", bSubmit: 
"Ok", bCancel: "Cancel"}, errors: {errcap: "Error", nourl: "No url is set", 
norecords: "No records to process", model: "Length of colNames <> colModel!"}, 
formatter: {in
 teger: {thousandsSeparator: " ", defaultValue: "0"}, number: 
{decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, 
defaultValue: "0.00"}, currency: {decimalSeparator: ".", thousandsSeparator: " 
", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00"}, date: 
{dayNames: ["Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat", "Sunday", 
"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], 
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", 
"Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", 
"July", "August", "September", "October", "November", "December"], AmPm: ["am", 
"pm", "AM", "PM"], S: function (b) {
-                    return b < 11 || b > 13 ? ["st", "nd", "rd", 
"th"][Math.min((b - 1) % 10, 3)] : "th"
-                }, srcformat: "Y-m-d", newformat: "d/m/Y", masks: 
{ISO8601Long: "Y-m-d H:i:s", ISO8601Short: "Y-m-d", ShortDate: "n/j/Y", 
LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", 
ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", 
UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y"}, 
reformatAfterEdit: false}, baseLinkUrl: "", showAction: "", target: "", 
checkbox: {disabled: true}, idName: "id"}}
-})(jQuery);
\ No newline at end of file
+;(function($){
+/**
+ * jqGrid English Translation
+ * Tony Tomov t...@trirand.com
+ * http://trirand.com/blog/ 
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+**/
+$.jgrid = $.jgrid || {};
+$.extend($.jgrid,{
+       defaults : {
+               recordtext: "View {0} - {1} of {2}",
+               emptyrecords: "No records to view",
+               loadtext: "Loading...",
+               pgtext : "Page {0} of {1}"
+       },
+       search : {
+               caption: "Search...",
+               Find: "Find",
+               Reset: "Reset",
+               odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not 
equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ 
oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', 
text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', 
text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ 
oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', 
text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not 
null'}],
+               groupOps: [{ op: "AND", text: "all" },{ op: "OR",  text: "any" 
}],
+               operandTitle : "Click to select search operation.",
+               resetTitle : "Reset Search Value"
+       },
+       edit : {
+               addCaption: "Add Record",
+               editCaption: "Edit Record",
+               bSubmit: "Submit",
+               bCancel: "Cancel",
+               bClose: "Close",
+               saveData: "Data has been changed! Save changes?",
+               bYes : "Yes",
+               bNo : "No",
+               bExit : "Cancel",
+               msg: {
+                       required:"Field is required",
+                       number:"Please, enter valid number",
+                       minValue:"value must be greater than or equal to ",
+                       maxValue:"value must be less than or equal to",
+                       email: "is not a valid e-mail",
+                       integer: "Please, enter valid integer value",
+                       date: "Please, enter valid date value",
+                       url: "is not a valid URL. Prefix required ('http://' or 
'https://')",
+                       nodefined : " is not defined!",
+                       novalue : " return value is required!",
+                       customarray : "Custom function should return array!",
+                       customfcheck : "Custom function should be present in 
case of custom checking!"
+                       
+               }
+       },
+       view : {
+               caption: "View Record",
+               bClose: "Close"
+       },
+       del : {
+               caption: "Delete",
+               msg: "Delete selected record(s)?",
+               bSubmit: "Delete",
+               bCancel: "Cancel"
+       },
+       nav : {
+               edittext: "",
+               edittitle: "Edit selected row",
+               addtext:"",
+               addtitle: "Add new row",
+               deltext: "",
+               deltitle: "Delete selected row",
+               searchtext: "",
+               searchtitle: "Find records",
+               refreshtext: "",
+               refreshtitle: "Reload Grid",
+               alertcap: "Warning",
+               alerttext: "Please, select row",
+               viewtext: "",
+               viewtitle: "View selected row"
+       },
+       col : {
+               caption: "Select columns",
+               bSubmit: "Ok",
+               bCancel: "Cancel"
+       },
+       errors : {
+               errcap : "Error",
+               nourl : "No url is set",
+               norecords: "No records to process",
+               model : "Length of colNames <> colModel!"
+       },
+       formatter : {
+               integer : {thousandsSeparator: ",", defaultValue: '0'},
+               number : {decimalSeparator:".", thousandsSeparator: ",", 
decimalPlaces: 2, defaultValue: '0.00'},
+               currency : {decimalSeparator:".", thousandsSeparator: ",", 
decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
+               date : {
+                       dayNames:   [
+                               "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
+                               "Sunday", "Monday", "Tuesday", "Wednesday", 
"Thursday", "Friday", "Saturday"
+                       ],
+                       monthNames: [
+                               "Jan", "Feb", "Mar", "Apr", "May", "Jun", 
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
+                               "January", "February", "March", "April", "May", 
"June", "July", "August", "September", "October", "November", "December"
+                       ],
+                       AmPm : ["am","pm","AM","PM"],
+                       S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 
'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
+                       srcformat: 'Y-m-d',
+                       newformat: 'n/j/Y',
+                       parseRe : /[#%\\\/:_;.,\t\s-]/,
+                       masks : {
+                               // see 
http://php.net/manual/en/function.date.php for PHP format used in jqGrid
+                               // and see 
http://docs.jquery.com/UI/Datepicker/formatDate
+                               // and 
https://github.com/jquery/globalize#dates for alternative formats used 
frequently
+                               // one can find on 
https://github.com/jquery/globalize/tree/master/lib/cultures many
+                               // information about date, time, numbers and 
currency formats used in different countries
+                               // one should just convert the information in 
PHP format
+                               ISO8601Long:"Y-m-d H:i:s",
+                               ISO8601Short:"Y-m-d",
+                               // short date:
+                               //    n - Numeric representation of a month, 
without leading zeros
+                               //    j - Day of the month without leading zeros
+                               //    Y - A full numeric representation of a 
year, 4 digits
+                               // example: 3/1/2012 which means 1 March 2012
+                               ShortDate: "n/j/Y", // in jQuery UI Datepicker: 
"M/d/yyyy"
+                               // long date:
+                               //    l - A full textual representation of the 
day of the week
+                               //    F - A full textual representation of a 
month
+                               //    d - Day of the month, 2 digits with 
leading zeros
+                               //    Y - A full numeric representation of a 
year, 4 digits
+                               LongDate: "l, F d, Y", // in jQuery UI 
Datepicker: "dddd, MMMM dd, yyyy"
+                               // long date with long time:
+                               //    l - A full textual representation of the 
day of the week
+                               //    F - A full textual representation of a 
month
+                               //    d - Day of the month, 2 digits with 
leading zeros
+                               //    Y - A full numeric representation of a 
year, 4 digits
+                               //    g - 12-hour format of an hour without 
leading zeros
+                               //    i - Minutes with leading zeros
+                               //    s - Seconds, with leading zeros
+                               //    A - Uppercase Ante meridiem and Post 
meridiem (AM or PM)
+                               FullDateTime: "l, F d, Y g:i:s A", // in jQuery 
UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
+                               // month day:
+                               //    F - A full textual representation of a 
month
+                               //    d - Day of the month, 2 digits with 
leading zeros
+                               MonthDay: "F d", // in jQuery UI Datepicker: 
"MMMM dd"
+                               // short time (without seconds)
+                               //    g - 12-hour format of an hour without 
leading zeros
+                               //    i - Minutes with leading zeros
+                               //    A - Uppercase Ante meridiem and Post 
meridiem (AM or PM)
+                               ShortTime: "g:i A", // in jQuery UI Datepicker: 
"h:mm tt"
+                               // long time (with seconds)
+                               //    g - 12-hour format of an hour without 
leading zeros
+                               //    i - Minutes with leading zeros
+                               //    s - Seconds, with leading zeros
+                               //    A - Uppercase Ante meridiem and Post 
meridiem (AM or PM)
+                               LongTime: "g:i:s A", // in jQuery UI 
Datepicker: "h:mm:ss tt"
+                               SortableDateTime: "Y-m-d\\TH:i:s",
+                               UniversalSortableDateTime: "Y-m-d H:i:sO",
+                               // month with year
+                               //    Y - A full numeric representation of a 
year, 4 digits
+                               //    F - A full textual representation of a 
month
+                               YearMonth: "F, Y" // in jQuery UI Datepicker: 
"MMMM, yyyy"
+                       },
+                       reformatAfterEdit : false
+               },
+               baseLinkUrl: '',
+               showAction: '',
+               target: '',
+               checkbox : {disabled:true},
+               idName : 'id'
+       }
+});
+})(jQuery);

Reply via email to