-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add layer autocomplete to context layers page (#4301)
* Add layer autocomplete to context layers page * Update django to 4.2.16
- Loading branch information
1 parent
3a224a6
commit 9a77563
Showing
8 changed files
with
148 additions
and
15 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.autocomplete-results { | ||
list-style: none; | ||
padding: 0; | ||
margin: 0; | ||
border: 1px solid #ddd; | ||
background-color: white; | ||
width: 95%; /* Make the width match the input field */ | ||
max-height: 150px; /* Control the maximum height */ | ||
overflow-y: auto; /* Add scroll if too many results */ | ||
position: absolute; /* Ensure the dropdown is positioned relative to the input */ | ||
z-index: 9999; /* Ensure it appears above other elements */ | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better visibility */ | ||
} | ||
|
||
.autocomplete-item { | ||
padding: 10px; | ||
cursor: pointer; | ||
} | ||
|
||
.autocomplete-item:hover { | ||
background-color: #f0f0f0; | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django==4.2.15 | ||
Django==4.2.16 | ||
psycopg2==2.9.9 | ||
django-braces==1.14.0 | ||
django-model-utils==4.0.0 | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django==4.2.15 | ||
Django==4.2.16 | ||
psycopg2==2.9.9 | ||
django-braces==1.14.0 | ||
django-model-utils==4.0.0 | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Django==4.2.15 | ||
Django==4.2.16 | ||
psycopg2==2.9.9 | ||
django-braces==1.14.0 | ||
django-model-utils==4.0.0 | ||
|