-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add filter by photo ability in officer query #965
Merged
Merged
Changes from 8 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
2e5ea7f
Small views edits
michplunkett d16374a
Update email_client.py
michplunkett e7e2e34
Update __init__.py
michplunkett 79c99f9
Merge branch 'fix_build' into filter_by_photo
michplunkett 2a5113f
Update views.py
michplunkett b35bdb5
Update views.py
michplunkett e368c25
Update list_officer.html
michplunkett 2dde1bc
Update openoversight.css
michplunkett 87c92c8
Update views.py
michplunkett e989bda
Update forms.py
michplunkett 0ee8ef7
HTML update
michplunkett fcdd73c
Update list_officer.html
michplunkett 27f8ae2
Update views.py
michplunkett f2c317a
Update views.py
michplunkett c18eff8
Merge branch 'develop' into filter_by_photo
michplunkett 297c1b1
Formatting using djlint
michplunkett d009908
Update list_officer.html
michplunkett 4b498d0
Update list_officer.html
michplunkett bc87b28
Update test_officer_and_department.py
michplunkett 0e8e8bf
Update test
michplunkett ebf3c8c
Update test_officer_and_department.py
michplunkett 2745329
Update list_officer.html
michplunkett b359215
Update list_officer.html
michplunkett 858c01f
Update forms.py
michplunkett 6468e2d
Update forms.py
michplunkett 515f97e
Update list_officer.html
michplunkett e02b42d
Update openoversight.css
michplunkett f4aff85
Revert "Update forms.py"
michplunkett 8bc3a7e
Update views.py
michplunkett 924a834
Merge branch 'develop' into filter_by_photo
michplunkett 81339ad
Update test_officer_and_department.py
michplunkett a916d2b
Update test_officer_and_department.py
michplunkett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,11 +114,16 @@ a > .tutorial{ | |
max-width:80%; | ||
} | ||
|
||
.center-text { | ||
text-align: center; | ||
} | ||
|
||
/* Carousel base class */ | ||
.carousel { | ||
min-height: 700px; | ||
margin-bottom: 50px; | ||
} | ||
|
||
/* Since positioning the image, we need to help out the caption */ | ||
.carousel-caption { | ||
display:block; | ||
|
@@ -500,6 +505,12 @@ tr:hover .row-actions { | |
content: "\e253"; | ||
} | ||
|
||
@media all and (min-width: 768px) and (max-width: 991px) { | ||
.filter-sidebar > .form > .btn.btn-primary:first-of-type { | ||
margin-bottom: 5px; | ||
} | ||
} | ||
|
||
.search-results .list-group-item { | ||
border: 0; | ||
} | ||
|
@@ -578,8 +589,7 @@ tr:hover .row-actions { | |
} | ||
|
||
.officer-face { | ||
min-width: 200px; | ||
min-height: 200px; | ||
height: 300px; | ||
Comment on lines
-581
to
+588
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With the previous setup you got these HUGE photos that threw off the flow of the page, so I set a standard height so that the width is automatically set according to its respective aspect ratio. |
||
} | ||
|
||
.face-wrap { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before media query:
After media query: