Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3427f5d5
authored
2011-03-10 17:08:11 +0000
by
Kevin Burton
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added sorting to invoices in the admin
1 parent
f2915737
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
0 deletions
com/Branding/css/tenzing.css
com/UserManager/views/edit_user_payhistory.php
com/Branding/css/tenzing.css
View file @
3427f5d
...
...
@@ -483,3 +483,73 @@ input.dp-applied {
.edit-option-table
tbody
td
{
padding
:
3px
5px
;
text-align
:
left
;
font-weight
:
bold
;
font-size
:
11px
;
}
.edit-option-table
tbody
td
textarea
,
.edit-option-table
tbody
td
input
{
font-size
:
11px
;
width
:
99%
}
/* tables */
table
.tablesorter
{
/*
font-family:arial;
background-color: #CDCDCD;
margin:10px 0pt 15px;
font-size: 8pt;
width: 100%;
*/
text-align
:
left
;
}
table
.tablesorter
thead
tr
th
,
table
.tablesorter
tfoot
tr
th
{
/*
background-color: #e6EEEE;
border: 1px solid #FFF;
font-size: 8pt;
padding: 4px;
*/
}
table
.tablesorter
thead
tr
.header
{
background-image
:
url(/wp-content/themes/cbv/assets/images/bg.gif)
;
background-repeat
:
no-repeat
;
background-position
:
center
right
;
cursor
:
pointer
;
}
table
.tablesorter
tbody
td
{
/*
color: #3D3D3D;
padding: 4px;
background-color: #FFF;
vertical-align: top;
*/
}
table
.tablesorter
tbody
tr
.odd
td
{
background-color
:
#f5f5f5
;
}
table
.tablesorter
thead
tr
.headerSortUp
{
background-image
:
url(/wp-content/themes/cbv/assets/images/asc.gif)
;
}
table
.tablesorter
thead
tr
.headerSortDown
{
background-image
:
url(/wp-content/themes/cbv/assets/images/desc.gif)
;
}
table
.tablesorter
thead
tr
.headerSortDown
,
table
.tablesorter
thead
tr
.headerSortUp
{
color
:
#DF3224
;
}
div
.tablesorterPager
{
padding
:
10px
0
10px
0
;
background-color
:
#D6D2C2
;
text-align
:
center
;
}
div
.tablesorterPager
span
{
padding
:
0
5px
0
5px
;
}
div
.tablesorterPager
input
.prev
{
width
:
auto
;
margin-right
:
10px
;
}
div
.tablesorterPager
input
.next
{
width
:
auto
;
margin-left
:
10px
;
}
div
.tablesorterPager
input
{
font-size
:
8px
;
width
:
50px
;
border
:
1px
solid
#330000
;
text-align
:
center
;
}
...
...
com/UserManager/views/edit_user_payhistory.php
View file @
3427f5d
...
...
@@ -238,3 +238,13 @@ use WP_User;
</div>
<script
src=
"
<?php
echo
Tools\url
(
'../UserManager.js'
,
__FILE__
);
?>
"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
>
jQuery
(
document
).
ready
(
function
(
$
)
{
$
(
'#invoice-table'
)
.
tablesorter
({
sortList
:
[[
0
,
1
]],
widgets
:
[
'zebra'
]
});
});
</script>
...
...
Please
register
or
sign in
to post a comment