Added jqGrid 3.4.4 and started the work to upgrade our table to use it. The work is by no means done, but it is at leasting working to some degree. I have some customer changes in mind and want to switch gears, so I'm checking in.

git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@103 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-13 03:51:29 +00:00
parent cbdd198be5
commit 3fb680e20f
291 changed files with 11977 additions and 52 deletions

View File

@@ -102,11 +102,160 @@ class CustomersController extends AppController {
function all() {
$title = 'All Customers';
$this->set('title', $title); $this->set('heading', $title);
$this->set('customers', $this->paginate());
$this->render('index');
}
/**************************************************************************
**************************************************************************
**************************************************************************
* action: data
* -
*/
function data($fields_str) {
/* pr(array('fields' => $fields, */
/* 'explode' => explode(";", $fields_str))); */
$fields = explode(";", $fields_str);
//$fields=array();
/* foreach (explode(";", $fields_str) AS $i => $field) { */
/* pr(array('field' => $field, */
/* 'explode' => explode(".", $field))); */
/* list($tbl, $col) = explode(".", $field); */
/* unset($fields[$i]); */
/* $fields[$tbl][] = $field; */
/* } */
//pr(array('fields' => $fields));
$debug = true;
if (isset($this->passedArgs['debug']))
$debug = $this->passedArgs['debug'];
$this->autoRender = false;
if (!$debug) {
$this->layout = null;
$this->autoLayout = false;
$this->autoRender = false;
Configure::write('debug', '0');
}
$page = 1; // page number
$rows = 20; // rows in the grid - rowNum parameter
$sidx = 'Customer.id'; // sort column - index from colModel
$sord = 'ASC'; // sort order
if (isset($this->params['url']) && is_array($this->params['url']))
extract($this->params['url']);
// calculate the number of rows for the query. We need this for paging the result
$row = $this->Customer->findCount();
$count = $row;
// calculate the total pages for the query
if( $count > 0 ) {
$total_pages = ceil($count/$rows);
} else {
$total_pages = 0;
}
// if for some reasons the requested page is greater than the total
// set the requested page to total page
if ($page > $total_pages) $page=$total_pages;
// calculate the starting position of the rows
$start = $rows*$page - $rows;
// if for some reasons start position is negative set it to 0
// typical case is that the user type 0 for the requested page
if($start <0) $start = 0;
// the actual query for the grid data
$customers = $this->Customer->find
('all',
array('contain' => array
(// Models
/* 'Contact' => */
/* array(// Models */
/* 'ContactPhone', */
/* 'ContactEmail', */
/* 'ContactAddress', */
/* ), */
'Account' =>
array('fields' => array('Account.id')),
'CurrentLease' =>
array('fields' => array(),
'Unit' =>
array('fields' => array('name')),
),
),
//'link' => array('fields' => $fields),
'order' => "$sidx $sord",
'limit' => "$start, $rows",
));
//pr($customers);
if ($debug) {
ob_start();
}
else {
if ( stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml") ) {
header("Content-type: application/xhtml+xml;charset=utf-8");
} else {
header("Content-type: text/xml;charset=utf-8");
}
echo "<?xml version='1.0' encoding='utf-8'?>\n";
}
echo "<rows>\n";
/* echo " <parms>\n"; */
/* echo " <a><![CDATA[{$a}]]></a>\n"; */
/* echo " <b><![CDATA[{$b}]]></b>\n"; */
/* echo " <c><![CDATA[{$c}]]></c>\n"; */
/* echo " <d><![CDATA[{$d}]]></d>\n"; */
/* echo " <named><![CDATA[" . print_r($this->params, true) . "]]></named>\n"; */
/* echo " <passed><![CDATA[" . print_r($this->passedArgs, true) . "]]></passed>\n"; */
/* echo " </parms>\n"; */
echo " <page>".$page."</page>\n";
echo " <total>".$total_pages."</total>\n";
echo " <records>".$count."</records>\n";
// be sure to put text data in CDATA
foreach ($customers AS $customer) {
$customer['Customer']['units'] =
implode("; ",
array_map(create_function
('$lease', 'return $lease["Unit"]["name"];'),
$customer['CurrentLease']));
echo " <row id='{$customer['Customer']['id']}'>\n";
foreach ($fields AS $field) {
list($tbl, $col) = explode(".", $field);
echo " <cell><![CDATA[{$customer[$tbl][$col]}]]></cell>\n";
}
echo " </row>\n";
}
echo "</rows>\n";
if ($debug) {
$xml = ob_get_contents();
ob_end_clean();
$xml = preg_replace("/&/", "&amp;", $xml);
$xml = preg_replace("/</", "&lt;", $xml);
$xml = preg_replace("/>/", "&gt;", $xml);
echo ("\n<PRE>\n$xml\n</PRE>\n");
}
}
/**************************************************************************
**************************************************************************
**************************************************************************

447
vendors/css/jqGrid/basic/grid.css vendored Normal file
View File

@@ -0,0 +1,447 @@
.GridHeader {
}
.Header {
width: 100%;
}
.Header th {
font-size: 100%; font-weight: bold; text-align: left;
padding: 2px;
background-image: url(images/headerbg.gif) ;
color: #FFFFFF;
width: 100%;
white-space: nowrap;
}
.HeaderLeft {
background-image: url(images/headerleft.gif);
}
.HeaderRight {
background-image: url(images/headerright.gif);
}
.HeaderButton {
background-image: url(images/headerbg.gif);
}
.HeaderButton img{
width: 17px;
}
.HeaderLeft img{
width: 14px;
}
.HeaderRight img{
width: 10px;
}
.GridHeader table {margin:0;}
.GridHeader td, tr {padding:0;}
/* Grid */
table.scroll {
table-layout: fixed;
/*border-right: 1px solid #D4D0C8;*/
margin-bottom:0;
}
table.scroll tbody tr {
background-color: #ffffff;
}
table.scroll tbody tr.alt {
background-color: #F9F9F9;
}
table.scroll tr.over td{
background-color: #E1DCF4;
}
table.scroll tr.selected td {
background: #3d84cc;
color: White;
}
table.scroll tbody td {
padding: 2px;
text-align: left;
border-bottom: 1px solid #D4D0C8;
border-left: 1px solid #D4D0C8;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
height : auto;
}
table.scroll thead th {
padding: 2px;
border-bottom: 1px solid #CBC7B8;
border-left: 1px solid #D4D0C8;
text-align: left;
font-weight: normal;
overflow: hidden;
white-space: nowrap;
background-image: url(images/grid-blue-hd.gif);
height : 17px;
}
table.scroll th div {
overflow: hidden;
/* white-space: nowrap;*/
word-wrap: break-word;
height : 17px;
}
table.scroll th span {
cursor: e-resize;
/* border-right: 1px solid #D6D2C2; */
width: 10px;
float: right;
display: block;
margin: -2px -1px -2px 0px;
height: 17px;
overflow: hidden;
white-space: nowrap;
}
/* End Grid */
/* Pager */
div.scroll {
vertical-align: top;
height: 23px;
white-space: nowrap;
text-align: center;
background-image: url(images/grid-blue-ft.gif);
}
div.scroll span {
vertical-align : top;
}
.selbox {
font-size: x-small;
vertical-align : top;
}
input.selbox{
font-size: x-small;
vertical-align : top;
}
.pgbuttons {
margin-top :2px;
}
.nav-table-left {
padding:1px;
float: left;
/* position:absolute;*/
}
.nav-table-right {
padding:1px;
float: right;
}
table.navtable {margin-bottom:0; width: auto;}
table.navtable tr{
background-image: url(images/grid-blue-ft.gif);
}
table.navtable td.nav-button {
border: 1px solid #E2ECF8;
white-space: nowrap;
}
table.navtable td.nav-hover {
border: 1px solid #83B4D8;
}
table.tbutton tr td{
border : none;
padding:0px;
}
img.jsHover { /*not used */
border: 1px solid #99CCFF;
}
/* End Pager */
/*multiselect checkbox */
.cbox {
height: 10px;
width: 10px;
/*border:1px solid #999;*/
}
/* end multiselect */
/* loading div */
div.loading {
position: absolute;
padding: 3px;
text-align: center;
font-weight: bold;
background: red;
color: white;
display: none;
}
div.loadingui {
display:none;
z-index:6000;
position:absolute;
}
div.loadingui div.msgbox {
position: relative;
z-index:6001;
left: 35%;
top:45%;
background: url(images/loading.gif) no-repeat left;
width: 100px;
border: 2px solid #B2D2FF;
text-align: right;
height: auto;
padding:2px;
margin: 0px;
}
/* end loading div */
/* toolbar */
div.userdata {
margin-top: 0px;
background-color : #EAF9F9;
height : 20px;
overflow: hidden;
}
/* end toolbar */
/*Subgrid text mode*/
.subgrid {
height: 100%;
overflow: auto;
}
.tablediv {
background-color: White;
border-spacing: 1px; /*cellspacing:poor IE support for this*/
border-collapse: separate;
width:100%; /* FF hack poor when scroling subgrid */
}
.celldiv {
float: left;
display: table-cell;
border: 1px dotted #CCCCCC;
overflow: auto;
white-space: normal;
}
.celldivth {
float: left; /*fix for buggy browsers*/
border: 1px solid #CCCCCC;
background-color: #99CCFF;
border-bottom: 1px solid #CBC7B8;
text-align: left;
overflow: auto;
}
.rowdiv {
display: table-row;
background: #F9F9F9 none;
color: #000000;
width: 100%;
overflow:auto;
}
/* End Subgrid */
/* InLine editing */
input.editable[type="text"] {
font-size: x-small;
overflow: hidden;
height : 15px;
}
input.editable[type="checkbox"] {
}
textarea.editable {
overflow: hidden;
}
select.editable {
font-size: x-small;
}
/* End Inline Editing */
/*Modal Window */
.modaltext{
text-align : left;
}
.modalwin{
border:1px solid #555555;
background:#F9F9F9;
text-align:left;
margin: 0 auto;
overflow: auto;
}
.modalhead {
background-image: url(images/grid-blue-hd.gif);
height: 20px;
}
.modalcontent {
overflow: auto;
margin-bottom: 9px;
margin-left: 5px;
}
/* end Modal window*/
/* Search window */
input.search {
margin: 2px;
width: 70px;
font-size: 10px;
color: #15428B;
}
select.search {
margin: 2px;
width: 70px;
font-size: 10px;
color: #15428B;
}
.buttonsearch {
width : 50px;
font-size: 10px;
color: #15428B;
}
/*End search */
/* Form edit */
.FormGrid {
margin: 0px;
}
.EditTable {
width: 100%;
}
.FormData { /* tr */
}
#FormError td {
font-size: 90%;
color: #FF0000;
vertical-align: top;
background-color: #f7f7f7;
}
.CaptionTD{ /* td */
font-weight: normal; text-align: left; vertical-align: top;
padding: 1px;
border-top: 1px solid #D4D0C8;
white-space: nowrap;
color: #000000;
}
.DataTD { /* td */
padding: 1px;
border-top: 1px solid #D4D0C8;
vertical-align: top;
}
.navButton{
border-top: 1px solid #D4D0C8;
border-bottom: 1px solid #D4D0C8;
text-align: center;
}
.navButton input{
width:17px;
}
input.EditButton { /* buttons are at footer tr */
font-size: 10px;
color: #15428B;
}
td.EditButton {
text-align: right;
border-top: 1px solid #D4D0C8;
border-bottom: 1px solid #D4D0C8;
}
.FormElement { /* form element - input -text,textarea,checkbox - select */
}
.FormElement {
font-size: 10px;
}
input[type="text"].FormElement{
color: #15428B;
}
input[type="checkbox"].FormElement{
width: 15px;
color: #15428B;
}
input[type="textarea"].FormElement{
color: #15428B;
}
select.FormElement {
font-size: 10px;
color: #15428B;
}
/* End Eorm edit */
/* Delete Dialog */
.DelButton > input { /* buttons are at footer tr */
font-size: 10px;
color: #15428B;
}
.DelButton {
text-align: right;
}
/* End Delete Dialog */
img.jqResize {
position:absolute;
bottom: 0px;
right: 0px;
cursor :se-resize;
}
.dirty-cell {
background: transparent url(images/dirty.gif) no-repeat 0 0;
}
#DelError td {
font-size: 90%;
color: #FF0000;
vertical-align: top;
background-color: #f7f7f7;
}
/* Tree Grid */
.tree-wrap
{
float: left;
position: relative;
height: 18px;
white-space: nowrap;
overflow: hidden;
}
.tree-minus
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_minus.gif) no-repeat;
}
.tree-plus
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_plus.gif) no-repeat;
}
.tree-leaf
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_leaf.gif) no-repeat;
}
.treeclick
{
cursor: pointer;
}
.edit-cell {
background-color: #E1DCF4 !important;
}
.selected-row, .selected-row TD {
background-color: #3d84cc;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

BIN
vendors/css/jqGrid/basic/images/down.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

BIN
vendors/css/jqGrid/basic/images/find.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 925 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 957 B

BIN
vendors/css/jqGrid/basic/images/last.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

BIN
vendors/css/jqGrid/basic/images/next.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 925 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 B

BIN
vendors/css/jqGrid/basic/images/plus.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 B

BIN
vendors/css/jqGrid/basic/images/prev.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 634 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

BIN
vendors/css/jqGrid/basic/images/up.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

457
vendors/css/jqGrid/coffee/grid.css vendored Normal file
View File

@@ -0,0 +1,457 @@
.GridHeader {
}
.Header {
width: 100%;
}
.Header th {
font-size: 100%; font-weight: bold; text-align: left;
padding: 2px;
background-image: url(images/headerbg.gif); color: #ffffff;
width: 100%;
white-space: nowrap;
}
.HeaderLeft {
background-image: url(images/headerleft.gif);
}
.HeaderRight {
background-image: url(images/headerright.gif);
}
.HeaderButton {
background-image: url(images/headerbg.gif);
}
.HeaderButton img{
width: 21px;
}
.HeaderLeft img{
width: 4px;
}
.HeaderRight img{
width: 9px;
}
.GridHeader table {margin:0;}
.GridHeader td, tr {padding:0;}
/* Grid */
table.scroll {
border-right: 1px solid #FFFFFF;
table-layout: fixed;
margin-bottom:0;
}
table.scroll tbody tr {
background-color: #eceae3;
}
table.scroll tbody tr.alt{
background-color: #e3dfd1;
}
table.scroll tr.over td{
background-color: #D2B48C;
}
table.scroll tr.selected td {
background-color: #c9b9b1;
color: Black;
}
table.scroll tbody tr td {
font-size: 90%;
padding: 2px;
text-align: left;
border-left: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
height : auto;
}
table.scroll thead tr th {
font-size: 90%;
font-weight: normal;
padding: 2px;
border-left: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
text-align: left;
overflow: hidden;
white-space: nowrap;
background: url(images/grid-blue-hd.gif) transparent repeat-x;
height : 18px;
}
table.scroll thead tr th div img {
width: 9px;
}
table.scroll th div {
overflow: hidden;
/* white-space: nowrap;*/
word-wrap: break-word;
height : 18px;
}
table.scroll th span {
cursor: e-resize;
/* border-right: 1px solid #D6D2C2; */
width: 5px;
float: right;
position: relative;
display: block;
margin: -1px -1px -1px 0px;
height: 18px;
overflow: hidden;
white-space: nowrap;
}
table.scroll thead {
}
/* End Grid */
/* Pager */
div.scroll {
vertical-align: top;
height: 23px;
text-align: center;
white-space: nowrap;
background-image: url(images/grid-blue-ft.gif);
border-right: 1px solid #FFFFFF;
border-left: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
}
div.scroll span {
vertical-align : top;
}
.selbox {
font-size: x-small;
vertical-align : top;
}
input.selbox{
font-size: x-small;
vertical-align : top;
}
.pgbuttons {
margin-top :1px;
}
.nav-table-left {
padding:1px;
float: left;
margin-top:2px;
/* position:absolute;*/
}
.nav-table-right {
padding:1px;
float: right;
margin-top:2px;
}
table.navtable {margin-bottom:0; width: auto;}
table.navtable tbody tr {
background-image: url(images/grid-blue-ft.gif);
}
table.navtable tbody tr td.nav-button {
border: 1px solid #FFFFFF;
white-space: nowrap;
}
table.navtable tbody tr td.nav-hover {
border: 1px solid #c9b9b1;
}
table.tbutton tbody tr td {
border : none;
padding:0px;
}
img.jsHover { /*not used */
border: 1px solid #99CCFF;
}
/* End Pager */
/*multiselect checkbox */
.cbox {
height: 10px;
width: 10px;
/* text-align: center;*/
/*border:1px solid #999;*/
}
/* end multiselect */
/* loading div */
div.loading {
position: absolute;
padding: 3px;
text-align: center;
font-weight: bold;
background: red;
color: white;
display: none;
}
div.loadingui {
display:none;
z-index:6000;
position:absolute;
}
div.loadingui div.msgbox {
position: relative;
z-index:6001;
left: 35%;
top:45%;
background: url(images/loading.gif) no-repeat left;
width: 100px;
border: 2px solid #B2D2FF;
text-align: right;
height: auto;
padding:2px;
margin: 0px;
}
/* end loading div */
/*toolbar */
div.userdata {
margin-top: 0px;
background-color : #e3dfd1;
height : 20px;
overflow: hidden;
}
/* end toolbar */
/*Subgrid text mode*/
.subgrid {
height: 100%;
overflow: auto;
}
.tablediv {
background-color: White;
border-spacing: 1px; /*cellspacing:poor IE support for this*/
border-collapse: separate;
width:100%; /* FF hack poor when scroling subgrid */
}
.celldiv {
float: left;
display: table-cell;
border: 1px dotted #CCCCCC;
overflow: auto;
white-space: normal;
}
.celldivth {
float: left; /*fix for buggy browsers*/
border: 1px solid #CCCCCC;
background-color: #99CCFF;
border-bottom: 1px solid #CBC7B8;
text-align: left;
overflow: auto;
}
.rowdiv {
display: table-row;
background: #F9F9F9 none;
color: #000000;
width: 100%;
overflow:auto;
}
/* End Subgrid */
/* InLine editing */
input.editable[type="text"] {
font-size: x-small;
overflow: hidden;
}
input.editable[type="checkbox"] {
}
textarea.editable {
overflow: hidden;
}
select.editable {
font-size: x-small;
}
/* End Inline Editing */
/*Modal Window */
.modaltext{
text-align : left;
}
.modalwin{
border:1px solid #555555;
background:#F9F9F9;
text-align:left;
margin: 0 auto;
overflow: auto;
}
.modalhead {
background-image: url(images/grid-blue-hd.gif);
height: 20px;
}
.modalcontent {
overflow: auto;
margin-bottom: 9px;
margin-left: 5px;
}
/* end Modal window*/
/* Search window */
input.search {
margin: 2px;
width: 70px;
font-size: 10px;
color: #15428B;
}
select.search {
margin: 2px;
width: 70px;
font-size: 10px;
color: #15428B;
}
.buttonsearch {
width : 50px;
font-size: 10px;
color: #15428B;
}
/*End search */
/* Form edit */
.FormGrid {
margin: 0px;
}
.EditTable {
width: 100%;
}
.FormData { /* tr */
}
#FormError td {
font-size: 90%;
color: #FF0000;
vertical-align: top;
background-color: #f7f7f7;
}
.CaptionTD{ /* td */
font-weight: normal; text-align: left; vertical-align: top;
padding: 1px;
border-top: 1px solid #D4D0C8;
white-space: nowrap;
color: #000000;
}
.DataTD { /* td */
padding: 1px;
border-top: 1px solid #D4D0C8;
vertical-align: top;
}
.navButton{
border-top: 1px solid #D4D0C8;
border-bottom: 1px solid #D4D0C8;
text-align: center;
}
.navButton input{
width:19px;
}
input.EditButton { /* buttons are at footer tr */
font-size: 10px;
color: #15428B;
}
td.EditButton {
text-align: right;
border-top: 1px solid #D4D0C8;
border-bottom: 1px solid #D4D0C8;
}
.FormElement { /* form element - input -text,textarea,checkbox - select */
}
.FormElement {
font-size: 10px;
}
input[type="text"].FormElement{
color: #15428B;
}
input[type="checkbox"].FormElement{
width: 15px;
color: #15428B;
}
input[type="textarea"].FormElement{
color: #15428B;
}
select.FormElement {
font-size: 10px;
color: #15428B;
}
/* End Eorm edit */
/* Delete Dialog */
.DelButton > input { /* buttons are at footer tr */
font-size: 10px;
color: #15428B;
}
.DelButton {
text-align: right;
}
/* End Delete Dialog */
img.jqResize {
position:absolute;
bottom: 0px;
right: 0px;
cursor :se-resize;
}
.dirty-cell {
background: transparent url(images/dirty.gif) no-repeat 0 0;
}
#DelError td {
font-size: 90%;
color: #FF0000;
vertical-align: top;
background-color: #f7f7f7;
}
/* Tree Grid */
.tree-wrap
{
float: left;
position: relative;
height: 18px;
white-space: nowrap;
overflow: hidden;
}
.tree-minus
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_minus.gif) no-repeat;
}
.tree-plus
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_plus.gif) no-repeat;
}
.tree-leaf
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_leaf.gif) no-repeat;
}
.treeclick
{
cursor: pointer;
}
.edit-cell {
background-color: #D2B48C !important;
}
.selected-row, .selected-row TD {
background-color: #c9b9b1;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 634 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

BIN
vendors/css/jqGrid/coffee/images/up.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

459
vendors/css/jqGrid/green/grid.css vendored Normal file
View File

@@ -0,0 +1,459 @@
.GridHeader {
}
.Header {
width: 100%;
}
.Header th {
font-size: 100%; font-weight: bold; text-align: left;
padding: 3px;
background-image: url('images/headerbg.gif'); color: #ffffff;
width: 100%;
white-space: nowrap;
}
.HeaderLeft {
background-image: url(images/headerleft.gif);
}
.HeaderRight {
background-image: url(images/headerright.gif);
}
.HeaderButton {
background-image: url(images/headerbg.gif);
}
.HeaderButton img{
width: 20px;
}
.HeaderLeft img{
width: 4px;
}
.HeaderRight img{
width: 9px;
}
.GridHeader table {margin:0;}
.GridHeader td, tr {padding:0;}
/* Grid */
table.scroll {
table-layout: fixed;
margin-bottom :0px;
}
table.scroll tbody tr {
background-color: #fffcf2;
}
table.scroll tbody tr.alt {
background-color: #ecf7e4;
}
table.scroll tr.over td{
background-color: #FFDEAD;
}
table.scroll tbody tr.selected td {
background: #3c964b;
color: #ecf7e4;
}
table.scroll tbody td {
padding: 2px;
text-align: left;
border-bottom: 1px solid #3c964b;
border-left: 1px solid #3c964b;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
height : auto;
}
table.scroll thead th {
padding: 2px;
border-bottom: 1px solid #3c964b;
border-left: 1px solid #3c964b;
text-align: left;
font-weight: normal;
overflow: hidden;
white-space: nowrap;
background-image: url(images/grid-blue-hd.gif);
height : 17px;
}
table.scroll th div {
overflow: hidden;
/* white-space: nowrap;*/
word-wrap: break-word;
height : 17px;
}
table.scroll th span {
cursor: e-resize;
width: 10px;
float: right;
display: block;
margin: -2px -1px -2px 0px;
height: 18px;
overflow: hidden;
white-space: nowrap;
}
table.scroll thead {
}
/* End Grid */
/* Pager */
div.scroll {
vertical-align: top;
height: 23px;
white-space: nowrap;
text-align: center;
background-image: url(images/grid-blue-ft.gif);
/*
border-left: 1px solid #3c964b;
border-right: 1px solid #3c964b;
border-bottom: 1px solid #3c964b;
*/
}
div.scroll span {
vertical-align : top;
}
.selbox {
font-size: x-small;
vertical-align : top;
}
input.selbox{
font-size: x-small;
vertical-align : top;
}
.pgbuttons {
margin-top :2px;
width: 19px;
}
.nav-table-left {
padding:1px;
float: left;
/* position:absolute;*/
}
.nav-table-right {
padding:1px;
float: right;
}
table.navtable {margin-bottom:0; width: auto;}
table.navtable tr{
background-image: url(images/grid-blue-ft.gif);
}
table.navtable td.nav-button {
/* margin-top:2px;*/
border: 1px solid #E2ECF8;
white-space: nowrap;
}
table.navtable td.nav-hover {
border: 1px solid #3c964b;
}
table.tbutton tr td{
border : none;
padding:0px;
}
img.jsHover { /*not used */
border: 1px solid #99CCFF;
}
/* End Pager */
/*multiselect checkbox */
.cbox {
height: 10px;
width: 10px;
/*border:1px solid #999;*/
}
/* end multiselect */
/* loading div */
div.loading {
position: absolute;
padding: 3px;
text-align: center;
font-weight: bold;
background: red;
color: white;
display: none;
}
div.loadingui {
display:none;
z-index:6000;
position:absolute;
}
div.loadingui div.msgbox {
position: relative;
z-index:6001;
left: 35%;
top:45%;
background: url(images/loading.gif) no-repeat left;
width: 100px;
border: 2px solid #B2D2FF;
text-align: right;
height: auto;
padding:2px;
margin: 0px;
}
/* end loading div */
/* toolbar */
div.userdata {
margin-top: 0px;
background-color : #fffcf2;
height : 20px;
border-left: 1px solid #3c964b;
border-right: 1px solid #3c964b;
overflow: hidden;
}
/* end toolbar */
/*Subgrid text mode*/
.subgrid {
height: 100%;
overflow: auto;
}
.tablediv {
background-color: White;
border-spacing: 1px; /*cellspacing:poor IE support for this*/
border-collapse: separate;
width:100%; /* FF hack poor when scroling subgrid */
}
.celldiv {
float: left;
display: table-cell;
border: 1px dotted #CCCCCC;
overflow: auto;
white-space: normal;
}
.celldivth {
float: left; /*fix for buggy browsers*/
border: 1px solid #CCCCCC;
background-color: #99CCFF;
border-bottom: 1px solid #CBC7B8;
text-align: left;
overflow: auto;
}
.rowdiv {
display: table-row;
background: #F9F9F9 none;
color: #000000;
width: 100%;
overflow:auto;
}
/* End Subgrid */
/* InLine editing */
input.editable[type="text"] {
font-size: x-small;
overflow: hidden;
}
input.editable[type="checkbox"] {
}
textarea.editable {
overflow-y: auto;
}
select.editable {
font-size: x-small;
}
/* End Inline Editing */
/* Modal window */
.modaltext{ /*caption */
text-align : left;
}
.modalwin{
border:1px solid #555555;
text-align:left;
margin: 0 auto;
background: #F9F9F9;
overflow: auto;
}
.modalhead{
background-image: url(images/grid-blue-hd.gif);
height: 20px;
}
.modalcontent {
overflow : auto;
background:#F9F9F9;
margin-bottom: 10px;
margin-left: 5px;
}
/* End modal window */
/*search dialog */
input.search {
margin: 2px;
width: 70px;
font-size: 10px;
color: #15428B;
}
select.search {
margin: 2px;
width: 70px;
font-size: 10px;
color: #15428B;
}
.buttonsearch {
width : 50px;
font-size: 10px;
color: #15428B;
}
/*End search */
/* Form edit */
.FormGrid {
margin: 0px;
}
.EditTable {
width: 100%;
}
.FormData { /* tr */
}
#FormError td {
font-size: 90%;
color: #FF0000;
vertical-align: top;
background-color: #f7f7f7;
}
.CaptionTD{ /* td */
font-weight: normal; text-align: left; vertical-align: top;
padding: 1px;
border-top: 1px solid #D4D0C8;
white-space: nowrap;
color: #000000;
}
.DataTD { /* td */
padding: 1px;
border-top: 1px solid #D4D0C8;
vertical-align: top;
}
.navButton{
border-top: 1px solid #D4D0C8;
border-bottom: 1px solid #D4D0C8;
text-align: center;
}
.navButton input {
width:18px;
}
input.EditButton { /* buttons are at footer tr */
font-size: 10px;
color: #15428B;
}
td.EditButton {
text-align: right;
border-top: 1px solid #D4D0C8;
border-bottom: 1px solid #D4D0C8;
}
.FormElement { /* form element - input -text,textarea,checkbox - select */
}
.FormElement {
font-size: 10px;
}
input[type="text"].FormElement{
color: #15428B;
}
input[type="checkbox"].FormElement{
width: 15px;
color: #15428B;
}
input[type="textarea"].FormElement{
color: #15428B;
}
select.FormElement {
font-size: 10px;
color: #15428B;
}
/* End Eorm edit */
/*delete dialog */
.DelButton > input { /* buttons are at footer tr */
font-size: 10px;
color: #15428B;
}
.DelButton {
text-align: right;
}
/* End Delete Dialog */
/* Resizing corner */
img.jqResize {
position:absolute;
bottom: 0px;
right: 0px;
cursor :se-resize;
}
.dirty-cell {
background: transparent url(images/dirty.gif) no-repeat 0 0;
}
#DelError td {
font-size: 90%;
color: #FF0000;
vertical-align: top;
background-color: #f7f7f7;
}
/* Tree Grid */
.tree-wrap
{
float: left;
position: relative;
height: 18px;
white-space: nowrap;
overflow: hidden;
}
.tree-minus
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_minus.gif) no-repeat;
}
.tree-plus
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_plus.gif) no-repeat;
}
.tree-leaf
{
position: absolute;
height: 18px;
width: 16px;
overflow: hidden;
background: url(images/tree_leaf.gif) no-repeat;
}
.treeclick
{
cursor: pointer;
}
.edit-cell {
background-color: #FFDEAD !important;
}
.selected-row, .selected-row TD {
background-color: #3c964b;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

BIN
vendors/css/jqGrid/green/images/down.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

BIN
vendors/css/jqGrid/green/images/find.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

BIN
vendors/css/jqGrid/green/images/last.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

BIN
vendors/css/jqGrid/green/images/leaf.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

BIN
vendors/css/jqGrid/green/images/next.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show More