Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
21f4eba9
Commit
21f4eba9
authored
Jul 13, 2012
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed audio planete widget
parent
9820b53f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
122 deletions
+35
-122
basic.css
resources/library/search/Audio Planete.wgs/css/basic.css
+22
-112
index.html
resources/library/search/Audio Planete.wgs/index.html
+13
-10
No files found.
resources/library/search/Audio Planete.wgs/css/basic.css
View file @
21f4eba9
...
...
@@ -7,81 +7,50 @@ html, body{
}
a
{
text-decoration
:
no
ne
;
text-decoration
:
underli
ne
;
}
::-webkit-scrollbar
{
width
:
14px
;
background-color
:
white
;
}
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
background-color
:
lightgray
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:start
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgUp.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:end
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgDown.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
.disclaimer
{
#disc_nav_cont
{
height
:
auto
;
position
:
fixed
;
left
:
0
;
bottom
:
0
;
margin-left
:
1px
;
margin-right
:
1px
;
margin-bottom
:
0px
;
bottom
:
0
;
width
:
100%
;
}
.disclaimer
{
padding
:
5px
;
text-align
:
center
;
background-color
:
#BBBBBB
;
-webkit-border-top-left-radius
:
15px
;
-webkit-border-top-right-radius
:
15px
;
border-top-left-radius
:
15px
;
border-top-right-radius
:
15px
;
border
:
solid
4px
#EEEEEE
;
background-color
:
#BBBBBB
;
border-top
:
solid
4px
#EEEEEE
;
border-bottom
:
none
;
font-size
:
12px
;
z-index
:
10
;
}
.resultFooter
{
width
:
100%
;
padding
:
3px
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
font-weight
:
bold
;
font-size
:
x-large
;
text-align
:
center
;
background-color
:
white
;
}
#searchResult
{
overflow
:
hidden
;
text-align
:
center
;
margin-top
:
50px
;
margin-bottom
:
50px
;
}
.search
{
width
:
90%
;
position
:
fixed
;
top
:
0
;
left
:
0
;
padding
:
5px
;
background-color
:
#BBBBBB
;
-webkit-border-bottom-left-radius
:
15px
;
-webkit-border-bottom-right-radius
:
15px
;
border-bottom-left-radius
:
15px
;
border-bottom-right-radius
:
15px
;
border
:
solid
4px
#EEEEEE
;
border-top
:
none
;
z-index
:
101
;
border-bottom
:
solid
4px
#EEEEEE
;
}
.search
,
...
...
@@ -91,33 +60,6 @@ a {
-webkit-box-sizing
:
border-box
;
}
.togglePages
{
padding
:
0
;
position
:
absolute
;
bottom
:
-19px
;
left
:
40%
;
width
:
22%
;
height
:
15px
;
background-color
:
#666
;
-webkit-border-bottom-left-radius
:
20px
;
-webkit-border-bottom-right-radius
:
20px
;
border-bottom-left-radius
:
20px
;
border-bottom-right-radius
:
20px
;
-webkit-box-shadow
:
#dadada
-1px
0
4px
;
box-shadow
:
#dadada
-1px
0
4px
;
cursor
:
pointer
;
z-index
:
100
;
text-align
:
center
;
}
.toggleIcon
{
display
:
inline-block
;
width
:
14px
;
height
:
14px
;
background
:
url(../images/trgUp.png)
50%
no-repeat
;
}
.searchInput
{
padding
:
3px
;
float
:
left
;
...
...
@@ -185,23 +127,6 @@ a {
vertical-align
:
top
;
}
.resultFooter
{
float
:
left
;
margin
:
5px
;
padding
:
3px
;
width
:
100%
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
font-weight
:
bold
;
font-size
:
x-large
;
text-align
:
center
;
}
#branding
{
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
2
;
}
.filterContainer
{
float
:
left
;
...
...
@@ -356,18 +281,3 @@ input[type="radio"]:checked + .filter_button.button.color {
background-color
:
gray
;
color
:
white
;
}
/*
Planete Sankore Changes
*/
.searchButton
{
right
:
10px
;
}
#subSearchInput
{
padding-right
:
5px
;
}
.imgContainer
img
{
width
:
100px
;
}
resources/library/search/Audio Planete.wgs/index.html
View file @
21f4eba9
...
...
@@ -19,17 +19,18 @@
function
addPaginationLinks
(
totalResults
)
{
var
curPage
=
currentIndex
;
// check what page the app is on
var
pagesDiv
=
$
(
"<div id='resultFooter' class='resultFooter'>"
);
for
(
var
i
=
0
;
i
<
10
;
i
++
)
{
for
(
var
i
=
0
;
i
<
8
;
i
++
)
{
if
(
i
*
limit
<
totalResults
)
{
var
link
=
$
(
"<a class='pager_button'></a>"
).
attr
(
'href'
,
'javascript:gotoPage('
+
i
+
');'
).
html
(
i
).
appendTo
(
pagesDiv
);
var
link
=
$
(
"<a class='pager_button'></a>"
).
attr
(
'href'
,
'javascript:gotoPage('
+
i
+
');'
).
html
(
i
+
1
).
appendTo
(
pagesDiv
);
if
(
curPage
==
i
)
{
link
.
addClass
(
'active'
);
}
}
}
pagesDiv
.
appendTo
(
$
(
'#searchResult'
));
$
(
"#disc_nav_cont #resultFooter"
).
remove
();
pagesDiv
.
insertBefore
(
$
(
'#disclaimer'
));
$
(
".imgContainer"
).
each
(
function
(){
this
.
addEventListener
(
"dragstart"
,
imageDragging
,
false
);
...
...
@@ -127,8 +128,10 @@
var
mode
=
false
;
//search or view mode
var
hide
=
false
;
//hide or no main panel
//basic containers and elements
var
disclaimer
=
$
(
"<div id='disclaimer' class='disclaimer'>Recherche de documents audio sur Planète Sankoré<div>"
).
appendTo
(
"body"
);
//basic containers and elements
var
disc_nav_cont
=
$
(
"<div id='disc_nav_cont' class='disc_nav_cont'>"
).
appendTo
(
"body"
);
var
disclaimer
=
$
(
"<div id='disclaimer' class='disclaimer'>Recherche de documents audio sur Planète Sankoré<div>"
).
appendTo
(
disc_nav_cont
);
var
search
=
$
(
"<div id='search' class='search'>"
).
appendTo
(
"body"
);
var
search
=
$
(
"<div id='search' class='search'>"
).
appendTo
(
"body"
);
var
togglePages
=
$
(
"<div id='togglePages' class='togglePages'>"
).
appendTo
(
search
);
...
...
@@ -165,7 +168,7 @@
});
*/
togglePages
.
click
(
function
(
event
){
/*
togglePages.click(function(event){
if(mode){
hide = false;
$("#search, #disclaimer").slideDown('slow', function(){
...
...
@@ -181,12 +184,12 @@
});
mode = true;
}
});
});
*/
searchButton
.
click
(
function
(){
if
(
!
hide
){
runSearch
(
searchInput
.
val
(),
0
);
togglePages
.
trigger
(
"click"
);
//
togglePages.trigger("click");
}
});
...
...
@@ -204,11 +207,11 @@
sankore
.
sendFileMetadata
(
createMetaData
(
$
(
this
)));
}));
$
(
window
).
resize
(
function
(){
/*
$(window).resize(function(){
disclaimer.width($("body").width()-20);
search.width($("body").width()-20);
toggleIcon.css("margin-left",(togglePages.width()/2 - 7));
})
})
*/
});
...
...
Write
Preview
Markdown
is supported
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