Commit 95c7a1ff authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

update jQuery grid plugin : 4.4.1.

move translation files under i18n directory.
parent 7b964df7
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>i18n</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts30690458.97</string> </value>
<value> <string>ts58176408.54</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -35,7 +35,8 @@
* http://www.opensource.org/licenses/mit-license.php\r\n
* http://www.gnu.org/licenses/gpl.html\r\n
**/\r\n
$.jgrid = {\r\n
$.jgrid = $.jgrid || {};\r\n
$.extend($.jgrid,{\r\n
\tdefaults : {\r\n
\t\trecordtext: "View {0} - {1} of {2}",\r\n
\t\temptyrecords: "No records to view",\r\n
......@@ -115,9 +116,9 @@ $.jgrid = {\r\n
\t\tmodel : "Length of colNames <> colModel!"\r\n
\t},\r\n
\tformatter : {\r\n
\t\tinteger : {thousandsSeparator: " ", defaultValue: \'0\'},\r\n
\t\tnumber : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: \'0.00\'},\r\n
\t\tcurrency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: \'0.00\'},\r\n
\t\tinteger : {thousandsSeparator: ",", defaultValue: \'0\'},\r\n
\t\tnumber : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: \'0.00\'},\r\n
\t\tcurrency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: \'0.00\'},\r\n
\t\tdate : {\r\n
\t\t\tdayNames: [\r\n
\t\t\t\t"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",\r\n
......@@ -128,21 +129,61 @@ $.jgrid = {\r\n
\t\t\t\t"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"\r\n
\t\t\t],\r\n
\t\t\tAmPm : ["am","pm","AM","PM"],\r\n
\t\t\tS: function (j) {return j < 11 || j > 13 ? [\'st\', \'nd\', \'rd\', \'th\'][Math.min((j - 1) % 10, 3)] : \'th\'},\r\n
\t\t\tS: function (j) {return j < 11 || j > 13 ? [\'st\', \'nd\', \'rd\', \'th\'][Math.min((j - 1) % 10, 3)] : \'th\';},\r\n
\t\t\tsrcformat: \'Y-m-d\',\r\n
\t\t\tnewformat: \'d/m/Y\',\r\n
\t\t\tnewformat: \'n/j/Y\',\r\n
\t\t\tmasks : {\r\n
\t\t\t\t// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid\r\n
\t\t\t\t// and see http://docs.jquery.com/UI/Datepicker/formatDate\r\n
\t\t\t\t// and https://github.com/jquery/globalize#dates for alternative formats used frequently\r\n
\t\t\t\t// one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many\r\n
\t\t\t\t// information about date, time, numbers and currency formats used in different countries\r\n
\t\t\t\t// one should just convert the information in PHP format\r\n
\t\t\t\tISO8601Long:"Y-m-d H:i:s",\r\n
\t\t\t\tISO8601Short:"Y-m-d",\r\n
\t\t\t\tShortDate: "n/j/Y",\r\n
\t\t\t\tLongDate: "l, F d, Y",\r\n
\t\t\t\tFullDateTime: "l, F d, Y g:i:s A",\r\n
\t\t\t\tMonthDay: "F d",\r\n
\t\t\t\tShortTime: "g:i A",\r\n
\t\t\t\tLongTime: "g:i:s A",\r\n
\t\t\t\t// short date:\r\n
\t\t\t\t// n - Numeric representation of a month, without leading zeros\r\n
\t\t\t\t// j - Day of the month without leading zeros\r\n
\t\t\t\t// Y - A full numeric representation of a year, 4 digits\r\n
\t\t\t\t// example: 3/1/2012 which means 1 March 2012\r\n
\t\t\t\tShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"\r\n
\t\t\t\t// long date:\r\n
\t\t\t\t// l - A full textual representation of the day of the week\r\n
\t\t\t\t// F - A full textual representation of a month\r\n
\t\t\t\t// d - Day of the month, 2 digits with leading zeros\r\n
\t\t\t\t// Y - A full numeric representation of a year, 4 digits\r\n
\t\t\t\tLongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"\r\n
\t\t\t\t// long date with long time:\r\n
\t\t\t\t// l - A full textual representation of the day of the week\r\n
\t\t\t\t// F - A full textual representation of a month\r\n
\t\t\t\t// d - Day of the month, 2 digits with leading zeros\r\n
\t\t\t\t// Y - A full numeric representation of a year, 4 digits\r\n
\t\t\t\t// g - 12-hour format of an hour without leading zeros\r\n
\t\t\t\t// i - Minutes with leading zeros\r\n
\t\t\t\t// s - Seconds, with leading zeros\r\n
\t\t\t\t// A - Uppercase Ante meridiem and Post meridiem (AM or PM)\r\n
\t\t\t\tFullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"\r\n
\t\t\t\t// month day:\r\n
\t\t\t\t// F - A full textual representation of a month\r\n
\t\t\t\t// d - Day of the month, 2 digits with leading zeros\r\n
\t\t\t\tMonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"\r\n
\t\t\t\t// short time (without seconds)\r\n
\t\t\t\t// g - 12-hour format of an hour without leading zeros\r\n
\t\t\t\t// i - Minutes with leading zeros\r\n
\t\t\t\t// A - Uppercase Ante meridiem and Post meridiem (AM or PM)\r\n
\t\t\t\tShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"\r\n
\t\t\t\t// long time (with seconds)\r\n
\t\t\t\t// g - 12-hour format of an hour without leading zeros\r\n
\t\t\t\t// i - Minutes with leading zeros\r\n
\t\t\t\t// s - Seconds, with leading zeros\r\n
\t\t\t\t// A - Uppercase Ante meridiem and Post meridiem (AM or PM)\r\n
\t\t\t\tLongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"\r\n
\t\t\t\tSortableDateTime: "Y-m-d\\\\TH:i:s",\r\n
\t\t\t\tUniversalSortableDateTime: "Y-m-d H:i:sO",\r\n
\t\t\t\tYearMonth: "F, Y"\r\n
\t\t\t\t// month with year\r\n
\t\t\t\t// Y - A full numeric representation of a year, 4 digits\r\n
\t\t\t\t// F - A full textual representation of a month\r\n
\t\t\t\tYearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"\r\n
\t\t\t},\r\n
\t\t\treformatAfterEdit : false\r\n
\t\t},\r\n
......@@ -152,7 +193,7 @@ $.jgrid = {\r\n
\t\tcheckbox : {disabled:true},\r\n
\t\tidName : \'id\'\r\n
\t}\r\n
};\r\n
});\r\n
})(jQuery);\r\n
......@@ -164,7 +205,7 @@ $.jgrid = {\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>3927</int> </value>
<value> <int>6531</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts34648236.68</string> </value>
<value> <string>ts58176414.84</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -46,9 +46,9 @@ $.extend($.jgrid,{\r\n
\tsearch : {\r\n
\t\tcaption: "Recherche...",\r\n
\t\tFind: "Chercher",\r\n
\t\tReset: "Annuler",\r\n
\t\tReset: "Réinitialiser",\r\n
\t\todata : [\'égal\', \'différent\', \'inférieur\', \'inférieur ou égal\',\'supérieur\',\'supérieur ou égal\', \'commence par\',\'ne commence pas par\',\'est dans\',"n\'est pas dans",\'finit par\',\'ne finit pas par\',\'contient\',\'ne contient pas\'],\r\n
\t\tgroupOps: [\t{ op: "AND", text: "tous" },\t{ op: "OR", text: "aucun" }\t],\r\n
\t\tgroupOps: [\t{ op: "AND", text: "tous" },\t{ op: "OR", text: "au moins un" }\t],\r\n
\t\tmatchText: " correspondance",\r\n
\t\trulesText: " règles"\r\n
\t},\r\n
......@@ -163,7 +163,7 @@ $.extend($.jgrid,{\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>4273</int> </value>
<value> <int>4286</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts30690424.51</string> </value>
<value> <string>ts58176310.37</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -25,8 +25,8 @@
<item>
<key> <string>data</string> </key>
<value> <string>/*Grid*/\r\n
.ui-jqgrid {position: relative; font-size:11px;}\r\n
.ui-jqgrid .ui-jqgrid-view {position: relative;left:0px; top: 0px; padding: .0em;}\r\n
.ui-jqgrid {position: relative;}\r\n
.ui-jqgrid .ui-jqgrid-view {position: relative;left:0px; top: 0px; padding: .0em; font-size:11px;}\r\n
/* caption*/\r\n
.ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: relative; border-left: 0px none;border-right: 0px none; border-top: 0px none;}\r\n
.ui-jqgrid .ui-jqgrid-title { float: left; margin: .1em 0 .2em; }\r\n
......@@ -66,7 +66,7 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}\r\n
.ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}\r\n
.ui-jqgrid tr.ui-row-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}\r\n
.ui-jqgrid td.jqgrid-rownum { padding: 0 2px 0 2px; margin: 0px; border: 0px none;}\r\n
.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;\tborder:0 none;}\r\n
.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;}\r\n
/* footer */\r\n
.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;}\r\n
.ui-jqgrid .ui-jqgrid-ftable {table-layout:fixed; margin-bottom:0em;}\r\n
......@@ -74,7 +74,7 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}\r\n
.ui-jqgrid tr.footrow-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}\r\n
.ui-jqgrid tr.footrow-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}\r\n
/* Pager*/\r\n
.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;}\r\n
.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;font-size:11px;}\r\n
.ui-jqgrid .ui-pager-control {position: relative;}\r\n
.ui-jqgrid .ui-pg-table {position: relative; padding-bottom:2px; width:auto; margin: 0em;}\r\n
.ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle; padding:1px;}\r\n
......@@ -86,12 +86,15 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}\r\n
.ui-jqgrid .ui-pg-selbox {font-size:.8em; line-height:18px; display:block; height:18px; margin: 0em;}\r\n
.ui-jqgrid .ui-separator {height: 18px; border-left: 1px solid #ccc ; border-right: 1px solid #ccc ; margin: 1px; float: right;}\r\n
.ui-jqgrid .ui-paging-info {font-weight: normal;height:19px; margin-top:3px;margin-right:4px;}\r\n
.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;}\r\n
.ui-jqgrid .ui-jqgrid-pager .ui-pg-div {padding:1px 0;float:left;position:relative;}\r\n
.ui-jqgrid .ui-jqgrid-pager .ui-pg-button { cursor:pointer; }\r\n
.ui-jqgrid .ui-jqgrid-pager .ui-pg-div span.ui-icon {float:left;margin:0 2px;}\r\n
.ui-jqgrid td input, .ui-jqgrid td select .ui-jqgrid td textarea { margin: 0em;}\r\n
.ui-jqgrid td textarea {width:auto;height:auto;}\r\n
.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;}\r\n
.ui-jqgrid .ui-jqgrid-toppager .ui-pg-div {padding:1px 0;float:left;position:relative;}\r\n
.ui-jqgrid .ui-jqgrid-toppager .ui-pg-button { cursor:pointer; }\r\n
.ui-jqgrid .ui-jqgrid-toppager .ui-pg-div span.ui-icon {float:left;margin:0 2px;}\r\n
/*subgrid*/\r\n
.ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span {display: block;}\r\n
.ui-jqgrid .ui-subgrid {margin:0em;padding:0em; width:100%;}\r\n
......@@ -101,7 +104,7 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}\r\n
.ui-jqgrid .ui-subgrid td.subgrid-cell {border-width: 0px 0px 1px 0px;}\r\n
.ui-jqgrid .ui-th-subgrid {height:20px;}\r\n
/* loading */\r\n
.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;}\r\n
.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;}\r\n
.ui-jqgrid .jqgrid-overlay {display:none;z-index:100;}\r\n
* html .jqgrid-overlay {width: expression(this.parentNode.offsetWidth+\'px\');height: expression(this.parentNode.offsetHeight+\'px\');}\r\n
* .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+\'px\');height: expression(this.parentNode.offsetHeight+\'px\');}\r\n
......@@ -130,7 +133,7 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}\r\n
.ui-jqdialog-content input.FormElement {padding:.3em}\r\n
.ui-jqdialog-content .data-line {padding-top:.1em;border: 0px none;}\r\n
\r\n
.ui-jqdialog-content .CaptionTD {text-align: left; vertical-align: middle;border: 0px none; padding: 2px;white-space: nowrap;}\r\n
.ui-jqdialog-content .CaptionTD {vertical-align: middle;border: 0px none; padding: 2px;white-space: nowrap;}\r\n
.ui-jqdialog-content .DataTD {padding: 2px; border: 0px none; vertical-align: top;}\r\n
.ui-jqdialog-content .form-view-data {white-space:pre}\r\n
.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; }\r\n
......@@ -142,6 +145,11 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}\r\n
/* End Eorm edit */\r\n
/*.ui-jqgrid .edit-cell {}*/\r\n
.ui-jqgrid .selected-row, div.ui-jqgrid .selected-row td {font-style : normal;border-left: 0px none;}\r\n
/* inline edit actions button*/\r\n
.ui-inline-del.ui-state-hover span, .ui-inline-edit.ui-state-hover span,\r\n
.ui-inline-save.ui-state-hover span, .ui-inline-cancel.ui-state-hover span {\r\n
margin: -1px;\r\n
}\r\n
/* Tree Grid */\r\n
.ui-jqgrid .tree-wrap {float: left; position: relative;height: 18px;white-space: nowrap;overflow: hidden;}\r\n
.ui-jqgrid .tree-minus {position: absolute; height: 18px; width: 18px; overflow: hidden;}\r\n
......@@ -159,7 +167,7 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}\r\n
.ui-jqgrid .ui-sort-rtl {left:0px;}\r\n
.ui-jqgrid .tree-wrap-ltr {float: left;}\r\n
.ui-jqgrid .tree-wrap-rtl {float: right;}\r\n
.ui-jqgrid .ui-ellipsis {text-overflow:ellipsis; -moz-binding:url(\'ellipsis-xbl.xml#ellipsis\');}\r\n
.ui-jqgrid .ui-ellipsis {text-overflow:ellipsis;}\r\n
</string> </value>
</item>
<item>
......@@ -168,7 +176,7 @@ tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>11841</int> </value>
<value> <int>12198</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
This Business Template contains only static files of JQuery's jqGrid Plugin.
\ No newline at end of file
This Business Template contains only static files of JQuery's jqGrid Plugin 4.4.1.
* http://www.trirand.com/blog/
\ No newline at end of file
GPL
\ No newline at end of file
MIT/GPL
\ No newline at end of file
2
\ No newline at end of file
3
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment