Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mauritz, Falk Marius
SWTII Cal
Commits
0d2e149a
Commit
0d2e149a
authored
Jun 19, 2019
by
Siedschlag, Lennart
Browse files
search fix
parent
8deed183
Pipeline
#7637
passed with stage
in 4 minutes and 51 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/lib/src/view/components/appointment_new_component.html
View file @
0d2e149a
...
...
@@ -68,7 +68,7 @@
<textarea
type=
"text"
class=
"form-control"
id=
"note"
placeholder=
"note"
[(ngModel)]=
"appointment.note"
name=
"note"
rows=
"4"
></textarea>
<div
id=
"stern"
>
fields with a
<b>
*
</b>
are required
fields with a
n
<b>
*
</b>
are required
</div>
</div>
...
...
frontend/lib/src/view/components/contact_search_component.css
View file @
0d2e149a
.search-result
{
border-bottom
:
1px
solid
gray
;
border-left
:
1px
solid
gray
;
border-right
:
1px
solid
gray
;
width
:
195px
;
height
:
20px
;
padding
:
5px
;
background-color
:
white
;
cursor
:
pointer
;
}
#search-box
{
width
:
200px
;
height
:
20px
;
}
\ No newline at end of file
frontend/lib/src/view/components/contact_search_component.html
View file @
0d2e149a
<div
id=
"search-component"
>
<input
#searchBox
id=
"search
-box
"
<input
#searchBox
id=
"search"
placeholder=
"Search"
(change)=
"search(searchBox.value)"
(keyup)=
"search(searchBox.value)"
/>
<div>
<div
id=
"resultWrapper"
>
<div
*ngFor=
"let contact of contacts | async"
(click)=
"contact.delete()"
class=
"search-result"
>
{{contact.username}}
...
...
frontend/web/styles.css
View file @
0d2e149a
...
...
@@ -4,4 +4,20 @@ html, body{
height
:
100vh
;
margin
:
0
;
background
:
#04202C
;
}
#search-component
>
#search-box
{
width
:
200px
;
height
:
30px
;
}
#search-component
>
div
{
position
:
absolute
;
}
.search-result.search-result.search-result.search-result
{
position
:
relative
;
z-index
:
90000
;
cursor
:
pointer
;
width
:
200px
;
height
:
30px
;
}
\ No newline at end of file
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