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
6dadc6fb
Commit
6dadc6fb
authored
Oct 10, 2020
by
Ghighi Eftimie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
same fix but hopefully better
parent
c33c6bbf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
17 deletions
+10
-17
caliBlur.min.css
cps/static/css/caliBlur.min.css
+7
-15
search_form.html
cps/templates/search_form.html
+1
-0
web.py
cps/web.py
+2
-2
No files found.
cps/static/css/caliBlur.min.css
View file @
6dadc6fb
...
@@ -2244,22 +2244,14 @@ body.langlist > div.container-fluid > div > div.col-sm-10 > div.container:before
...
@@ -2244,22 +2244,14 @@ body.langlist > div.container-fluid > div > div.col-sm-10 > div.container:before
content
:
"Languages"
content
:
"Languages"
}
}
body
.advsearch
>
div
.container-fluid
>
div
>
div
.col-sm-2
:after
{
body
.advsearch
>
div
.container-fluid
>
div
>
div
.col-sm-10
>
div
.col-md-10.col-lg-6
{
content
:
"Advanced Search"
;
position
:
fixed
;
display
:
flex
;
align-items
:
center
;
padding-left
:
25px
;
color
:
hsla
(
0
,
0%
,
100%
,
.7
);
font-family
:
"Open Sans Semibold"
,
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
15px
;
line-height
:
60px
;
white-space
:
nowrap
;
font-weight
:
400
;
}
body
.advsearch
>
div
.container-fluid
>
div
>
div
.col-sm-10
>
div
.col-md-10.col-lg-6
{
padding
:
15px
10px
15px
40px
;
padding
:
15px
10px
15px
40px
;
}
@media
screen
and
(
max-width
:
992px
)
{
body
.advsearch
>
div
.container-fluid
>
div
>
div
.col-sm-10
>
div
.col-md-10.col-lg-6
{
padding-left
:
20px
;
}
}
}
body
.me
>
div
.container-fluid
>
div
>
div
.col-sm-10
>
div
.discover
:before
{
body
.me
>
div
.container-fluid
>
div
>
div
.col-sm-10
>
div
.discover
:before
{
...
...
cps/templates/search_form.html
View file @
6dadc6fb
{% extends "layout.html" %}
{% extends "layout.html" %}
{% block body %}
{% block body %}
<h1
class=
"{{page}}"
>
{{title}}
</h1>
<div
class=
"col-md-10 col-lg-6"
>
<div
class=
"col-md-10 col-lg-6"
>
<form
role=
"form"
id=
"search"
action=
"{{ url_for('web.advanced_search_form') }}"
method=
"POST"
>
<form
role=
"form"
id=
"search"
action=
"{{ url_for('web.advanced_search_form') }}"
method=
"POST"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
cps/web.py
View file @
6dadc6fb
...
@@ -951,7 +951,7 @@ def render_prepare_search_form(cc):
...
@@ -951,7 +951,7 @@ def render_prepare_search_form(cc):
else
:
else
:
languages
=
None
languages
=
None
return
render_title_template
(
'search_form.html'
,
tags
=
tags
,
languages
=
languages
,
extensions
=
extensions
,
return
render_title_template
(
'search_form.html'
,
tags
=
tags
,
languages
=
languages
,
extensions
=
extensions
,
series
=
series
,
title
=
_
(
u"
s
earch"
),
cc
=
cc
,
page
=
"advsearch"
)
series
=
series
,
title
=
_
(
u"
Advanced S
earch"
),
cc
=
cc
,
page
=
"advsearch"
)
def
render_search_results
(
term
,
offset
=
None
,
order
=
None
,
limit
=
None
):
def
render_search_results
(
term
,
offset
=
None
,
order
=
None
,
limit
=
None
):
...
@@ -1392,7 +1392,7 @@ def render_adv_search_results(term, offset=None, order=None, limit=None):
...
@@ -1392,7 +1392,7 @@ def render_adv_search_results(term, offset=None, order=None, limit=None):
pagination
=
pagination
,
pagination
=
pagination
,
entries
=
q
[
offset
:
limit_all
],
entries
=
q
[
offset
:
limit_all
],
result_count
=
result_count
,
result_count
=
result_count
,
title
=
_
(
u"
s
earch"
),
page
=
"advsearch"
)
title
=
_
(
u"
Advanced S
earch"
),
page
=
"advsearch"
)
...
...
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