Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
f1840111
Commit
f1840111
authored
Oct 24, 2007
by
Nigel McNie
Browse files
Overhauled pagination styling to suit the new pagination function.
parent
ae3140ad
Changes
4
Show whitespace changes
Inline
Side-by-side
htdocs/js/adminusersearch.js
View file @
f1840111
...
...
@@ -76,7 +76,7 @@ function UserSearch() {
}
this
.
rewritePaging
=
function
()
{
forEach
(
getElementsByTagAndClassName
(
'
span
'
,
'
search-results-page
'
,
'
searchresults
'
),
function
(
i
)
{
forEach
(
getElementsByTagAndClassName
(
'
span
'
,
'
pagination
'
,
'
searchresults
'
),
function
(
i
)
{
connect
(
i
,
'
onclick
'
,
self
.
changePage
);
});
}
...
...
htdocs/js/usersearch.js
View file @
f1840111
...
...
@@ -51,7 +51,7 @@ function UserSearch() {
};
this
.
rewritePaging
=
function
()
{
forEach
(
getElementsByTagAndClassName
(
'
span
'
,
'
search-results-page
'
,
'
searchresults
'
),
function
(
i
)
{
forEach
(
getElementsByTagAndClassName
(
'
span
'
,
'
pagination
'
,
'
searchresults
'
),
function
(
i
)
{
connect
(
i
,
'
onclick
'
,
self
.
changePage
);
});
}
...
...
htdocs/theme/default/static/style/style.css
View file @
f1840111
...
...
@@ -809,23 +809,6 @@ p {
background
:
#a6aa99
url(../images/tablenavbg.gif)
repeat-x
;
height
:
15px
;
}
.maincontent
thead
tr
td
a
,
.maincontent
thead
tr
td
a
:link
,
.maincontent
thead
tr
td
a
:active
,
.maincontent
thead
tr
td
a
:visited
,
.maincontent
tfoot
tr
td
a
,
.maincontent
tfoot
tr
td
a
:link
,
.maincontent
tfoot
tr
td
a
:active
,
.maincontent
tfoot
tr
td
a
:visited
{
font-weight
:
bold
;
color
:
#5c8727
;
margin
:
0
10px
;
font-size
:
11px
;
}
.maincontent
thead
tr
td
a
:hover
,
.maincontent
tfoot
tr
td
a
:hover
{
color
:
#4c7c10
;
}
/* Within Table Navigation Styles End */
acronym
{
...
...
@@ -1578,18 +1561,43 @@ table#initials .initial-letters {
padding-right
:
2px
;
}
#initials
.initial-letters
span
.selected
a
,
.search-results-pages
span
.selected
a
{
#initials
.initial-letters
span
.selected
a
{
color
:
#000
!important
;
text-decoration
:
none
;
font-weight
:
bold
;
}
.search-results-pages
span
.dimmed
a
{
color
:
#999
!important
;
.pagination
a
,
.pagination
.disabled
{
border
:
1px
solid
#547C22
;
padding
:
1px
5px
;
text-decoration
:
none
;
margin
:
0
.5em
;
}
.pagination
a
:hover
{
background-color
:
#E7EFC5
;
}
.pagination
.prev
{
margin-right
:
.5em
;
font-weight
:
bold
;
}
.pagination
.next
{
margin-left
:
.5em
;
font-weight
:
bold
;
}
.pagination
.disabled
{
background-color
:
#e0e0e0
;
color
:
#888
;
font-weight
:
normal
;
}
.pagination
.selected
{
font-weight
:
bold
;
padding
:
0
3px
;
}
.pagination
.results
{
text-align
:
center
;
color
:
#888
;
margin-top
:
.5em
;
}
table
.tablerenderer
th
.asc
{
background
:
#e5e8da
url(../images/down.png)
no-repeat
right
;
...
...
htdocs/theme/default/static/style/views.css
View file @
f1840111
...
...
@@ -144,3 +144,13 @@ body:last-child:not(:root:root) .newblockhere {
border
:
2px
dashed
#94BC62
;
margin-top
:
1em
;
}
.ac-pagination
{
text-align
:
center
;
white-space
:
nowrap
;
}
.ac-pagination
a
,
.ac-pagination
.disabled
{
padding
:
1px
3px
;
margin
:
0
1px
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment