Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
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
captainwong
douban-api-proxy
Commits
d3f8153b
Commit
d3f8153b
authored
Mar 20, 2021
by
Ozzie Isaacs
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into development
parents
5d8d7968
99ecf227
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
176 additions
and
118 deletions
+176
-118
config.yml
.github/ISSUE_TEMPLATE/config.yml
+1
-0
caliBlur.js
cps/static/js/caliBlur.js
+33
-0
search_form.html
cps/templates/search_form.html
+92
-73
web.py
cps/web.py
+50
-45
No files found.
.github/ISSUE_TEMPLATE/config.yml
0 → 100644
View file @
d3f8153b
blank_issues_enabled
:
false
cps/static/js/caliBlur.js
View file @
d3f8153b
...
...
@@ -403,6 +403,39 @@ $("div.comments").readmore({
// End of Global Work //
///////////////////////////////
// Advanced Search Results
if
(
$
(
"body.advsearch"
).
length
>
0
)
{
$
(
"#loader + .container-fluid"
)
.
prepend
(
"<div class='blur-wrapper'></div>"
);
$
(
"#add-to-shelves"
).
insertBefore
(
".blur-wrapper"
);
$
(
'div[aria-label="Add to shelves"]'
).
click
(
function
()
{
$
(
"#add-to-shelves"
).
toggle
();
});
$
(
'#add-to-shelf'
).
height
(
"40px"
);
function
dropdownToggle
()
{
topPos
=
$
(
"#add-to-shelf"
).
offset
().
top
-
20
;
if
(
$
(
'div[aria-label="Add to shelves"]'
).
length
>
0
)
{
position
=
$
(
'div[aria-label="Add to shelves"]'
).
offset
().
left
if
(
position
+
$
(
"#add-to-shelves"
).
width
()
>
$
(
window
).
width
())
{
positionOff
=
position
+
$
(
"#add-to-shelves"
).
width
()
-
$
(
window
).
width
();
adsPosition
=
position
-
positionOff
-
5
$
(
"#add-to-shelves"
).
attr
(
"style"
,
"left: "
+
adsPosition
+
"px !important; right: auto; top: "
+
topPos
+
"px"
);
}
else
{
$
(
"#add-to-shelves"
).
attr
(
"style"
,
"left: "
+
position
+
"px !important; right: auto; top: "
+
topPos
+
"px"
);
}
}
}
dropdownToggle
();
$
(
window
).
on
(
"resize"
,
function
()
{
dropdownToggle
();
});
}
// Author Page Background Blur
if
(
$
(
"body.author"
).
length
>
0
)
{
cover
=
$
(
".author-bio img"
).
attr
(
"src"
);
...
...
cps/templates/search_form.html
View file @
d3f8153b
This diff is collapsed.
Click to expand it.
cps/web.py
View file @
d3f8153b
This diff is collapsed.
Click to expand it.
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